rhymix/modules/menu/tpl/menu_management.html
ChanMyeong 024a234f6a Admin HTML Markup Clean.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9377 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-27 12:53:33 +00:00

95 lines
3 KiB
HTML

<load target="filter/insert_menu_item.xml" />
<load target="filter/delete_menu_item.xml" />
<load target="filter/move_menu_item.xml" />
<load target="js/menu_admin.js" type="body" usecdn="true" />
<load target="js/menu_tree.js" type="body" usecdn="true" />
<!--// tree javascript plugin load -->
<!--%load_js_plugin("ui.tree")-->
<script type="text/javascript">
var alertImageOnly = "{$lang->alert_image_only}";
</script>
<div class="menuManagement">
<!--@if($module == 'admin')-->
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="updateMenuTitle" action="./" method="post">
<input type="hidden" name="act" value="procMenuAdminUpdate" />
<input type="hidden" name="menu_srl" value="{$menu_info->menu_srl}" />
<h3 class="h3">{$lang->menu_management}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="col">{$lang->title}</th>
<td>
<input type="text" name="title" value="{$menu_info->title}" />
<input type="submit" value="{$lang->cmd_modify}" />
</td>
</tr>
<tr>
<th scope="col">{$lang->menu_management}</th>
<td >
{nl2br($lang->about_menu_management)}
<button type="button" onclick="doReloadTreeMenu('{$menu_info->menu_srl}');return false;">{$lang->cmd_remake_cache}</button>
</td>
</tr>
</table>
</div>
</form>
<!--@else-->
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="col">{$lang->title}</th>
<td >
{$menu_info->title}
</td>
</tr>
<tr>
<th scope="col">{$lang->menu_management}</th>
<td >{nl2br($lang->about_menu_management)}</td>
</tr>
</table>
</div>
<!--@end-->
<form ruleset="insertMenuItem" id="fo_menu" action="./" method="post" enctype="multipart/form-data">
<input type="hidden" name="act" value="procMenuAdminInsertItem" />
<input type="hidden" name="title" value="{$menu_info->title}" />
<input type="hidden" name="menu_srl" value="{$menu_info->menu_srl}" />
<input type="hidden" name="xml_file" value="{$menu_info->xml_file}" />
<input type="hidden" name="php_file" value="{$menu_info->php_file}" />
<input type="hidden" name="module" value="menu" />
<input type="hidden" name="target" value="" />
<div id="menu_zone_info"></div>
</form>
<div id="menu">
<ul class="simpleTree">
<li class="root" id='tree_0'><span>{$lang->menu}</span></li>
</ul>
</div>
</div>
<script type="text/javascript">//<![CDATA[
//언어파일 로드용
var lang_cmd_insert = "{htmlspecialchars($lang->cmd_insert)}";
var lang_cmd_delete = "{htmlspecialchars($lang->cmd_delete)}";
var lang_cmd_modify = "{htmlspecialchars($lang->cmd_modify)}";
var simpleTreeCollection;
var max_menu_depth = 999;
var xml_url = "{$menu_info->xml_file}";
var lang_confirm_delete = "{$lang->confirm_delete}";
jQuery(function(){
doMoveMenuInfo();
Tree(xml_url);
});
//]]>
</script>