mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@221 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
186770e81b
commit
d9510170e5
30 changed files with 1060 additions and 2 deletions
|
|
@ -305,6 +305,21 @@
|
|||
$this->setTemplateFile('delete_trackback_form');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 회원가입폼
|
||||
**/
|
||||
function dispSignUpForm() {
|
||||
// 이미 로그인되어 있으면 메인 컨텐츠 노출
|
||||
if(Context::get('is_logged')) return $this->dispContent();
|
||||
|
||||
// member view 객체 생성후 dispSignUpForm method호출후 템플릿 가로챔
|
||||
$oMemberView = &getView('member');
|
||||
$oMemberView->dispSignUpForm();
|
||||
|
||||
$this->setTemplatePath($oMemberView->getTemplatePath());
|
||||
$this->setTemplateFile($oMemberView->getTemplateFile());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 로그인 폼 출력
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
<action name="dispModifyComment" type="view" />
|
||||
<action name="dispDeleteComment" type="view" />
|
||||
<action name="dispDeleteTrackback" type="view" />
|
||||
<action name="dispSignUpForm" type="view" />
|
||||
<action name="dispLogin" type="view" />
|
||||
<action name="dispLogout" type="view" />
|
||||
<action name="dispMessage" type="view" />
|
||||
|
|
|
|||
|
|
@ -16,10 +16,15 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{@getUrl('act','')}'" />
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
|
||||
<input type="submit" value="{$lang->cmd_login}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="#" onclick="location.href='{getUrl('act','dispSignUpForm')}'">{$lang->cmd_signup}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue