mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
블로그 카테고리/ 메뉴관리시 새창에서 수정하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2188 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
75fe99c37b
commit
e72fde1ccb
11 changed files with 152 additions and 107 deletions
|
|
@ -183,6 +183,7 @@
|
|||
Context::set('category_info', $category_info);
|
||||
Context::addJsFile('./common/js/tree_menu.js');
|
||||
|
||||
Context::set('layout','none');
|
||||
$this->setTemplateFile('category_list');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,45 +1,56 @@
|
|||
<!--%import("filter/insert_category.xml")-->
|
||||
<!--%import("filter/delete_category.xml")-->
|
||||
<!--%import("filter/move_category.xml")-->
|
||||
<!--#include("./header.html")-->
|
||||
<!--%import("css/blog.css")-->
|
||||
<!--%import("js/blog_admin.js")-->
|
||||
|
||||
<script type="text/javascript">
|
||||
var category_title = "{$lang->category}";
|
||||
</script>
|
||||
<h3>{$lang->blog} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
||||
<div class="infoText">{nl2br($lang->about_blog_category)}</div>
|
||||
|
||||
<!-- 카테고리의 위/아래, 삭제와 관련된 form -->
|
||||
<form id="fo_move_category" action="./" method="get">
|
||||
<input type="hidden" name="source_category_srl" />
|
||||
<input type="hidden" name="target_category_srl" />
|
||||
</form>
|
||||
|
||||
<div class="gap1">
|
||||
<form id="fo_category" action="./" method="get" onsubmit="return procFilter(this, insert_category)">
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
<input type="hidden" name="xml_file" value="{$category_info->xml_file}" />
|
||||
|
||||
<div id="category_list">
|
||||
<div id="zone_category"></div>
|
||||
<p><input type="checkbox" class="checkbox" id="category_enable_move" onclick="hideCategoryInfo()" /> <label for="category_enable_move">{$lang->cmd_enable_move_category}</label></p>
|
||||
|
||||
<div class="fl gap1">
|
||||
<a href="#" onclick="doInsertCategory(0);return false;" class="button"><span>{$lang->cmd_insert}</span></a>
|
||||
</div>
|
||||
|
||||
<div class="fr gap1">
|
||||
<a href="#" onclick="openAllTreeMenu('category');return false;" class="button"><span>{$lang->cmd_open_all}</span></a>
|
||||
<a href="#" onclick="closeAllTreeMenu('category');return false;" class="button"><span>{$lang->cmd_close_all}</span></a>
|
||||
<a href="#" onclick="doReloadTreeCategory('{$module_info->module_srl}');return false;" class="button"><span>{$lang->cmd_remake_cache}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="category_info"></div>
|
||||
|
||||
</form>
|
||||
<div class="menuManagement">
|
||||
|
||||
<script type="text/javascript">
|
||||
loadTreeMenu("{$category_info->xml_file}", "category", "zone_category", category_title, '', doGetCategoryInfo, 0, doMoveTree);
|
||||
var category_title = "{$lang->category}";
|
||||
</script>
|
||||
|
||||
<div class="infoText">{nl2br($lang->about_blog_category)}</div>
|
||||
|
||||
<!-- 카테고리의 위/아래, 삭제와 관련된 form -->
|
||||
<form id="fo_move_category" action="./" method="get">
|
||||
<input type="hidden" name="source_category_srl" />
|
||||
<input type="hidden" name="target_category_srl" />
|
||||
</form>
|
||||
|
||||
<div class="gap1">
|
||||
<form id="fo_category" action="./" method="get" onsubmit="return procFilter(this, insert_category)">
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
<input type="hidden" name="xml_file" value="{$category_info->xml_file}" />
|
||||
|
||||
<table class="menuListZone">
|
||||
<tr>
|
||||
<td class="category_zone">
|
||||
<div id="category_list">
|
||||
<div id="zone_category"></div>
|
||||
<p><input type="checkbox" class="checkbox" id="category_enable_move" onclick="hideCategoryInfo()" /> <label for="category_enable_move">{$lang->cmd_enable_move_category}</label></p>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div id="category_info"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="fl gap1">
|
||||
<a href="#" onclick="doInsertCategory(0);return false;" class="button"><span>{$lang->cmd_insert}</span></a>
|
||||
<a href="#" onclick="openAllTreeMenu('category');return false;" class="button"><span>{$lang->cmd_open_all}</span></a>
|
||||
<a href="#" onclick="closeAllTreeMenu('category');return false;" class="button"><span>{$lang->cmd_close_all}</span></a>
|
||||
<a href="#" onclick="doReloadTreeCategory('{$module_info->module_srl}');return false;" class="button"><span>{$lang->cmd_remake_cache}</span></a>
|
||||
<a href="#" onclick="window.close();return false;" class="button"><span>{$lang->cmd_close}</span></a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
loadTreeMenu("{$category_info->xml_file}", "category", "zone_category", category_title, '', doGetCategoryInfo, 0, doMoveTree);
|
||||
</script>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
12
modules/blog/tpl/css/blog.css
Normal file
12
modules/blog/tpl/css/blog.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@charset "utf-8";
|
||||
|
||||
h3 { margin:0 20px 0 20px; }
|
||||
.menuManagement { margin:20px; }
|
||||
.menuListZone td { vertical-align:top; }
|
||||
.menuListZone td.category_zone { padding-right:10px; }
|
||||
|
||||
#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; }
|
||||
#category_list .checkbox { margin-top:1em; border:0px; }
|
||||
|
||||
#menu_zone_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
|
||||
#category_info { background-color:#FFFFFF; z-index:999; display:none; overflow:hidden; padding-left:10px; border-left:1px dashed #CCCCCC; }
|
||||
|
|
@ -26,7 +26,11 @@
|
|||
<li><a href="{getUrl('act','')}">{$lang->cmd_back}</a></li>
|
||||
<!--@end-->
|
||||
<!--@foreach($blog_menu_list as $key => $val)-->
|
||||
<li <!--@if($act==$key)-->class="on"<!--@end-->><a href="{getUrl('act',$key,'layout_srl',$module_srl)}">{$val}</a></li>
|
||||
<!--@if($key != 'dispBlogAdminCategoryInfo')-->
|
||||
<li <!--@if($act==$key)-->class="on"<!--@end-->><a href="{getUrl('act',$key,'layout_srl',$module_srl)}">{$val}</a></li>
|
||||
<!--@else-->
|
||||
<li <!--@if($act==$key)-->class="on"<!--@end-->><a href="{getUrl('act',$key,'layout_srl',$module_srl)}" onclick="winopen(this.href,'BlogMenu','width=850,height=800,resizable=yes,scrollbars=yes,toolbars=no');return false;">{$val}</a></li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue