- Timestamp:
- Jul 1, 2009, 1:29:42 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r307 r311 26 26 { 27 27 global $xpress_config; 28 add_options_page('XPressME', __('XPressME Settings', 'xpressme'), 8, 'xpressme_config', array(&$xpress_config, 'option_page')); 28 $plugin_url = WP_PLUGIN_URL."/xpressme/"; 29 30 // add_options_page('XPressME', __('XPressME Settings', 'xpressme'), 8, 'xpressme_config', array(&$xpress_config, 'option_page')); 29 31 // * Top Level Menu 30 // add_menu_page(__('XPressME Settings', 'xpressme'), __('XPressME Settings', 'xpressme'), 8, 'xpressme_config', array(&$xpress_config, 'option_page'));31 // add_submenu_page('xpressme_config', __('XPressME Settings', 'xpressme'), __('XPressME Settings', 'xpressme'), 8, 'option_page', array(&$xpress_config, 'option_page'));32 add_menu_page(__('XPressME', 'xpressme'), __('XPressME', 'xpressme'), 8, 'xpressme_config', array(&$xpress_config, 'option_page'), $plugin_url.'/images/menu_icon.png'); 33 add_submenu_page('xpressme_config', __('XPressME Settings', 'xpressme'), __('XPressME Settings', 'xpressme'), 8, 'xpressme_config', array(&$xpress_config, 'option_page')); 32 34 // add_submenu_page('xpressme_config', 'Test Sublevel2', __('to XOOPS Admin', 'xpressme'), 8, 'to_xoops_admin', array(&$xpress_config, 'to_xoops_admin')); 33 35 } … … 106 108 add_action('wp_footer', array(&$xpress_config, 'displayDebugLog')); 107 109 108 109 110 ?> -
trunk/xpressme_integration_kit/xoops_version.php
r308 r311 40 40 41 41 // status 42 $modversion['codename'] = "Bata- 5(r306)";42 $modversion['codename'] = "Bata-6(r311)"; 43 43 44 44 // onInstall, onUpdate, onUninstall … … 92 92 if (@$current_user->user_level > 9) { 93 93 $modversion['sub'][4]['name'] = constant( '_MI_XP2_MENU_XPRESS'); 94 $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; 94 // $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; 95 $modversion['sub'][4]['url'] = "wp-admin/admin.php?page=xpressme_config"; 95 96 } 96 97 }
Note: See TracChangeset
for help on using the changeset viewer.