git-svn-id: http://xe-core.googlecode.com/svn/trunk@393 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-13 07:27:53 +00:00
parent 4e044cbbfd
commit 3890c0c97c
40 changed files with 682 additions and 82 deletions

View file

@ -0,0 +1,9 @@
<filter name="delete_shortcut" module="admin" act="procDeleteShortCut" confirm_msg_code="confirm_delete">
<form>
<node target="shortcut_srl" required="true" />
</form>
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -17,3 +17,10 @@ function doAdminLoginFocus() {
var fo = xGetElementById('user_id');
if(fo) fo.focus();
}
// 숏컷 삭제
function doDeleteShortCut(shortcut_srl) {
var fo_obj = xGetElementById('fo_shortcut_info');
fo_obj.shortcut_srl.value = shortcut_srl;
procFilter(fo_obj, delete_shortcut);
}

View file

@ -14,22 +14,19 @@
<div id="admin_main_menu">
<!-- 자주 쓰이는 모듈의 경우 별도 등록을 함 -->
<div>
<span <!--@if($mo=='board')-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act','dispAdminContent','mo','board','module_srl','')}'">{$lang->board_manager}</a>
</span>
<span <!--@if($mo=='member')-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act','dispAdminContent','mo','member','module_srl','')}'">{$lang->member_manager}</a>
</span>
<span <!--@if($mo=='layout')-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act','dispContent','mo','layout','module_srl','')}'">{$lang->layout_manager}</a>
</span>
<!--@foreach($shortcut_list as $key => $val)-->
<span <!--@if($mo==$val->module)-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act',$val->default_act,'mo',$val->module)}';return false;">{$val->title}</a>
</span>
<!--@end-->
[<a href="#" onclick="location.href='{getUrl('','module','admin','act','dispShortCut')}';return false;">{$lang->cmd_management}</a>]
</div>
<!-- 애드온,플러그인,레이아웃,에디터컴포넌트등의 목록을 보여줄 메뉴 -->
<div>
<!--@foreach($menu_item as $key => $val)-->
<span <!--@if($act==$val->act)-->class="selected"<!--@end-->>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act',$val->act,'mo','','module_srl','')}'">{$val->title}</a>
<a href="#" onclick="location.href='{getUrl('','module', $module, 'act',$val->act,'mo','','module_srl','')}';return false;">{$val->title}</a>
</span>
<!--@end-->
</div>
@ -37,7 +34,7 @@
<!--@if($selected_module_info)-->
<div id="admin_module_info">
<a href="#" onclick="location.href='{getUrl('','module', $module, 'mo', $mo, 'act', $selected_module_info->admin_index_act)}'">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
<a href="#" onclick="location.href='{getUrl('','module', $module, 'mo', $mo, 'act', $selected_module_info->admin_index_act)}';return false;">{$selected_module_info->title}</a> (ver {$selected_module_info->version})
</div>
<!--@end-->

View file

@ -0,0 +1,35 @@
<!--%import("filter/delete_shortcut.xml")-->
<!--%import("js/admin.js")-->
<!--#include("./header.html")-->
<!-- 숏컷의 위/아래, 삭제와 관련된 form -->
<form id="fo_shortcut_info" action="./" method="get">
<input type="hidden" name="shortcut_srl" value="" />
</form>
<div>
<table>
<tr>
<th>{$lang->title}</th>
<th>{$lang->module}</th>
<th>{$lang->regdate}</th>
<th>{$lang->cmd_delete}</th>
</tr>
<!--@if(!count($shortcut_list))-->
<tr>
<td colspan="4">{$lang->msg_shortcut_is_null}</td>
</tr>
<!--@end-->
<!--@foreach($shortcut_list as $shortcut_info)-->
<tr>
<td>{$shortcut_info->title}</td>
<td>{$shortcut_info->module}</td>
<td>{zdate($shortcut_info->last_update,"Y-m-d H:i:s")}</td>
<td><a href="#" onclick="doDeleteShortCut('{$shortcut_info->shortcut_srl}');return false;">{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->
</table>
</div>
</form>