Beispiel #1
0
 function display($tpl = null)
 {
     $username = JRequest::getVar('username', '');
     $password = JRequest::getVar('password', '');
     $this->assignRef('username', $username);
     $this->assignRef('password', $password);
     $doc = JFactory::getDocument();
     $doc->setTitle(JText::_("COM_REGISTER_LABEL_USER_REGISTRATION"));
     parent::display($tpl);
 }
Beispiel #2
0
 function display($tpl = null)
 {
     $email = JRequest::getVar('email', '');
     $token = JRequest::getString('token', '');
     $code = JRequest::getString('code', '');
     $userInviteTable = JTable::getInstance('usersInvite', 'AccountTable');
     $userInviteTable->load(array('invite_email' => $email, 'status' => AccountTableUsersInvite::PENDING, 'token' => $token));
     $username = JRequest::getVar('username', '');
     $name = JRequest::getVar('name', '');
     $password = JRequest::getVar('password', '');
     $confirmPassword = JRequest::getVar('confirm_password', '');
     $this->assignRef('name', $name);
     $this->assignRef('username', $username);
     $this->assignRef('password', $password);
     $this->assignRef('confirm_password', $confirmPassword);
     $this->assignRef('email', $email);
     $this->assignRef('token', $token);
     $this->assignRef('code', $code);
     $doc = JFactory::getDocument();
     $doc->setTitle(JText::_("COM_REGISTER_LABEL_USER_REGISTRATION"));
     parent::display($tpl);
 }