1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +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_profile
* Changing profile settings
*/
class ucp_profile extends module
class ucp_profile
{
function ucp_profile($id, $mode)
function main($id, $mode)
{
global $config, $db, $user, $auth, $SID, $template, $phpbb_root_path, $phpEx;
@@ -649,7 +649,8 @@ class ucp_profile extends module
'S_UCP_ACTION' => "ucp.$phpEx$SID&i=$id&mode=$mode")
);
$this->display($user->lang['UCP_PROFILE'], 'ucp_profile_' . $mode . '.html');
// Set desired template
$this->tpl_name = 'ucp_profile_' . $mode;
}
}