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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user