check() ) { // Cache miss, we have to generate: // --------------------- PAGE LEVEL CACHING SUPPORT --------------------- // Add CSS: require_css( 'basic_styles.css', 'rsc_url' ); // the REAL basic styles require_css( 'basic.css', 'rsc_url' ); // Basic styles require_css( 'evo_distrib_2.css', 'rsc_url' ); add_js_for_toolbar(); // Registers all the javascripts needed by the toolbar menu headers_content_mightcache( 'text/html' ); // In most situations, you do NOT want to cache dynamic content! ?>
load_all();
if( $pagenow == 'index.php' || count( $BlogCache->cache ) == 0 )
{ // This page is actually included by the index.html page OR there are no blogs
?>
'.T_('b2evolution is installed and ready but you haven\'t created any content collection on this system yet.').'
'; if( is_logged_in() && $current_User->check_perm( 'blogs', 'create' ) ) { // Display this link only for users who can create blog echo ''.T_( 'Create a first collection' ).' »
'; } } else { echo ''.T_('You have successfully installed b2evolution.').'
'; echo ''.T_('You haven\'t set a default collection yet. Thus, you see this default page.').'
'; if( is_logged_in() && $current_User->check_perm( 'blogs', 'create' ) ) { // Display this link only for users who can create blog ?>