mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-18 18:26:13 +02:00
Tons of work on the UCP, see my topic in the development forum for more info
on the bigger changes. Registration should still work, the basic layout of the UCP is also done with the start on the profile settings area. git-svn-id: file:///svn/phpbb/trunk@3591 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -26,22 +26,22 @@
|
||||
// show up in the UCP menu.
|
||||
//
|
||||
|
||||
$ucp_modules['UCP_Main']['UCP_Main'] = 'ucp.' . $phpEx . "$SID";
|
||||
$ucp_modules['UCP_Main']['Default'] = 'ucp.' . $phpEx . "$SID";
|
||||
$ucp_modules['UCP_Main']['UCP_Main'] = '';
|
||||
$ucp_modules['UCP_Main']['Default'] = '';
|
||||
|
||||
$ucp_modules['UCP_Profile']['Default'] = 'ucp/usercp_register.' . $phpEx . "?$SID&mode=editprofile&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Registration_information'] = 'ucp/usercp_register.' . $phpEx . "?$SID&mode=editprofilee&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Preferances'] = 'ucp/usercp_register.' . $phpEx . "?$SID&mode=preferancese&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Avatar_settings'] = 'ucp/usercp_avatar.' . $phpEx . "$SIDe&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Signature_settings'] = 'ucp/usercp_register.' . $phpEx . "?$SID&mode=signaturee&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Default'] = 'inc=ucp/usercp_profile.' . $phpEx . "&mode=editprofile&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Registration_information'] = 'inc=ucp/usercp_profile.' . $phpEx . "&mode=editprofile&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Preferances'] = 'inc=ucp/usercp_profile.' . $phpEx . "&mode=preferancese&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Avatar_settings'] = 'inc=ucp/usercp_avatar.' . $phpEx . "&u=" . $user->data['user_id'];
|
||||
$ucp_modules['UCP_Profile']['Signature_settings'] = 'inc=ucp/usercp_profile.' . $phpEx . "&mode=signaturee&u=" . $user->data['user_id'];
|
||||
|
||||
$ucp_modules['UCP_Lists']['Default'] = 'ucp/usercp_lists.' . $phpEx . "?$SID&mode=settings";
|
||||
$ucp_modules['UCP_Lists']['Lists_settings'] = 'ucp/usercp_lists.' . $phpEx . "?$SID&mode=settings";
|
||||
$ucp_modules['UCP_Lists']['While_list'] = 'ucp/usercp_lists.' . $phpEx . "?$SID&mode=white";
|
||||
$ucp_modules['UCP_Lists']['Black_list'] = 'ucp/usercp_lists.' . $phpEx . "?$SID&mode=black";
|
||||
$ucp_modules['UCP_Lists']['Default'] = 'inc=ucp/usercp_lists.' . $phpEx . "&mode=settings";
|
||||
$ucp_modules['UCP_Lists']['Lists_settings'] = 'inc=ucp/usercp_lists.' . $phpEx . "&mode=settings";
|
||||
$ucp_modules['UCP_Lists']['While_list'] = 'inc=ucp/usercp_lists.' . $phpEx . "&mode=white";
|
||||
$ucp_modules['UCP_Lists']['Black_list'] = 'inc=ucp/usercp_lists.' . $phpEx . "amp;mode=black";
|
||||
|
||||
$ucp_modules['UCP_Priv_messages']['Default'] = "privmsg.php?$SID&folder=inbox";
|
||||
$ucp_modules['UCP_Priv_messages']['Private_messages'] = "privmsg.php?$SID&folder=inbox";
|
||||
$ucp_modules['UCP_Priv_messages']['Default'] = '';
|
||||
$ucp_modules['UCP_Priv_messages']['Private_messages'] = '';
|
||||
|
||||
|
||||
//
|
||||
@@ -53,6 +53,6 @@ $ucp_modules['UCP_Priv_messages']['Private_messages'] = "privmsg.php?$SID&fo
|
||||
|
||||
foreach($ucp_modules as $section_title => $sections)
|
||||
{
|
||||
$template->assign_block_vars('ucp_sections', array('U_SECTION' => $sections['Default'] ,
|
||||
$template->assign_block_vars('ucp_sections', array('U_SECTION' => "ucp.$phpEx$SID&" . $sections['Default'] ,
|
||||
'SECTION' => $user->lang[$section_title]));
|
||||
}
|
||||
|
Reference in New Issue
Block a user