XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 31, 2009, 12:22:47 PM (15 years ago)
Author:
toemon
Message:

デフォルトテーマxpress_defaultの調整

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

Legend:

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

    r123 r143  
    2121 
    2222<?php if ($comments) : ?> 
    23         <h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3> 
     23        <h2 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h2> 
    2424        <?php if (function_exists('wp_list_comments')) : ?> 
    2525                <ol class="xpress_commentlist"> 
     
    7373<?php if ('open' == $post->comment_status) : ?> 
    7474        <div id="respond"> 
    75                 <h3><?php _e('Leave a Reply', 'xpress'); ?></h3> 
     75                <h2><?php _e('Leave a Reply', 'xpress'); ?></h2> 
    7676                <?php if ( function_exists('cancel_comment_reply_link') ): ?> 
    7777                        <div class="cancel-comment-reply"> 
  • trunk/wp-content/themes/xpress_default/index.php

    r141 r143  
    99?>                               
    1010 
    11                 <div class="xpress-header-bar"> 
     11                <div id="xpress-header-bar"> 
    1212                        <div class="xpress-header-title"> 
    1313                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     
    3030                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 
    3131                                <?php else : ?> 
    32                                         <div class="xpress-next-posts-link"><?php next_posts_link(__('&laquo; Older Entries', 'xpress')) ?></div> 
    33                                         <div class="xpress-previous-posts-link">&nbsp;<?php previous_posts_link(__('Newer Entries &raquo;', 'xpress')) ?></div> 
     32                                        <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div> 
     33                                        <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div> 
    3434                                <?php endif; ?> 
    3535                        </div> 
     
    4141                                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
    4242                                                <div class ="xpress-post-title"> 
    43                                                         <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 
     43                                                        <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 
    4444                                                </div> 
    4545                                        </div> 
     
    6969                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 
    7070                                <?php else : ?> 
    71                                         <div class="xpress-next-posts-link"><?php next_posts_link(__('&laquo; Older Entries', 'xpress')) ?></div> 
    72                                         <div class="xpress-previous-posts-link">&nbsp;<?php previous_posts_link(__('Newer Entries &raquo;', 'xpress')) ?></div> 
     71                                        <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div> 
     72                                        <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div> 
    7373                                <?php endif; ?> 
    7474                        </div> 
  • trunk/wp-content/themes/xpress_default/ja.po

    r141 r143  
    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-03-29 12:52+0900\n" 
     20"PO-Revision-Date: 2009-03-30 14:56+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    621621#, php-format 
    622622msgid "%1$s %2$s|Used as a calendar caption" 
    623 msgstr "" 
     623msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます" 
    624624 
    625625#: xpress_default/blocks/calender_block_theme.php:104 
     
    627627#, php-format 
    628628msgid "View posts for %1$s %2$s" 
    629 msgstr "" 
     629msgstr "%2$s 年 %1$s の投稿を表示" 
    630630 
    631631#: xpress_default/blocks/enhanced_block_theme.php:11 
  • trunk/wp-content/themes/xpress_default/single.php

    r141 r143  
    99        }        
    1010?> 
    11                 <div class="xpress-header-bar"> 
     11                <div id="xpress-header-bar"> 
    1212                        <div class="xpress-header-title"> 
    1313                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     
    3434 
    3535                <div class="xpress-post" id="post-<?php the_ID(); ?>"> 
    36                                         <div class ="xpress-post-header"> 
    37                                                 <?php if (function_exists('hotDates')) { hotDates(); }?> 
    38                                                 <div class ="xpress-post-title"> 
    39                                                         <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 
    40                                                 </div> 
    41                                         </div> 
     36                        <div class ="xpress-post-header"> 
     37                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
     38                                <div class ="xpress-post-title"> 
     39                                        <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 
     40                                </div> 
     41                        </div> 
    4242 
    4343                        <div class="xpress-post-entry"> 
    4444                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?> 
    45  
    46                                 <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 
    47                                 <?php echo '<p class="postmeta">' ;/* _e('Posted:', 'xpress'); echo '&nbsp;'; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'xpress'), get_the_category_list(' &bull; ') . '</p>'); ?> 
    48                                  
    49                                 <p class="postmetadata alt"> 
    50                                         <small> 
    51                                                 <?php /* This is commented, because it requires a little adjusting sometimes. 
    52                                                         You'll need to download this plugin, and follow the instructions: 
    53                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 
    54                                                         /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'xpress'), time_since($entry_datetime)); */ ?> 
    55                                                 <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'xpress'), $time_since, get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(' &bull; ')); ?> 
    56                                                 <?php if (function_exists('get_post_comments_feed_link')) : ?> 
    57                                                 <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?>  
    58                         <?php else : ?> 
    59                                                 <?php _e('You can follow any responses to this entry through the', 'xpress'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'xpress'); ?> 
    60                                                 <?php endif; ?> 
    61  
    62                                                 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 
    63                                                         // Both Comments and Pings are open ?> 
    64                                                         <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 
    65  
    66                                                 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 
    67                                                         // Only Pings are Open ?> 
    68                                                         <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 
    69  
    70                                                 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 
    71                                                         // Comments are open, Pings are not ?> 
    72                                                         <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?> 
    73  
    74                                                 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 
    75                                                         // Neither Comments, nor Pings are open ?> 
    76                                                         <?php _e('Both comments and pings are currently closed.', 'xpress'); ?> 
    77  
    78                                                 <?php } edit_post_link(__('Edit this entry', 'xpress'),'','.'); ?> 
    79  
    80                                         </small> 
    81                                 </p> 
    82  
     45                        </div> 
     46                        <div class ="xpress-post-footer"> 
     47                                <?php 
     48                                        the_time('Y/m/d l'); 
     49                                        echo ' - '; 
     50                                        the_author_posts_link(); 
     51                                        echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';  
     52                                        echo ' | '; 
     53                                        // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); 
     54                                        printf(__('Posted in %s', 'xpress'), get_the_category_list(', ')); 
     55                                        echo ' | '; 
     56                                        edit_post_link(__('Edit', 'xpress'), '', ' | '); 
     57                                        comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') ); 
     58                                ?> 
     59                        </div> 
     60                        <div class ="xpress-comments-block"> 
     61                                <?php comments_template(); ?>    
    8362                        </div> 
    8463                </div> 
    8564 
    86         <?php comments_template(); ?> 
     65         
    8766 
    8867        <?php endwhile; else: ?> 
  • trunk/wp-content/themes/xpress_default/style.css

    r141 r143  
    33Theme URI: http://trac.xpressme.info/XPressME 
    44Description: The theme for XPressME series 
    5 Version: 2.0 
    6 Author: toemon 
    7 Author URI: http://www.toemon.com 
    8 Tags: XPressME,toemon 
    9  
    105*/ 
    11  
    12 .xpress-header-title { 
     6#xpress_page { 
     7        padding: 0; 
     8        width: 100%; 
     9        margin: 0; 
     10        text-align:left; 
     11        } 
     12         
     13#xpress_wrap { 
     14        float: left; 
     15        width: 100%; 
     16        margin-right: -205px; 
     17        } 
     18         
     19#xpress_content { 
     20        font-size: 1.0em; 
     21        padding: 0px; 
     22        } 
     23         
     24#xpress_content.narrowcolumn { 
     25        margin-right: 205px; 
     26        } 
     27         
     28#xpress-header-bar { 
     29        clear: both; 
     30} 
     31 
     32#xpress-header-bar .xpress-header-title { 
    1333        float: left; 
    1434        margin-bottom: 20px; 
     
    1636        font-size: 16px; 
    1737} 
    18 .xpress-conditional-title { 
     38#xpress-header-bar .xpress-conditional-title { 
    1939        font-size: 14px; 
    2040        margin-bottom: 20px; 
     
    2242} 
    2343 
    24 .xpress-description { 
     44#xpress-header-bar .xpress-description { 
    2545        clear: both; 
    2646        font-size: 12px; 
     
    2848} 
    2949 
    30 .xpress-operation-link { 
     50#xpress-header-bar .xpress-operation-link { 
    3151        font-size: 12px; 
    3252        text-align: right; 
     
    3555.xpress-border { 
    3656        clear: both; 
    37 display: block; 
    38 } 
     57        display: block; 
     58        } 
    3959 
    4060.xpress-navi-bar { 
     
    4969        text-align: center; 
    5070} 
    51 .xpress-next-posts-link { 
    52         float: left; 
    53  
    54 } 
    55 .xpress-previous-posts-link{ 
    56         text-align: right; 
    57 } 
    58  
    59 .xpress-post-entry { 
     71 
     72.xpress-post { 
     73        width: 100%; 
     74        margin: 0px; 
     75        padding-top:20px; 
     76        clear: both; 
     77        } 
     78                 
     79.xpress-post .xpress-post-header{ 
     80        text-align: left; 
     81        font-size: 0.8em; 
     82 
     83        } 
     84 
     85.xpress-post .xpress-post-entry { 
    6086        clear: both; 
    6187        padding-left: 20px; 
    6288 
    6389} 
    64 .xpress-post-footer{ 
     90.xpress-post .xpress-post-footer{ 
    6591        text-align: right; 
    6692        font-size: 0.8em; 
    67  
    68 } 
     93} 
     94.xpress-comments-block { 
     95        margin: 5px 0 10px; 
     96        padding-top:10px; 
     97        padding-left:20px; 
     98        padding-right:20px; 
     99        padding-bottom:30px; 
     100        clear: both; 
     101        } 
     102h2.xpress_comments { 
     103        padding: 0; 
     104        margin: 40px auto 20px ; 
     105        } 
     106 
     107#xpress_footer { 
     108        padding-top: 0px; 
     109        margin: 0 auto; 
     110        width: 100%; 
     111        clear: both; 
     112        } 
     113#xpress_footer .xpress_rss { 
     114        margin: 0; 
     115        padding: 0; 
     116        text-align: right; 
     117        } 
     118 
     119#xpress_footer .xpress_credit { 
     120        margin: 0; 
     121        padding: 0; 
     122        text-align: center; 
     123        font-size: 0.9em; 
     124        color: #BDBDBD; 
     125        } 
     126         
     127#xpress_footer .xpress_credit a { 
     128        font-size: 0.9em; 
     129        color: #BDBDBD; 
     130        } 
     131         
    69132/* Begin Typography & Colors */ 
    70133 
    71 .xpress_content { 
    72         font-size: 1.0em; 
    73         } 
    74134 
    75135.widecolumn .entry { 
     
    117177 
    118178#xpress_page h3 { 
    119         font-size: 1.3em; 
     179        font-size: 1.6em; 
    120180        } 
    121181         
     
    207267} 
    208268 
    209 #xpress_page { 
    210         padding: 0; 
    211         width: 100%; 
    212         margin: 0; 
    213         text-align:left; 
    214         } 
    215269 
    216270#xpress_header { 
     
    220274        } 
    221275 
    222 #xpress_wrap { 
    223         float: left; 
    224         width: 100%; 
    225         margin-right: -205px; 
    226         } 
    227  
    228 #xpress_content { 
    229         padding: 0px; 
    230         } 
    231          
    232 #xpress_content.narrowcolumn { 
    233         margin-right: 205px; 
    234         } 
     276 
     277 
    235278         
    236279.widecolumn {  
     
    238281        margin: 0 auto; 
    239282        }        
    240          
    241          
    242 .xpress-post { 
    243         width: 100%; 
    244         margin: 5px 0 10px; 
    245         padding-top:20px; 
    246         clear: both; 
    247         }        
     283 
     284         
    248285         
    249286.xpress-post h2 { 
     
    296333} 
    297334 
    298 #xpress_footer { 
    299         padding-top: 0px; 
    300         margin: 0 auto; 
    301         width: 100%; 
    302         clear: both; 
    303         } 
    304335 
    305336#xpress_footer p { 
     
    309340        } 
    310341         
    311 .xpress_rss { 
    312         margin: 0; 
    313         padding: 0; 
    314         text-align: right; 
    315         } 
    316  
    317  
    318 .xpress_credit { 
    319         margin: 0; 
    320         padding: 0; 
    321         text-align: center; 
    322         font-size: 0.9em; 
    323         color: #BDBDBD; 
    324         } 
    325          
    326 .xpress_credit a { 
    327         font-size: 0.9em; 
    328         color: #BDBDBD; 
    329 }        
     342 
     343 
     344 
     345         
     346 
    330347 
    331348.dateblock{ 
     
    352369        } 
    353370 
    354 h3.xpress_comments { 
    355         padding: 0; 
    356         margin: 40px auto 20px ; 
    357         } 
    358371/* End Headers */ 
    359372 
Note: See TracChangeset for help on using the changeset viewer.