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@733 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a64ca58dd4
commit
75496136d9
7 changed files with 17 additions and 85 deletions
|
|
@ -77,16 +77,30 @@
|
|||
* @brief 관리자 로그인 페이지 출력
|
||||
**/
|
||||
function dispLogin() {
|
||||
// 로그인 되어 있으면 메인 페이지 표시
|
||||
if(Context::get('is_logged')) return $this->dispIndex();
|
||||
$this->setTemplateFile('login_form');
|
||||
|
||||
// member모듈의 로그인 act를 이용
|
||||
$oMemberView = &getView('member');
|
||||
$oMemberView->dispLoginForm();
|
||||
|
||||
$this->setTemplatePath($oMemberView->getTemplatePath());
|
||||
$this->setTemplateFile($oMemberView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 로그아웃 페이지 출력
|
||||
**/
|
||||
function dispLogout() {
|
||||
// 로그인 되어 있지 않으면 메인 페이지 표시
|
||||
if(!Context::get('is_logged')) return $this->dispIndex();
|
||||
$this->setTemplateFile('logout');
|
||||
|
||||
// member모듈의 로그아웃 act를 이용
|
||||
$oMemberView = &getView('member');
|
||||
$oMemberView->dispLogout();
|
||||
|
||||
$this->setTemplatePath($oMemberView->getTemplatePath());
|
||||
$this->setTemplateFile($oMemberView->getTemplateFile());
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue