XPressME Integration Kit

Trac

Changeset 163 for trunk/wp-content


Ignore:
Timestamp:
Apr 7, 2009, 5:42:07 PM (16 years ago)
Author:
toemon
Message:

bump Ver0.26 #97 xpress_default テーマでマルチユーザモードでユーザー選択しているとき、タイトル部分にアバター表示するようにした。

Location:
trunk/wp-content
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/include/custom_functions.php

    r157 r163  
    389389         
    390390        $output = __('Main', 'xpressme'); 
     391        $output = ''; 
    391392        if (is_category()) 
    392393                $output = sprintf(__('Archive for the ‘%s’ Category', 'xpressme'), single_cat_title('', false)); 
     
    406407                $output = sprintf(__('Search Results of word ‘%s’', 'xpressme'), get_search_query()); 
    407408         
    408         if (!empty($selected_author)) 
    409         $output = sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output; 
    410                  
     409        if (!empty($selected_author)){ 
     410                $selected_id = xpress_selected_author_id(false); 
     411//              $output = get_avatar($selected_id,$size = '32') . sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output; 
     412                if (empty($output)) 
     413                        $output = sprintf(__('Article of %s', 'xpressme'), $selected_author) ; 
     414                else 
     415                        $output = sprintf(__('Article of %s', 'xpressme'), $selected_author) . ' - ' . $output; 
     416        }        
    411417        if ($display)  
    412418                echo $output; 
  • trunk/wp-content/themes/xpress_default/footer.php

    r140 r163  
     1<hr class="xpress-border"></hr> 
     2 
    13<div id="xpress_footer"> 
    24        <div class="xpress_rss"> 
  • trunk/wp-content/themes/xpress_default/header.php

    r64 r163  
    2727<body> 
    2828<div id="xpress_page"> 
     29<div id="xpress-header-bar"> 
     30        <div id="xpress-header-bar-top"> 
     31                <div class="xpress-header-title"> 
     32                        <?php  if (xpress_selected_author_id(false)) echo get_avatar(xpress_selected_author_id(false),$size = '32'); ?> 
     33                        <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     34                </div> 
     35                <div class="xpress-conditional-title"> 
     36                        &nbsp; <?php xpress_conditional_title();?>  
     37                </div> 
     38        </div> 
     39        <div class="xpress-description"> 
     40                <?php bloginfo('description'); ?> 
     41        </div> 
     42        <div class="xpress-operation-link"> 
     43                <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
     44                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
     45        </div> 
     46</div> 
     47<hr class="xpress-border"></hr> 
  • trunk/wp-content/themes/xpress_default/index.php

    r150 r163  
    11<?php get_header(); ?> 
    22 
    3 <div id="xpress-header-bar"> 
    4         <div class="xpress-header-title"> 
    5                 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
    6         </div> 
    7         <div class="xpress-conditional-title"> 
    8                 &nbsp;( <?php xpress_conditional_title();?> ) 
    9         </div> 
    10         <div class="xpress-description"> 
    11                 <?php bloginfo('description'); ?> 
    12         </div> 
    13         <div class="xpress-operation-link"> 
    14                 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
    15                 <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
    16         </div> 
    17 </div> 
    18 <hr class="xpress-border"></hr> 
    193                 
    204<div id="xpress_wrap">                           
     
    8670</div> 
    8771<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?> 
    88 <hr class="xpress-border"></hr> 
     72 
    8973<?php get_footer(); ?> 
  • trunk/wp-content/themes/xpress_default/ja.po

    r158 r163  
    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-06 00:50+0900\n" 
     20"PO-Revision-Date: 2009-04-07 08:50+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    570570msgstr "記事を選択" 
    571571 
     572#: blocks/authors_block_theme.php:26 
     573msgid "All Authors" 
     574msgstr "全ての投稿者" 
     575 
    572576#: blocks/calender_block_theme.php:71 
    573577msgid "Calendar" 
     
    631635msgstr "テーマ選択" 
    632636 
    633 #: blocks/popular_posts_block_theme.php:125 
     637#: blocks/popular_posts_block_theme.php:109 
    634638#: blocks/recent_posts_content_block_theme.php:68 
    635639#: blocks/recent_posts_list_block_theme.php:67 
     
    637641msgstr "タグ:" 
    638642 
    639 #: blocks/popular_posts_block_theme.php:151 
     643#: blocks/popular_posts_block_theme.php:135 
    640644#: blocks/recent_posts_content_block_theme.php:103 
    641645#: blocks/recent_posts_list_block_theme.php:93 
     
    643647msgstr "コメントはありません" 
    644648 
    645 #: blocks/popular_posts_block_theme.php:151 
     649#: blocks/popular_posts_block_theme.php:135 
    646650#: blocks/recent_posts_content_block_theme.php:103 
    647651#: blocks/recent_posts_list_block_theme.php:93 
     
    649653msgstr "1件のコメント" 
    650654 
    651 #: blocks/popular_posts_block_theme.php:151 
     655#: blocks/popular_posts_block_theme.php:135 
    652656#: blocks/recent_posts_content_block_theme.php:103 
    653657#: blocks/recent_posts_list_block_theme.php:93 
     
    655659msgstr "Comments (%)" 
    656660 
    657 #: blocks/popular_posts_block_theme.php:160 
     661#: blocks/popular_posts_block_theme.php:144 
    658662#, php-format 
    659663msgid "views: %d" 
  • trunk/wp-content/themes/xpress_default/single.php

    r150 r163  
    11<?php get_header(); ?> 
    22 
    3 <div id="xpress-header-bar"> 
    4         <div class="xpress-header-title"> 
    5                 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
    6         </div> 
    7         <div class="xpress-conditional-title"> 
    8                 &nbsp;( <?php xpress_conditional_title();?> ) 
    9         </div> 
    10         <div class="xpress-description"> 
    11                 <?php bloginfo('description'); ?> 
    12         </div> 
    13         <div class="xpress-operation-link"> 
    14                 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>  
    15                 <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 
    16         </div> 
    17 </div> 
    18 <hr class="xpress-border"></hr> 
    193                                 
    204<div id="xpress_wrap"> 
     
    8569</div>           
    8670<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?> 
    87 <hr class="xpress-border"></hr> 
     71                 
    8872<?php get_footer(); ?> 
  • trunk/wp-content/themes/xpress_default/style.css

    r150 r163  
    9090        clear: both; 
    9191} 
    92  
    93 #xpress-header-bar .xpress-header-title { 
     92#xpress-header-bar-top { 
     93        height: 32px; 
     94        margin-bottom: 16px; 
     95        } 
     96#xpress-header-bar-top img{ 
     97        vertical-align: top; 
     98} 
     99#xpress-header-bar #xpress-header-bar-top .xpress-header-title { 
    94100        float: left; 
    95         margin-bottom: 20px; 
    96  
    97101        font-size: 16px; 
    98102} 
    99 #xpress-header-bar .xpress-conditional-title { 
     103#xpress-header-bar #xpress-header-bar-top .xpress-conditional-title { 
    100104        font-size: 14px; 
    101105        margin-bottom: 20px; 
Note: See TracChangeset for help on using the changeset viewer.