plugins/SpecialUserPrefs.php
changeset 670 5e67afb31138
parent 621 68f8a9cc0a18
child 685 17ebe24cdf85
equal deleted inserted replaced
669:9243d01c0716 670:5e67afb31138
   136   userprefs_menu_add('Private messages', 'Drafts', makeUrlNS('Special',     'Private_Messages#folder:drafts'));
   136   userprefs_menu_add('Private messages', 'Drafts', makeUrlNS('Special',     'Private_Messages#folder:drafts'));
   137   userprefs_menu_add('Private messages', 'Archive', makeUrlNS('Special',    'Private_Messages#folder:archive'));
   137   userprefs_menu_add('Private messages', 'Archive', makeUrlNS('Special',    'Private_Messages#folder:archive'));
   138   userprefs_menu_add('Private messages', 'Trash', makeUrlNS('Special',    'Private_Messages#folder:trash'));
   138   userprefs_menu_add('Private messages', 'Trash', makeUrlNS('Special',    'Private_Messages#folder:trash'));
   139   */
   139   */
   140   
   140   
   141   $userprefs_menu_links['Profile/membership'] = makeUrlNS('Special', 'Preferences');
   141   $userprefs_menu_links['usercp_sec_profile'] = makeUrlNS('Special', 'Preferences');
   142   $userprefs_menu_links['Private messages']  = makeUrlNS('Special', 'PrivateMessages');
   142   $userprefs_menu_links['usercp_sec_pm']  = makeUrlNS('Special', 'PrivateMessages');
   143   
   143   
   144   $code = $plugins->setHook('userprefs_jbox');
   144   $code = $plugins->setHook('userprefs_jbox');
   145   foreach ( $code as $cmd )
   145   foreach ( $code as $cmd )
   146   {
   146   {
   147     eval($cmd);
   147     eval($cmd);