mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 05:14:56 +09:00
1. captcha 애드온의 특정 모듈 선택시 오동작하는 문제 수정
2. 로그인되어 있는 상태에서 로그인 폼이 불려질 경우 폼을 더 이상 보이지 않도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6855 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8b5b3625c2
commit
4fdd586ef4
4 changed files with 23 additions and 9 deletions
|
|
@ -210,6 +210,13 @@
|
|||
* @brief 로그인 폼 출력
|
||||
**/
|
||||
function dispMemberLoginForm() {
|
||||
if(Context::get('is_logged')) {
|
||||
Context::set('redirect_url', getUrl('act',''));
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('redirect.html');
|
||||
return;
|
||||
}
|
||||
|
||||
// 템플릿 파일 지정
|
||||
Context::set('referer_url', $_SERVER['HTTP_REFERER']);
|
||||
$this->setTemplateFile('login_form');
|
||||
|
|
|
|||
3
modules/member/tpl/redirect.html
Normal file
3
modules/member/tpl/redirect.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<script type="text/javascript">
|
||||
location.href = "{$redirect_url}";
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue