XPressME Integration Kit

Trac

Changeset 161 for trunk/wp-content


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

#95 マルチユーザモード時の投稿者リストに「すべての投稿者」を追加

File:
1 edited

Legend:

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

    r126 r161  
    2323                $list_authors = ob_get_contents() ; 
    2424        ob_end_clean(); 
    25         $output = "<ul>\n" . $list_authors . "\n</ul>\n"; 
     25        if (xpress_is_multi_user()){ 
     26                $all_link = '<li>' . '<a href="' . get_bloginfo('url'). '" title="' . __('All Authors','xpress') . '">' .__('All Authors','xpress') . '</a></li>'; 
     27        } else { 
     28                $all_link = '';  
     29        } 
     30        $output = "<ul>\n" . $all_link . $list_authors . "\n</ul>\n"; 
    2631         
    2732        $block['authors'] = $output; 
Note: See TracChangeset for help on using the changeset viewer.