mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
added to cookies redirect_url in case you go to signup Form to remember where to return
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9798 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5673fb7d5
commit
c34090b7fb
3 changed files with 10 additions and 1 deletions
|
|
@ -83,6 +83,10 @@
|
|||
* @brief Display member join form
|
||||
**/
|
||||
function dispMemberSignUpForm() {
|
||||
//setcookie for redirect url in case of going to member sign up
|
||||
if (!isset($_COOKIE["XE_REDIRECT_URL"]))
|
||||
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');
|
||||
|
|
@ -98,7 +102,7 @@
|
|||
|
||||
$member_config = $oMemberModel->getMemberConfig();
|
||||
Context::set('member_config', $member_config);
|
||||
|
||||
|
||||
global $lang;
|
||||
$identifierForm->title = $lang->{$member_config->identifier};
|
||||
$identifierForm->name = $member_config->identifier;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue