- Timestamp:
- Jul 1, 2009, 1:29:42 PM (16 years ago)
- File:
-
- 1 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 ?>
Note: See TracChangeset
for help on using the changeset viewer.