- Timestamp:
- Jun 22, 2009, 10:17:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r281 r302 23 23 require_once dirname( __FILE__ ).'/include/functions_for_wp20.php' ; 24 24 25 add_action('admin_menu', array(&$xpress_config, 'add_option_page')); 26 add_action('admin_head', array(&$xpress_config, 'add_admin_head')); 25 function my_plugin_menu() 26 { 27 global $xpress_config; 28 add_options_page('XPressME', __('XPressME Settings', 'xpressme'), 8, 'xpress_config', array(&$xpress_config, 'option_page')); 29 // * Top Level Menu 30 // add_menu_page(__('XPressME Settings', 'xpressme'), __('XPressME Settings', 'xpressme'), 8, 'xpress_config', array(&$xpress_config, 'option_page')); 31 // add_submenu_page('xpress_config', __('XPressME Settings', 'xpressme'), __('XPressME Settings', 'xpressme'), 8, 'option_page', array(&$xpress_config, 'option_page')); 32 // add_submenu_page('xpress_config', 'Test Sublevel2', __('to XOOPS Admin', 'xpressme'), 8, 'to_xoops_admin', array(&$xpress_config, 'to_xoops_admin')); 33 } 34 add_action('admin_menu', 'my_plugin_menu'); 35 27 36 add_filter("upload_dir",array(&$xpress_config, 'xpress_upload_filter'), 1); // Change wp-include/wp_upload_dir() 28 37 if (!$xpress_config->is_save_post_revision){ … … 97 106 add_action('wp_footer', array(&$xpress_config, 'displayDebugLog')); 98 107 108 99 109 ?>
Note: See TracChangeset
for help on using the changeset viewer.