XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 1, 2009, 1:29:42 PM (15 years ago)
Author:
toemon
Message:

XPressME設定メニューをトップレベルに移動 fixes #168 bump Ver.2.1.0 Bata-6(R311)

Location:
trunk/xpressme_integration_kit/wp-content/plugins/xpressme
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r307 r311  
    2626{ 
    2727        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')); 
    2931// * 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')); 
    3234//      add_submenu_page('xpressme_config', 'Test Sublevel2', __('to XOOPS Admin', 'xpressme'), 8, 'to_xoops_admin', array(&$xpress_config, 'to_xoops_admin')); 
    3335} 
     
    106108add_action('wp_footer', array(&$xpress_config, 'displayDebugLog')); 
    107109 
    108  
    109110?> 
Note: See TracChangeset for help on using the changeset viewer.