mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4a5075bc07
commit
f2906e4e0d
5 changed files with 30 additions and 6 deletions
|
|
@ -197,7 +197,6 @@
|
|||
return $this->layout_path;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief 모듈의 action에 해당하는 method를 실행
|
||||
*
|
||||
|
|
|
|||
|
|
@ -49,8 +49,14 @@
|
|||
if(!$oModule || !is_object($oModule)) {
|
||||
$this->setTemplateFile('index');
|
||||
|
||||
// oModule이 정상이라면 해당 모듈의 template path, file을 가로챔
|
||||
// oModule이 정상이라면
|
||||
} else {
|
||||
// 모듈의 타이틀 값을 구해옴
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoXml($mo);
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 해당 모듈의 template path, file을 가로챔
|
||||
$this->setTemplatePath($oModule->getTemplatePath());
|
||||
$this->setTemplateFile($oModule->getTemplateFile());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
height:30px;
|
||||
}
|
||||
|
||||
#admin_info {
|
||||
#admin_sub_menu{
|
||||
float:right;
|
||||
height:30px;
|
||||
}
|
||||
|
|
@ -13,12 +13,25 @@
|
|||
#admin_main_menu {
|
||||
clear:both;
|
||||
text-align:right;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
#admin_main_menu .selected {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#admin_module_info {
|
||||
border:1px solid #EEEEEE;
|
||||
padding:5px;
|
||||
margin-bottom:20px;
|
||||
}
|
||||
|
||||
#admin_module_info a {
|
||||
color:#000000;
|
||||
font-weight:bold;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#admin_content {
|
||||
clear:both;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,18 +7,24 @@
|
|||
<a href="./?module=admin">zeroboard5</a>
|
||||
</div>
|
||||
|
||||
<div id="admin_info">
|
||||
<div id="admin_sub_menu">
|
||||
<a href="{getUrl('act','dispLogout')}">{$lang->cmd_logout}</a>
|
||||
</div>
|
||||
|
||||
<div id="admin_main_menu">
|
||||
<!--@foreach($menu_item as $key => $val)-->
|
||||
<span <!--@if($act==$val->act)-->class="selected"<!--@end-->>
|
||||
<a href="#" onclick="location.href='{getUrl('act',$val->act)}'">{$val->title}</a>
|
||||
<a href="#" onclick="location.href='{getUrl('act',$val->act,'mo','','module_srl','')}'">{$val->title}</a>
|
||||
</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if($mo && $module_info)-->
|
||||
<div id="admin_module_info">
|
||||
<a href="#" onclick="location.href='{getUrl('mo', $mo, 'act', $module_info->admin_index_act)}'">{$module_info->title}</a> (ver {$module_info->version})
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<div id="admin_content">
|
||||
{$content}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_modify}" onclick="location.href='{getUrl('act','dispInsertBoard')}'" />
|
||||
<input type="button" value="{$lang->cmd_modify}" onclick="location.href='{getUrl('act','dispAdminInsertBoard')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue