get_col('SELECT blog_id FROM '.$wpdb->blogs.' WHERE site_id='.$current_site->blog_id); foreach($blog_ids as $blog_id){ switch_to_blog($blog_id); if( EM_VERSION > get_option('dbem_version', 0) ){ require_once( dirname(__FILE__).'/../em-install.php'); em_install(); echo "

Upgraded - ".get_bloginfo('blogname')."

"; } restore_current_blog(); } echo "

Done Upgrading

"; }else{ ?>

'. __('Event Related Placeholders','dbem') .''; $locations_placeholders = ''. __('Location Related Placeholders','dbem') .''; $bookings_placeholders = ''. __('Booking Related Placeholders','dbem') .''; $categories_placeholders = ''. __('Category Related Placeholders','dbem') .''; $events_placeholder_tip = " ". sprintf(__('This accepts %s and %s placeholders.','dbem'),$events_placeholders, $locations_placeholders); $locations_placeholder_tip = " ". sprintf(__('This accepts %s placeholders.','dbem'), $locations_placeholders); $categories_placeholder_tip = " ". sprintf(__('This accepts %s placeholders.','dbem'), $categories_placeholders); $bookings_placeholder_tip = " ". sprintf(__('This accepts %s, %s and %s placeholders.','dbem'), $bookings_placeholders, $events_placeholders, $locations_placeholders); $save_button = ' 

'; //Do some multisite checking here for reuse ?>


blog attribute. Requires global tables to be turned on.','dbem'); $global_link_tip2 = __('You must have assigned a %s page in your main blog settings for this to work.'); $options_page_link = get_admin_url($current_site->blog_id, 'edit.php?post_type=event&page=events-manager-options#pages'); ?>http://yoursite.com/events/event/subsite-event-slug/', EM_EVENT_SLUG ); ?>http://yoursite.com/locations/location/subsite-location-slug/', EM_LOCATION_SLUG ); ?>