- Timestamp:
- Mar 9, 2010, 10:47:23 AM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/plugins/xpressme
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r527 r531 41 41 } 42 42 43 function xpress_is_wpmu() {44 global $xoops_config;45 46 return $xoops_config->is_wpmu;47 }48 49 43 function xpress_is_multiblog() { 50 44 global $xoops_config; 51 45 52 46 if (defined('MULTISITE')) return MULTISITE; 53 return $xoops_config->multiblog;47 return false; 54 48 } 55 49 -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r518 r531 213 213 echo '<table class="form-table">'."\n"; 214 214 $upload_title = __('Media Upload Base Path','xpressme'); 215 if( $xoops_config->is_wpmu) $upload_title = $upload_title . '(WPMUis not select)';215 if(xpress_is_multiblog()) $upload_title = $upload_title . '(MultiBlog is not select)'; 216 216 echo $xpress_config->yes_no_radio_option('is_use_xoops_upload_path', 217 217 $upload_title, 218 218 __('Use XOOPS UPLOAD PATH','xpressme'), 219 219 __('USE WordPress BASE_PATH','xpressme'), 220 $xoops_config->is_wpmu220 xpress_is_multiblog() 221 221 ); 222 222 $lock = ($xoops_config->module_url != get_bloginfo('url')); -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
r518 r531 303 303 304 304 global $xoops_config; 305 if( $xoops_config->is_wpmu) $this->is_use_xoops_upload_path = false;305 if(xpress_is_multiblog()) $this->is_use_xoops_upload_path = false; 306 306 307 307 $table = get_wp_prefix() . 'group_role'; … … 584 584 $selected = ''; 585 585 586 if ( $xoops_config->is_wpmu) {587 $forum_list .= '<option value="none"' . $selected . '>' . __('WordPress M Ucannot integrate the comments.', 'xpressme') . "</option>\n";586 if (xpress_is_multiblog()) { 587 $forum_list .= '<option value="none"' . $selected . '>' . __('WordPress MultiBlog cannot integrate the comments.', 'xpressme') . "</option>\n"; 588 588 } else { 589 589 $forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n";
Note: See TracChangeset
for help on using the changeset viewer.