'enable_cache', 'id' => $blog_id ) ), 'wp-cache' . $blog_id ) . "'>" . __( 'Enable', 'wp-super-cache' ) . ""; } else { echo " 'disable_cache', 'id' => $blog_id ) ), 'wp-cache' . $blog_id ) . "'>" . __( 'Disable', 'wp-super-cache' ) . ""; } } function wp_super_cache_multisite_notice() { if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' ) echo '

' . __( 'Caching has been disabled on this blog on the Network Admin Sites page.', 'wp-super-cache' ) . '

'; } function wp_super_cache_override_on_flag() { global $cache_enabled, $super_cache_enabled; if ( $cache_enabled != true ) return false; if ( get_option( 'wp_super_cache_disabled' ) ) { $cache_enabled = false; $super_cache_enabled = false; define( 'DONOTCACHEPAGE', 1 ); define( "SUBMITDISABLED", 'disabled style="color: #aaa" ' ); if ( is_admin() ) add_action( 'admin_notices', 'wp_super_cache_multisite_notice' ); } } ?>