Changeset 757 for branches/Ver3.0/xpressme_integration_kit/wp-content
- Timestamp:
- May 23, 2011, 3:03:57 PM (13 years ago)
- Location:
- branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r688 r757 40 40 41 41 function xpress_is_multiblog() { 42 global $xoops_config;43 44 42 if (function_exists('is_multisite') && is_multisite()) return true; 45 43 return false; … … 56 54 57 55 function xpress_is_wp_version($operator='==',$comp_version){ 58 global $ xoops_config;59 return version_compare($ xoops_config->wp_version, $comp_version, $operator);56 global $modInfo; 57 return version_compare($modInfo->get_wp_version(), $comp_version, $operator); 60 58 } 61 59 … … 184 182 function xpress_credit($args ='') 185 183 { 186 global $wp_version , $xoops_config; 187 if ($xoops_config->is_wpmu) { 188 global $wpmu_version; 189 } 184 global $wp_version , $modInfo; 190 185 191 186 $defaults = array( … … 197 192 extract( $r ); 198 193 199 $xpress_version = $ xoops_config->module_version;200 $xpress_codename = $ xoops_config->module_codename;194 $xpress_version = $modInfo->get_module_version(); 195 $xpress_codename = $modInfo->get_module_codename(); 201 196 if ($no_link){ 202 if ($xoops_config->is_wpmu) {203 $output = 'XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename);204 $output .= '(included WordPress MU ' . $wpmu_version. ')';197 $output = 'XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename); 198 if (strstr($wp_version,'ME')){ 199 $output .= '(included WordPress ' . $wp_version . ')'; 205 200 } else { 206 $output = 'XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename); 207 if (strstr($wp_version,'ME')){ 208 $output .= '(included WordPress ' . $wp_version . ')'; 209 } else { 210 $output .= '(included WordPress ' . $wp_version . ')'; 211 } 212 } 213 } else { 214 if ($xoops_config->is_wpmu) { 215 $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressMU Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 216 $output .= '(included <a href="http://mu.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress MU ' . $wpmu_version . '</a>)'; 201 $output .= '(included WordPress ' . $wp_version . ')'; 202 } 203 } else { 204 $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 205 if (strstr($wp_version,'ME')){ 206 $output .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 217 207 } else { 218 $output = '<a href="http://ja.xpressme.info"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xpress_version,$xpress_codename) .'</a>'; 219 if (strstr($wp_version,'ME')){ 220 $output .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 221 } else { 222 $output .= '(included <a href="http://wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 223 } 208 $output .= '(included <a href="http://wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)'; 224 209 } 225 210 } … … 664 649 function xpress_post_new_link($args ='') 665 650 { 666 global $ xoops_config;651 global $modInfo; 667 652 668 653 $defaults = array( … … 846 831 847 832 function xpress_get_calendar($args = '') { 848 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts , $ xoops_config;833 global $wpdb, $m, $monthnum, $year, $wp_locale, $posts , $modInfo; 849 834 850 835 $defaults = array( … … 1035 1020 1036 1021 function xpress_create_new_blog_link($args ='' ) { 1037 global $ xoops_config;1022 global $modInfo; 1038 1023 1039 1024 global $current_user; … … 1058 1043 1059 1044 function xpress_create_new_blog() { 1060 global $ xoops_config;1045 global $modInfo; 1061 1046 global $current_user; 1062 1047 $ret = array(); … … 1070 1055 case 'all': 1071 1056 case 'blog': 1072 $ret['url'] = $ xoops_config->module_url. '/wp-signup.php';1057 $ret['url'] = $modInfo->get_module_url() . '/wp-signup.php'; 1073 1058 $ret['menu_url'] = 'wp-signup.php'; 1074 1059 $ret['title'] = __('Create New Blog','xpressme'); … … 1083 1068 } 1084 1069 function xpress_primary_blog_link() { 1085 global $ xoops_config;1070 global $modInfo; 1086 1071 global $current_user; 1087 1072 global $blog_id; -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php
r616 r757 524 524 // The content is reflected in the D3Forum comment when there is a change in the WordPress comment. 525 525 function wp_comment_sync_to_d3forum($comment_ID = 0,$sync_mode){ 526 global $xpress_config,$xoops_db,$ xoops_config,$wpdb,$blog_id;526 global $xpress_config,$xoops_db,$modInfo,$wpdb,$blog_id; 527 527 528 528 if (empty($blog_id)) $blog_id =1; 529 529 530 530 if (!is_d3forum_setting()) die('The setting of the D3Forum comment integration is wrong. '); 531 $mydirname = $ xoops_config->module_name;531 $mydirname = $modInfo->get_module_dirname(); 532 532 533 533 $d3f_forum_id = $xpress_config->d3forum_forum_id; -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/functions_for_wp_old.php
r718 r757 1 1 <?php 2 2 // wp_login override for wp2.3 under 3 if ( !function_exists('wp_login') && version_compare($ xoops_config->wp_version,'2.3', '<')) :3 if ( !function_exists('wp_login') && version_compare($modInfo->get_wp_version(),'2.3', '<')) : 4 4 function wp_login($username, $password, $already_md5 = false) { 5 5 global $wpdb, $error; … … 43 43 44 44 // Under WP2.1 45 if (version_compare($ xoops_config->wp_version,'2.1', '<')) :45 if (version_compare($modInfo->get_wp_version(),'2.1', '<')) : 46 46 // ADD WP 2.1.0 47 47 function the_modified_date($d = '') { … … 60 60 61 61 // Under WP2.2 62 if (version_compare($ xoops_config->wp_version,'2.2', '<')):62 if (version_compare($modInfo->get_wp_version(),'2.2', '<')): 63 63 // Added WP2.2 wp_parse_args() 64 64 function wp_parse_args( $args, $defaults = '' ) { … … 95 95 96 96 // Under WP2.2.1 97 if (version_compare($ xoops_config->wp_version,'2.2.1', '<')) :97 if (version_compare($modInfo->get_wp_version(),'2.2.1', '<')) : 98 98 // Added WP2.2.1 wp_parse_str() 99 99 function wp_parse_str( $string, &$array ) { … … 107 107 108 108 // Under WP2.3 109 if (version_compare($ xoops_config->wp_version,'2.3', '<')) :109 if (version_compare($modInfo->get_wp_version(),'2.3', '<')) : 110 110 if ( !function_exists('wp_sanitize_redirect') ) : 111 111 /** … … 167 167 168 168 // Under WP2.5 169 if (version_compare($ xoops_config->wp_version,'2.5', '<')) :169 if (version_compare($modInfo->get_wp_version(),'2.5', '<')) : 170 170 // Added WP2.5 absint() 171 171 function absint( $maybeint ) { … … 192 192 193 193 // Under WP2.7 194 if (version_compare($ xoops_config->wp_version,'2.6', '<')) :194 if (version_compare($modInfo->get_wp_version(),'2.6', '<')) : 195 195 /** 196 196 * Guess the URL for the site. … … 215 215 216 216 // Under WP2.7 217 if (version_compare($ xoops_config->wp_version,'2.7', '<')) :217 if (version_compare($modInfo->get_wp_version(),'2.7', '<')) : 218 218 // Added WP2.7 separate_comments() 219 219 function &separate_comments(&$comments) { … … 346 346 347 347 // Under WP2.8 348 if (version_compare($ xoops_config->wp_version,'2.8', '<')) :348 if (version_compare($modInfo->get_wp_version(),'2.8', '<')) : 349 349 function _wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { 350 350 $string = (string) $string; -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
r662 r757 37 37 function Notification_triggerEvent($force_reserve = false,$category, $item_id, $event, $extra_tags=array(), $user_list=array(), $omit_user_id=null) 38 38 { 39 global $xoops_db,$ xoops_config;39 global $xoops_db,$modInfo; 40 40 global $xoopsModule,$xoopsUser,$xoopsUserIsAdmin; 41 41 … … 52 52 $_SERVER['REQUEST_METHOD'] = 'POST'; 53 53 } 54 // set_error_handler("xpress_error_handler");55 // if ($xoops_config->is_impress != true){ // impress cms is error56 // if ( !defined("XOOPS_MAINFILE_INCLUDED")) {57 // require_once $xoops_config->xoops_mainfile_path; // load XOOPS System58 // }59 // }60 54 if (!$force_reserve && defined("XOOPS_MAINFILE_INCLUDED") ) { 61 55 if ( defined("XPRESS_EVENT_DEBUG")) xpress_debug_message($message = 'call $notification_handler->triggerEvent'); … … 85 79 function do_CommentNotifications($commentID, $comment_post_ID) 86 80 { 87 global $wpdb, $ xoops_config, $xoops_db;81 global $wpdb, $modInfo , $xoops_db; 88 82 89 83 $table_term_relationships = $wpdb->term_relationships; … … 139 133 function do_PostNotifications($post_id,$not_event) 140 134 { 141 global $wpdb, $ xoops_config, $xoops_db;135 global $wpdb, $modInfo, $xoops_db; 142 136 143 137 // $not_event: newpost,editpost ; $commentID, $comment_post_ID) -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
r348 r757 160 160 function wp_check_password($password, $hash, $user_id = '') { 161 161 global $wp_hasher; 162 global $ xoops_config,$xoops_db;162 global $modInfo,$wpConfigInfo,$xoops_db; 163 163 164 164 // For attestation when password has been sent as hash value. (When having logged it in from Xoops and ImpressCMS) … … 174 174 175 175 // Password authentication for ImpressCMS 176 if($ xoops_config->is_impress&& function_exists('hash')){177 $mainSalt = $ xoops_config->xoops_db_salt;176 if($modInfo->is_impress_cms() && function_exists('hash')){ 177 $mainSalt = $wpConfigInfo->get_db_salt(); 178 178 // get user salt 179 $xpress_user_db = $ xoops_config->module_db_prefix. 'users';180 $xoops_user_db = $ xoops_config->xoops_db_prefix . '_users';179 $xpress_user_db = $wpConfigInfo->get_db_prefix() . 'users'; 180 $xoops_user_db = $wpConfigInfo->get_xoops_db_prefix() . 'users'; 181 181 $login_name = $xoops_db->get_var("SELECT user_login FROM $xpress_user_db WHERE ID = $user_id"); 182 182 $user_salt = $xoops_db->get_var("SELECT salt FROM $xoops_user_db WHERE uname = '$login_name'"); … … 236 236 if ( !function_exists('wp_redirect') ) : 237 237 function wp_redirect($location, $status = 302) { 238 global $is_IIS,$ xoops_config,$action;238 global $is_IIS,$modInfo,$action; 239 239 240 if ($location == 'wp-login.php?loggedout=true') $location = $ xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at wp logout241 if ($location == 'wp-login.php?action=register') $location = $ xoops_config->xoops_url."/register.php"; //wp-register to xoops register242 if ($action == 'logout') $location = $ xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at comment logout240 if ($location == 'wp-login.php?loggedout=true') $location = $modInfo->get_xoops_url().'/user.php?op=logout'; //xoops logout at wp logout 241 if ($location == 'wp-login.php?action=register') $location = $modInfo->get_xoops_url()."/register.php"; //wp-register to xoops register 242 if ($action == 'logout') $location = $modInfo->get_xoops_url().'/user.php?op=logout'; //xoops logout at comment logout 243 243 244 244 $location = apply_filters('wp_redirect', $location, $status); -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r658 r757 1 1 <?php 2 global $ xoops_config;3 if (!is_object($ xoops_config)){ // is call other modules4 require_once dirname(dirname(dirname(dirname(dirname( __FILE__ ))))) .'/class/ config_from_xoops.class.php' ;5 $ xoops_config= new ConfigFromXoops;2 global $modInfo; 3 if (!is_object($modInfo)){ // is call other modules 4 require_once dirname(dirname(dirname(dirname(dirname( __FILE__ ))))) .'/class/modInfoClass.php' ; 5 $modInfo = new ConfigFromXoops; 6 6 } 7 7 … … 14 14 global $xoops_db; 15 15 16 $modules_db = get_xoops_prefix() . 'modules'; 16 $module_handler =& xoops_gethandler('module'); 17 $module =& $module_handler->getByDirname($mydirname); 18 $moduleID = $module->getVar('mid'); 19 17 20 $config_db = get_xoops_prefix() . 'config'; 18 19 $moduleID = $xoops_db->get_var("SELECT mid FROM $modules_db WHERE dirname = '$module_dir'");20 21 if (empty($moduleID)) return null; 21 22 $conf_value = $xoops_db->get_var("SELECT conf_value FROM $config_db WHERE (conf_modid = $moduleID) AND (conf_name = '$config_name')"); … … 46 47 function get_xoops_prefix() 47 48 { 48 global $ xoops_config;49 $ret = $xoops_config->xoops_db_prefix . '_';49 global $modInfo; 50 $ret = $modInfo->get_xoops_db_prefix(); 50 51 return $ret; 51 52 } … … 53 54 function get_xoops_trust_path() 54 55 { 55 global $ xoops_config;56 $ret =$ xoops_config->xoops_trust_path;56 global $modInfo; 57 $ret =$modInfo->get_xoops_trust_path(); 57 58 return $ret; 58 59 } … … 60 61 function get_xoops_root_path() 61 62 { 62 global $ xoops_config;63 $ret =$ xoops_config->xoops_root_path;63 global $modInfo; 64 $ret =$modInfo->get_xoops_root_path(); 64 65 return $ret; 65 66 } … … 72 73 function get_xoops_url() 73 74 { 74 global $ xoops_config;75 $ret =$ xoops_config->xoops_url;75 global $modInfo; 76 $ret =$modInfo->get_xoops_url() ; 76 77 return $ret; 77 78 } … … 79 80 function get_xpress_url() 80 81 { 81 global $ xoops_config;82 $ret =$ xoops_config->module_url;82 global $modInfo; 83 $ret =$modInfo->get_module_url() ; 83 84 return $ret; 84 85 } … … 86 87 function get_xpress_modid() 87 88 { 88 global $xoops_db; 89 90 $modulename = get_xpress_dir_name(); 91 $sql = "SELECT mid FROM " . get_xoops_prefix() . "modules WHERE dirname = '$modulename'"; 92 $mid = $xoops_db->get_var($sql); 93 return $mid; 89 global $modInfo; 90 91 $modulename = get_xpress_dir_name(); 92 $mid = $modInfo->get_moduleID_ByDirname($modulename); 93 return $mid; 94 94 } 95 95 … … 369 369 function get_block_file_path($mydirname,$file_name) 370 370 { 371 global $ xoops_config, $xpress_config;372 $mydirpath = $ xoops_config->xoops_root_path. '/modules/' . $mydirname;371 global $modInfo, $xpress_config; 372 $mydirpath = $modInfo->get_xoops_root_path() . '/modules/' . $mydirname; 373 373 $select_theme = xpress_ThemeTemplate(get_xpress_theme_name($mydirname)); 374 374 $xpress_default_theme = 'xpress_default'; -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_upgrade.php
r748 r757 6 6 7 7 function list_xpress_update( $update=null ) { 8 global $ xoops_config,$xpress_config;9 10 $xpress_version = $ xoops_config->module_version . $xoops_config->module_codename;8 global $modInfo,$xpress_config; 9 10 $xpress_version = $modInfo->get_module_full_version(); 11 11 $lang = WPLANG; 12 12 … … 139 139 140 140 function do_xpress_upgrade( $develop = false,$reinstall = false ) { 141 global $wp_filesystem,$ xoops_config;141 global $wp_filesystem,$modInfo; 142 142 143 143 if ( $reinstall ) … … 191 191 show_message( __('Please update the module. ', 'xpressme') ); 192 192 193 $update_url = $ xoops_config->module_url.'/admin/update.php';193 $update_url = $modInfo->get_module_url() .'/admin/update.php'; 194 194 show_message( '<strong>' . __('Actions:', 'xpressme') . '</strong> <a href="' . esc_url( $update_url ) . '">' . __('Go to Module Update', 'xpressme') . '</a>' ); 195 195 } … … 216 216 217 217 function xp_remote_get($url, $headers = ""){ 218 global $ xoops_config;219 $xpress_version = $ xoops_config->module_version . $xoops_config->module_codename;220 221 require_once( $ xoops_config->module_path. '/wp-includes/class-snoopy.php');218 global $modInfo; 219 $xpress_version = $modInfo->get_module_full_version(); 220 221 require_once( $modInfo->get_module_path() . '/wp-includes/class-snoopy.php'); 222 222 223 223 // Snoopy is an HTTP client in PHP … … 263 263 function get_xpress_latest_version($check_url=null){ 264 264 global $wp_version, $wpdb, $wp_local_package; 265 global $ xoops_config;266 267 $xpress_version = $ xoops_config->module_version . $xoops_config->module_codename;265 global $modInfo; 266 267 $xpress_version = $modInfo->get_module_full_version(); 268 268 $lang = WPLANG; 269 269 if(is_null($check_url)) … … 362 362 363 363 global $wp_version, $wpdb, $wp_local_package; 364 global $ xoops_config;364 global $modInfo; 365 365 366 366 $php_query_string = $_SERVER['QUERY_STRING']; 367 $xpress_version = $ xoops_config->module_version . $xoops_config->module_codename;367 $xpress_version = $modInfo->get_module_full_version(); 368 368 369 369 $latest = get_option('xpressme_latest_version'); … … 387 387 $latest_version=$latest['latest_version']; 388 388 $check_time=$latest['check_time']; 389 $upgrade_page = $ xoops_config->module_url. "/wp-admin/admin.php?page=upgrade_page";389 $upgrade_page = $modInfo->get_module_url() . "/wp-admin/admin.php?page=upgrade_page"; 390 390 391 391 if (version_compare($xpress_version, $latest_version, '<')) { -
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 =''; -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
r639 r757 55 55 function setDefault() 56 56 { 57 global $ xoops_config;57 global $modInfo; 58 58 $this->is_use_xoops_upload_path = true; 59 59 $this->is_use_xoops_upload_path = true; … … 117 117 function SettingValueWrite($mode) 118 118 { 119 global $ xoops_config;119 global $modInfo; 120 120 121 121 $write_options = array ( … … 442 442 } // end of loop 443 443 444 global $ xoops_config;444 global $modInfo; 445 445 446 446 $table = get_wp_prefix() . 'group_role'; … … 788 788 789 789 function d3forum_option($do_message = ''){ 790 global $xoops_db,$ xoops_config;790 global $xoops_db,$modInfo; 791 791 792 792 $multi_blog_use_d3forum = true; … … 809 809 // Form making for forum selection of D3forum 810 810 $modules_table = get_xoops_prefix() .'modules'; 811 $sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1";811 $sql = "SELECT name,isactive,dirname FROM $modules_table WHERE isactive = 1"; 812 812 $modules = $xoops_db->get_results($sql); 813 813 foreach ($modules as $module) { … … 1051 1051 function xpress_upload_filter($uploads) 1052 1052 { 1053 global $ xoops_config;1053 global $modInfo; 1054 1054 global $blog_id,$blogname; 1055 1055 1056 1056 if ($this->is_use_xoops_upload_path){ 1057 1057 $wordpress_dir = ABSPATH ; 1058 $xoops_dir = $ xoops_config->xoops_upload_path. '/';1058 $xoops_dir = $modInfo->get_xoops_upload_path() . '/'; 1059 1059 if (xpress_is_multiblog() && $blog_id <> BLOG_ID_CURRENT_SITE){ 1060 $wordpress_base_url = $ xoops_config->module_url;1060 $wordpress_base_url = $modInfo->get_module_url(); 1061 1061 } else { 1062 1062 $wordpress_base_url = get_option( 'siteurl' ); 1063 1063 } 1064 $xoops_upload_url = $ xoops_config->xoops_upload_url;1064 $xoops_upload_url = $modInfo->get_xoops_upload_url(); 1065 1065 // @rmdir($uploads[path]); //remove wordpress side uploads_dir 1066 1066 -
branches/Ver3.0/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_widget_class.php
r670 r757 21 21 */ 22 22 function widget($args, $instance){ 23 global $xpress_config,$ xoops_config;23 global $xpress_config,$modInfo; 24 24 global $current_user; 25 25 … … 129 129 */ 130 130 function form($instance){ 131 global $xpress_config,$ xoops_config;131 global $xpress_config,$modInfo; 132 132 133 133 if (xpress_is_wp_version('<','2.1') ){
Note: See TracChangeset
for help on using the changeset viewer.