1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-22 20:26:25 +02:00

- changed ucp classes to work with the new module system

- mcp is no longer working, i know.


git-svn-id: file:///svn/phpbb/trunk@5254 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-10-04 21:31:35 +00:00
parent 95ff1f3b64
commit 5449c591a9
17 changed files with 174 additions and 348 deletions

View File

@@ -13,9 +13,9 @@
* ucp_register
* Board registration
*/
class ucp_register extends module
class ucp_register
{
function ucp_register($id, $mode)
function main($id, $mode)
{
global $config, $db, $user, $auth, $SID, $template, $phpbb_root_path, $phpEx;
@@ -78,7 +78,8 @@ class ucp_register extends module
);
}
$this->display($user->lang['REGISTER'], 'ucp_agreement.html');
$this->tpl_name = 'ucp_agreement';
return;
}
$var_ary = array(
@@ -480,7 +481,7 @@ class ucp_register extends module
$cp->generate_profile_fields('register', $user->get_iso_lang_id());
//
$this->display($user->lang['REGISTER'], 'ucp_register.html');
$this->tpl_name = 'ucp_register';
}
}