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@731 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a754922e08
commit
89f65a7369
7 changed files with 34 additions and 7 deletions
|
|
@ -379,8 +379,15 @@
|
|||
// 모듈 관련 정보 세팅
|
||||
$this->initNormal();
|
||||
|
||||
// 로그인 되어 있으면 무시
|
||||
if(Context::get('is_logged')) return $this->dispContent();
|
||||
$this->setTemplateFile('login_form');
|
||||
|
||||
// member모듈의 로그인 act를 이용
|
||||
$oMemberView = &getView('member');
|
||||
$oMemberView->dispLoginForm();
|
||||
|
||||
$this->setTemplatePath($oMemberView->getTemplatePath());
|
||||
$this->setTemplateFile($oMemberView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -390,8 +397,15 @@
|
|||
// 모듈 관련 정보 세팅
|
||||
$this->initNormal();
|
||||
|
||||
// 로그인 되어 있으면 무시
|
||||
if(!Context::get('is_logged')) return $this->dispContent();
|
||||
$this->setTemplateFile('logout');
|
||||
|
||||
// member모듈의 로그아웃 act를 이용
|
||||
$oMemberView = &getView('member');
|
||||
$oMemberView->dispLogout();
|
||||
|
||||
$this->setTemplatePath($oMemberView->getTemplatePath());
|
||||
$this->setTemplateFile($oMemberView->getTemplateFile());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,24 @@
|
|||
$this->setTemplateFile('insert_member');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 로그인 폼 출력
|
||||
**/
|
||||
function dispLoginForm() {
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplatePath($this->module_path.'skins/default');
|
||||
$this->setTemplateFile('login_form');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 로그아웃 출력
|
||||
**/
|
||||
function dispLogout() {
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplatePath($this->module_path.'skins/default');
|
||||
$this->setTemplateFile('logout');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 회원 목록 출력
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<!--%import("filter/login.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, login)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
@ -29,4 +28,3 @@
|
|||
|
||||
</form>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
<!--%import("filter/logout.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, logout)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
@ -20,4 +19,3 @@
|
|||
|
||||
</form>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
Loading…
Add table
Add a link
Reference in a new issue