XPressME Integration Kit

Trac

Changeset 288


Ignore:
Timestamp:
Jun 16, 2009, 7:30:10 PM (15 years ago)
Author:
toemon
Message:

PHP4.4 でインストール後初めてモジュールを開くと syntax error になるバグ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.0/xpressme_integration_kit/wp-content/themes/xpress_default/header.php

    r237 r288  
    4141        </div> 
    4242        <div class="xpress-operation-link"> 
    43                 <?php if (xpress_is_wpmu()) : ?> 
    44                 <a href="<?php echo get_blog_details(1)->siteurl ; ?>/"><?php _e('Main Page','xpress')?></a> |  
    45                 <?php endif; ?> 
     43                <?php 
     44                        if(xpress_is_wpmu()){ 
     45                                $blog_details = get_blog_details(1); 
     46                                $site_url = $blog_details->siteurl; 
     47                                echo '<a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a> | '; 
     48                        } 
     49                ?> 
    4650                <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a>  
    4751                <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
Note: See TracChangeset for help on using the changeset viewer.