XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 20, 2009, 5:59:07 PM (16 years ago)
Author:
toemon
Message:

WordPress? MU 用にXPressMEデフォルトテーマを調整
テーマ内で使える xpress_is_wpmu()関数を追加

Location:
trunk/wp-content/themes/xpress_default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/xpress_default/header.php

    r163 r218  
    4141        </div> 
    4242        <div class="xpress-operation-link"> 
    43                 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
     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; ?> 
     46                <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a>  
    4447                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
    4548        </div> 
  • trunk/wp-content/themes/xpress_default/ja.po

    r176 r218  
    1818"Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n" 
    1919"POT-Creation-Date: 2008-08-15 21:16+0900\n" 
    20 "PO-Revision-Date: 2009-04-11 14:12+0900\n" 
     20"PO-Revision-Date: 2009-05-20 17:57+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    335335 
    336336#: header.php:43 
    337 msgid "Mein Page" 
     337msgid "Main Page" 
    338338msgstr "メインページ" 
     339 
     340#: header.php:43 
     341msgid "Blogs Home" 
     342msgstr "ブログのホーム" 
    339343 
    340344#: header.php:44 
Note: See TracChangeset for help on using the changeset viewer.