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

This commit is contained in:
zero 2007-03-30 04:45:50 +00:00
parent a11ddec974
commit a5528e0099
41 changed files with 298 additions and 478 deletions

View file

@ -1,37 +1,39 @@
@charset "utf-8";
#admin_title {
font-size:20pt;
font-weight:bold;
float:left;
height:30px;
font-size:20pt;
font-weight:bold;
float:left;
height:30px;
}
#admin_sub_menu{
float:right;
height:30px;
float:right;
height:30px;
}
#admin_main_menu {
clear:both;
text-align:right;
margin-bottom:10px;
clear:both;
text-align:right;
margin-bottom:10px;
}
#admin_main_menu .selected {
font-weight:bold;
font-weight:bold;
}
#admin_module_info {
border:1px solid #EEEEEE;
padding:5px;
margin-bottom:20px;
border:1px solid #EEEEEE;
padding:5px;
margin-bottom:20px;
}
#admin_module_info a {
color:#000000;
font-weight:bold;
text-decoration:none;
color:#000000;
font-weight:bold;
text-decoration:none;
}
#admin_content {
clear:both;
clear:both;
}

View file

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

View file

@ -1 +1 @@
haha
관리자 페이지..

View file

@ -1,12 +1,12 @@
/**
* @file : modules/admin/js/admin.js
* @author : zero <zero@nzeo.com>
* @desc : admin 모듈의 javascript
* @file admin.js
* @author zero (zero@nzeo.com)
* @desc admin 모듈의 javascript
**/
// 숏컷 삭제
function doDeleteShortCut(selected_module) {
var fo_obj = xGetElementById('fo_shortcut_info');
fo_obj.selected_module.value = selected_module;
procFilter(fo_obj, delete_shortcut);
var fo_obj = xGetElementById('fo_shortcut_info');
fo_obj.selected_module.value = selected_module;
procFilter(fo_obj, delete_shortcut);
}

View file

@ -2,31 +2,31 @@
<!--%import("js/admin.js")-->
<div id="admin_title">
<a href="./?module=admin">zeroboard XE</a>
<a href="./?module=admin">zeroboard XE</a>
</div>
<div id="admin_sub_menu">
<a href="{getUrl('act','dispLogout')}">{$lang->cmd_logout}</a>
<a href="{getUrl('act','dispLogout')}">{$lang->cmd_logout}</a>
</div>
<div id="admin_main_menu">
<!-- 자주 쓰이는 모듈의 경우 별도 등록을 함 -->
<div>
<!--@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($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','dispAdminShortCut')}';return false;">{$lang->cmd_management}</a>]
</div>
</div>
<!--@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)}';return false;">{$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-->
<div id="admin_content">
{$content}
{$content}
</div>

View file

@ -5,31 +5,29 @@
<!-- 숏컷의 위/아래, 삭제와 관련된 form -->
<form id="fo_shortcut_info" action="./" method="get">
<input type="hidden" name="selected_module" value="" />
<input type="hidden" name="selected_module" 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->module}');return false;">{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->
</table>
<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->module}');return false;">{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->
</table>
</div>
</form>