mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 17:49:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1318 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19b9fd314f
commit
e1ecee7484
12 changed files with 147 additions and 16 deletions
10
modules/layout/tpl/filter/update_layout_code.xml
Normal file
10
modules/layout/tpl/filter/update_layout_code.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<filter name="update_layout_code" module="layout" act="procLayoutAdminCodeUpdate" confirm_msg_code="confirm_submit">
|
||||
<form>
|
||||
<node target="layout_srl" required="true" />
|
||||
<node target="code" required="true" />
|
||||
</form>
|
||||
<response>
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -1,8 +1,17 @@
|
|||
<!--%import("js/layout_admin.js")-->
|
||||
|
||||
<!-- 관리자 페이지용 메뉴 -->
|
||||
<!--@if($module == 'admin')-->
|
||||
<div style="margin-bottom:20px;">
|
||||
<span <!--@if($act=='dispLayoutAdminContent')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminContent')}">{$lang->layout_list}</a>]</span>
|
||||
<span <!--@if($act=='dispLayoutAdminDownloadedList')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminDownloadedList')}">{$lang->downloaded_list}</a>]</span>
|
||||
</div>
|
||||
<div style="margin-bottom:20px;">
|
||||
<span <!--@if($act=='dispLayoutAdminContent')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminContent')}">{$lang->layout_list}</a>]</span>
|
||||
<span <!--@if($act=='dispLayoutAdminDownloadedList')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminDownloadedList')}">{$lang->downloaded_list}</a>]</span>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 레이아웃 수정 메뉴 -->
|
||||
<!--@if($layout_info)-->
|
||||
<div style="margin-bottom:20px;">
|
||||
<span <!--@if($act=='dispLayoutAdminModify')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminModify')}">{$lang->cmd_layout_management}</a>]</span>
|
||||
<span <!--@if($act=='dispLayoutAdminEdit')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispLayoutAdminEdit')}">{$lang->cmd_layout_edit}</a>]</span>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
37
modules/layout/tpl/layout_edit.html
Normal file
37
modules/layout/tpl/layout_edit.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!--%import("filter/update_layout_code.xml")-->
|
||||
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<div style="margin-bottom:10px;border:4px solid #DDDDDD;padding:5px;font-weight:bold;">
|
||||
{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom:10px;border:1px solid #DDDDDD;padding:5px;">
|
||||
{nl2br($lang->about_layout_code)}
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom:10px;border:1px solid #DDDDDD;padding:5px;">
|
||||
<div style="font-weight:bold">{$lang->plugin}</div>
|
||||
<div>
|
||||
<!--@foreach($plugin_list as $plugin)-->
|
||||
[<a href="#" onclick="popopen('./?module=plugin&act=dispPluginGenerateCode&selected_plugin={$plugin->plugin}&module_srl={$module_srl}','GenerateCodeInPage');return false;">{$plugin->title}</a>]
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom:10px;">
|
||||
<form id="fo_layout" action="./" method="get" onsubmit="return procFilter(this, update_layout_code)">
|
||||
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
|
||||
|
||||
<div>
|
||||
<textarea name="code" style="width:99%;height:400px;border:2px solid #DDDDDD;">{htmlspecialchars($layout_code)}</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" value="{$lang->cmd_save}" />
|
||||
<input type="button" value="{$lang->cmd_preview}" onclick="doPreviewLayoutCode('{$layout_srl}');return false" />
|
||||
<input type="button" value="{$lang->cmd_load_source}" onclick="doResetLayoutCode('{$layout_srl}');return false" />
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue