mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@155 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
856666328b
commit
ad1dc08f0b
5 changed files with 36 additions and 24 deletions
|
|
@ -22,7 +22,7 @@
|
|||
if(!$oMemberModel->isLogged()) return $this->act = 'dispLogin';
|
||||
|
||||
// 로그인되었는데 관리자(member->is_admin!=1)가 아니면 오류 표시
|
||||
if($logged_info->is_admin != 'Y') return $this->dispMessage('msg_is_not_administrator');
|
||||
if($logged_info->is_admin != 'Y') return $this->stop('msg_is_not_administrator');
|
||||
|
||||
// 관리자 모듈 목록을 세팅
|
||||
$oModuleModel = &getModel('module');
|
||||
|
|
@ -48,8 +48,10 @@
|
|||
$oModule = &$oModuleHandler->procModule();
|
||||
|
||||
// 내용을 요청받은 모듈의 것으로 변경
|
||||
$this->setTemplatePath($oModule->getTemplatePath());
|
||||
$this->setTemplateFile($oModule->getTemplateFile());
|
||||
if($oModule) {
|
||||
$this->setTemplatePath($oModule->getTemplatePath());
|
||||
$this->setTemplateFile($oModule->getTemplateFile());
|
||||
}
|
||||
|
||||
// 없으면 관리자 메인 페이지 출력
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -9,9 +9,11 @@
|
|||
</div>
|
||||
<div id="admin_module_list">
|
||||
<!--@foreach($module_list as $module_item)-->
|
||||
<!--@if($module_item->module != $module)-->
|
||||
<div <!--@if($module_item->module==$sid)-->style="font-weight:bold;"<!--@end-->>
|
||||
<a href="{getUrl('sid',$module_item->module,'act','','module_srl','','page','')}">{$module_item->title}</a>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div id="admin_module_content">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
$this->setTemplatePath($this->module_path."tpl");
|
||||
|
||||
// 설치가 되어 있으면 오류
|
||||
if(Context::isInstalled()) return $this->dispMessage('msg_already_installed');
|
||||
if(Context::isInstalled()) return $this->stop('msg_already_installed');
|
||||
|
||||
// 컨트롤러 생성
|
||||
$oController = &getController('install');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue