'/validate/:user_id/:validation_key/', # validation via email link 'validate' => '/validate/', # re-validating (sendind email again) 'retrieve' => '/retrieve/', # retrieving the account password 'unlock' => '/unlock/:lock_key/', # unlocking the account via email link 'unlock' => '/unlock/' # unlocking the account ); } function index(&$reg, &$req, &$resp) { $this->informationPage('N/A'); } function validate(&$reg, &$req, &$resp) { $this->informationPage('N/A'); } function retrieve(&$reg, &$req, &$resp) { $this->informationPage('N/A'); } function unlock(&$reg, &$req, &$resp) { $user = &$reg->get('user'); if($user->isMember()) { $info = &new InformationDisplay($reg, $req, $resp); $info->display('logoutRequired'); } $resp->assign('content', 'account_unlock.html'); $this->setPage('Unlock Account'); $this->setLayout('forum_base.html'); } } ?>