diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2003-03-04 17:52:50 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2003-03-04 17:52:50 +0000 |
commit | fd629c7a9ff83de74635b403de31c42c65860ab1 (patch) | |
tree | 734b05a784fcf87500fafb2f9d9a3b6a3eeca545 /phpBB/includes/ucp | |
parent | c5b9e64505ee45e416a77bb988101c340be0dfa9 (diff) | |
download | forums-fd629c7a9ff83de74635b403de31c42c65860ab1.tar forums-fd629c7a9ff83de74635b403de31c42c65860ab1.tar.gz forums-fd629c7a9ff83de74635b403de31c42c65860ab1.tar.bz2 forums-fd629c7a9ff83de74635b403de31c42c65860ab1.tar.xz forums-fd629c7a9ff83de74635b403de31c42c65860ab1.zip |
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
Diffstat (limited to 'phpBB/includes/ucp')
-rwxr-xr-x | phpBB/includes/ucp/usercp_modules.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/phpBB/includes/ucp/usercp_modules.php b/phpBB/includes/ucp/usercp_modules.php index 0146cb1d4e..6994e7de59 100755 --- a/phpBB/includes/ucp/usercp_modules.php +++ b/phpBB/includes/ucp/usercp_modules.php @@ -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])); } |