- Timestamp:
- May 23, 2011, 3:03:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r633 r757 50 50 function my_plugin_menu() 51 51 { 52 global $xpress_config,$ xoops_config;52 global $xpress_config,$modInfo; 53 53 54 54 $plugin_url = WP_PLUGIN_URL."/xpressme/"; … … 172 172 function redirect_xoops_admin() 173 173 { 174 global $ xoops_config,$xpress_config;175 $xoops_admin_url = $ xoops_config->module_url. '/admin/index.php';174 global $modInfo,$xpress_config; 175 $xoops_admin_url = $modInfo->get_module_url() . '/admin/index.php'; 176 176 wp_redirect($xoops_admin_url); 177 177 } … … 179 179 function display_option_page() 180 180 { 181 global $ xoops_config,$xpress_config;182 183 $xoops_admin_url = $ xoops_config->module_url. '/admin/index.php';181 global $modInfo,$xpress_config; 182 183 $xoops_admin_url = $modInfo->get_module_url() . '/admin/index.php'; 184 184 185 185 $do_message =''; … … 221 221 function integration_option_page() 222 222 { 223 global $ xoops_config,$xpress_config,$blog_id;224 225 $xoops_admin_url = $ xoops_config->module_url. '/admin/index.php';223 global $modInfo,$xpress_config,$blog_id; 224 225 $xoops_admin_url = $modInfo->get_module_url() . '/admin/index.php'; 226 226 227 227 $do_message =''; … … 256 256 false 257 257 ); 258 // $lock = ($ xoops_config->module_url!= get_bloginfo('url'));258 // $lock = ($modInfo->get_module_url() != get_bloginfo('url')); 259 259 $lock = false; 260 260 echo $xpress_config->groupe_role_option($lock); … … 273 273 function other_option_page() 274 274 { 275 global $ xoops_config,$xpress_config;276 277 $xoops_admin_url = $ xoops_config->module_url. '/admin/index.php';275 global $modInfo,$xpress_config; 276 277 $xoops_admin_url = $modInfo->get_module_url() . '/admin/index.php'; 278 278 279 279 $do_message ='';
Note: See TracChangeset
for help on using the changeset viewer.