mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
issue 1095, 1080 fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10150 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2bd25445f8
commit
c5f179cbb2
4 changed files with 30 additions and 7 deletions
|
|
@ -89,7 +89,11 @@
|
|||
/**
|
||||
* @brief Display member join form
|
||||
**/
|
||||
function dispMemberSignUpForm() {
|
||||
function dispMemberSignUpForm()
|
||||
{
|
||||
//setcookie for redirect url in case of going to member sign up
|
||||
setcookie("XE_REDIRECT_URL", $_SERVER['HTTP_REFERER']);
|
||||
|
||||
$oMemberModel = &getModel('member');
|
||||
// Get the member information if logged-in
|
||||
if($oMemberModel->isLogged()) return $this->stop('msg_already_logged');
|
||||
|
|
@ -111,6 +115,7 @@
|
|||
$identifierForm->name = $member_config->identifier;
|
||||
$identifierForm->value = $member_info->{$member_config->identifier};
|
||||
Context::set('identifierForm', $identifierForm);
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplateFile('signup_form');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue