- Timestamp:
- Mar 10, 2010, 4:47:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r532 r534 96 96 add_action('profile_update', 'user_sync_to_xoops'); 97 97 add_action('user_register', 'user_sync_to_xoops'); 98 add_action('delete_blog', 'blog_group_role_delete',10,2); //at multi blog delete 99 add_action('wpmu_new_blog', 'blog_group_role_add',10,2); //at multi blog delete 100 98 101 //require_once('../include/custom_functions.php'); 99 102 … … 141 144 add_action('wpmu_new_blog','my_new_blog_template',0,1); 142 145 143 144 146 function redirect_xoops_admin() 145 147 { … … 193 195 function integration_option_page() 194 196 { 195 global $xoops_config,$xpress_config ;197 global $xoops_config,$xpress_config,$blog_id; 196 198 197 199 $xoops_admin_url = $xoops_config->module_url . '/admin/index.php'; … … 214 216 } 215 217 216 $xpress_config->GroupeRoleCheck( );218 $xpress_config->GroupeRoleCheck($blog_id); 217 219 echo '<div class="wrap">'."\n"; 218 220 echo '<div id="icon-options-general" class="icon32"><br /></div>'."\n"; … … 229 231 xpress_is_multiblog() 230 232 ); 231 $lock = ($xoops_config->module_url != get_bloginfo('url')); 233 // $lock = ($xoops_config->module_url != get_bloginfo('url')); 234 $lock = false; 232 235 echo $xpress_config->groupe_role_option($lock); 233 236 echo $xpress_config->d3forum_option($do_message);
Note: See TracChangeset
for help on using the changeset viewer.