mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
tree javascript change : 메뉴, 게시판분류, 홈페이지
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5055 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
987c7fbfbd
commit
19859b1615
65 changed files with 1591 additions and 875 deletions
|
|
@ -2,7 +2,10 @@
|
|||
<!--%import("filter/insert_menu_item.xml")-->
|
||||
<!--%import("filter/delete_menu_item.xml")-->
|
||||
<!--%import("filter/move_menu_item.xml")-->
|
||||
<!--%import("css/menu.css")-->
|
||||
|
||||
<!--%import("../../common/js/jquery.simple.tree.js",optimized=false)-->
|
||||
<!--%import("../../common/css/jquery.simple.tree.css",optimized=false)-->
|
||||
<!--%import("js/menu_tree.js")-->
|
||||
<!--%import("js/menu_admin.js")-->
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
@ -11,13 +14,6 @@
|
|||
|
||||
<div class="menuManagement">
|
||||
|
||||
<!-- 메뉴 이동을 위해 임시로 사용하는 form -->
|
||||
<form id="fo_move_menu" action="./" method="get">
|
||||
<input type="hidden" name="menu_id" />
|
||||
<input type="hidden" name="source_item" />
|
||||
<input type="hidden" name="target_item" />
|
||||
</form>
|
||||
|
||||
<!--@if($module == 'admin')-->
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, update_menu_title)">
|
||||
<input type="hidden" name="menu_srl" value="{$menu_info->menu_srl}" />
|
||||
|
|
@ -31,13 +27,14 @@
|
|||
</div>
|
||||
<div class="fr">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_modify}" /></span>
|
||||
<a href="#" onclick="window.close();return false;" class="button"><span>{$lang->cmd_close}</span></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->menu_management}</div></th>
|
||||
<td class="left">{nl2br($lang->about_menu_management)}</td>
|
||||
<td class="left">{nl2br($lang->about_menu_management)}
|
||||
<span style="float:right"><a href="#" onclick="doReloadTreeMenu('{$menu_info->menu_srl}');return false;" class="button"><span>{$lang->cmd_remake_cache}</span></a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
@ -57,14 +54,6 @@
|
|||
</table>
|
||||
<!--@end-->
|
||||
|
||||
<div class="gap1">
|
||||
<a href="#" onclick="doInsertMenuItem(0);return false;" class="button"><span>{$lang->cmd_insert}</span></a>
|
||||
<a href="#" onclick="doReloadTreeMenu('{$menu_info->menu_srl}');return false;" class="button"><span>{$lang->cmd_remake_cache}</span></a>
|
||||
<a href="#" onclick="openAllTreeMenu('menu');return false;" class="button"><span>{$lang->cmd_open_all}</span></a>
|
||||
<a href="#" onclick="closeAllTreeMenu('menu');return false;" class="button"><span>{$lang->cmd_close_all}</span></a>
|
||||
</div>
|
||||
|
||||
<p class="gap1"><input type="checkbox" id="menu_enable_move" class="checkbox" /> <label for="menu_enable_move">{$lang->cmd_enable_move_menu}</label></p>
|
||||
|
||||
<div class="gap1">
|
||||
<form id="fo_menu" action="./" method="post" onsubmit="return procFilter(this, insert_menu_item)" class="clear" target="tmp_upload_iframe" enctype="multipart/form-data">
|
||||
|
|
@ -76,19 +65,23 @@
|
|||
<input type="hidden" name="act" value="" />
|
||||
<input type="hidden" name="target" value="" />
|
||||
|
||||
<div id="category_list">
|
||||
<div id="menu_zone_menu"></div>
|
||||
</div>
|
||||
<div id="menu_zone_info"></div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
loadTreeMenu("{$menu_info->xml_file}", "menu", "menu_zone_menu", "{$menu_info->title}", '', doGetMenuItemInfo, 0, doMoveTree);
|
||||
</script>
|
||||
<div id="menu">
|
||||
<ul class="simpleTree">
|
||||
<li class="root" id='tree_0'><span>{$lang->menu}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="menu_zone_info" style="position:absolute;top:200px; width:70%; right:20px"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<iframe id='tmp_upload_iframe' name='tmp_upload_iframe' style='display:none;width:1px;height:1px;position:absolute;top:-10px;left:-10px'></iframe>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var simpleTreeCollection;
|
||||
var max_menu_depth = 999;
|
||||
var xml_url = "{$menu_info->xml_file}";
|
||||
var lang_confirm_delete = "{$lang->confirm_delete}";
|
||||
Tree(xml_url);
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue