Changeset 162
- Timestamp:
- Apr 7, 2009, 5:36:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xoops_version.php
r159 r162 82 82 83 83 $modversion['hasMain'] = 1; 84 85 84 86 if(is_object($GLOBALS["xoopsUser"])){ 87 global $current_user; 88 if (@$current_user->user_level > 0) { 85 89 $modversion['sub'][1]['name'] = constant( '_MI_XPRESS_MENU_POST_NEW'); 86 90 $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; … … 89 93 $modversion['sub'][3]['name'] = constant( '_MI_XPRESS_MENU_ADMIN'); 90 94 $modversion['sub'][3]['url'] = "wp-admin/"; 95 } 96 if (@$current_user->user_level > 9) { 91 97 $modversion['sub'][4]['name'] = constant( '_MI_XPRESS_MENU_XPRESS'); 92 98 $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; 99 } 93 100 } 94 101
Note: See TracChangeset
for help on using the changeset viewer.