Changeset 2810

Show
Ignore:
Timestamp:
11/14/08 16:02:59 (8 weeks ago)
Author:
dmondark
Message:

Remove the enforced date formats in system themes. We have an option to control date and time format now, let's use it.

Location:
trunk/htdocs/system/themes
Files:
13 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/themes/charcoal/comments.php

    r2549 r2810  
    1616                    <div class="post-comment-body"> 
    1717                        <?php echo $comment->content_out; ?> 
    18                         <p class="post-comment-link"><a href="#comment-<?php echo $comment->id; ?>" title="Time of this comment - Click for comment permalink"><?php $comment->date->out('F j, Y g:ia'); ?></a></p> 
     18                        <p class="post-comment-link"><a href="#comment-<?php echo $comment->id; ?>" title="Time of this comment - Click for comment permalink"><?php $comment->date->out(); ?></a></p> 
    1919                        <?php if ( $comment->status == Comment::STATUS_UNAPPROVED ) : ?> 
    2020                        <p class="comment-message"><em><?php _e( 'Your comment is awaiting moderation' ) ;?></em></p> 
  • trunk/htdocs/system/themes/charcoal/entry.single.php

    r2624 r2810  
    2525                    </div> 
    2626                    <div class="post-sup"> 
    27                         <span class="post-date"><?php $post->pubdate->out( 'F j, Y g:ia' ); ?></span> 
     27                        <span class="post-date"><?php $post->pubdate->out(); ?></span> 
    2828                        <span class="post-comments-link"> 
    2929                            <a href="<?php echo $post->permalink.'#comment-form'; ?>" title="<?php _e( "Comments on this post" ); ?>"><?php $theme->post_comments_link( $post, _t('No Comments'), _t('%s Comment'), _t('%s Comments') ); ?></a> 
  • trunk/htdocs/system/themes/charcoal/home.php

    r2706 r2810  
    1818                    <div class="post-sup"> 
    1919                        <span class="post-date"> 
    20                             <?php $post->pubdate->out('F j, Y g:ia e'); ?> 
     20                            <?php $post->pubdate->out(); ?> 
    2121                        </span> 
    2222                        <span class="post-comments-link"> 
  • trunk/htdocs/system/themes/charcoal/multiple.php

    r2549 r2810  
    1515                    </div> 
    1616                    <div class="post-sup"> 
    17                         <span class="post-date"><?php $post->pubdate->out('F j, Y g:ia'); ?></span> 
     17                        <span class="post-date"><?php $post->pubdate->out(); ?></span> 
    1818                        <span class="post-comments-link"> 
    1919                            <a href="<?php echo $post->permalink.'#comment-form'; ?>" title="<?php _e( "Comments on this post" ); ?>"><?php $theme->post_comments_link( $post, _t('No Comments'), _t('%s Comment'), _t('%s Comments') ); ?></a> 
  • trunk/htdocs/system/themes/charcoal/search.php

    r2549 r2810  
    1717                    </div> 
    1818                    <div class="post-sup"> 
    19                         <span class="post-date"><?php $post->pubdate->out('F j, Y g:ia'); ?></span> 
     19                        <span class="post-date"><?php $post->pubdate->out(); ?></span> 
    2020                        <span class="post-comments-link"> 
    2121                            <a href="<?php echo $post->permalink.'#comment-form'; ?>" title="<?php _e( "Comments on this post" ); ?>"><?php $theme->post_comments_link( $post, _t('No Comments'), _t('%s Comment'), _t('%s Comments') ); ?></a> 
  • trunk/htdocs/system/themes/charcoal/tag.php

    r2549 r2810  
    1616                    </div> 
    1717                    <div class="post-sup"> 
    18                         <span class="post-date"><?php $post->pubdate->out('F j, Y g:ia'); ?></span> 
     18                        <span class="post-date"><?php $post->pubdate->out(); ?></span> 
    1919                        <span class="post-comments-link"> 
    2020                            <a href="<?php echo $post->permalink.'#comment-form'; ?>" title="<?php _e( "Comments on this post" ); ?>"><?php $theme->post_comments_link( $post, _t('No Comments'), _t('%s Comment'), _t('%s Comments') ); ?></a> 
  • trunk/htdocs/system/themes/k2/comments.php

    r2785 r2810  
    2727       <a href="#comment-<?php echo $comment->id; ?>" class="counter" title="<?php _e('Permanent Link to this Comment'); ?>"><?php echo $comment->id; ?></a> 
    2828       <span class="commentauthor"><?php echo $comment_url; ?></span> 
    29        <small class="comment-meta"><a href="#comment-<?php echo $comment->id; ?>" title="<?php _e('Time of this Comment'); ?>"><?php $comment->date->out('F j, Y g:ia'); ?></a><?php if ( $comment->status == Comment::STATUS_UNAPPROVED ) : ?> <em><?php _e('In moderation'); ?></em><?php endif; ?></small> 
     29       <small class="comment-meta"><a href="#comment-<?php echo $comment->id; ?>" title="<?php _e('Time of this Comment'); ?>"><?php $comment->date->out(); ?></a><?php if ( $comment->status == Comment::STATUS_UNAPPROVED ) : ?> <em><?php _e('In moderation'); ?></em><?php endif; ?></small> 
    3030        
    3131       <div class="comment-content"> 
  • trunk/htdocs/system/themes/k2/entry.multiple.php

    r2626 r2810  
    1010       <h3 class="entry-title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    1111       <small class="entry-meta"> 
    12         <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?> 
     12        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?> 
    1313        <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    1414        <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span> 
  • trunk/htdocs/system/themes/k2/entry.single.php

    r2626 r2810  
    1919      <h3 class="entry-title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    2020      <small class="entry-meta"> 
    21        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) );  } ?> 
     21       <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) );  } ?> 
    2222       <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    2323    <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span> 
  • trunk/htdocs/system/themes/k2/home.php

    r2626 r2810  
    1010       <h3 class="entry-title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    1111       <small class="entry-meta"> 
    12         <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?>  
     12        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?>  
    1313        <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    1414        <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span> 
  • trunk/htdocs/system/themes/k2/page.single.php

    r2626 r2810  
    88      <h3 class="entry-title"><?php _e('Page:'); ?> <a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    99      <small class="entry-meta"> 
    10        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { _e('by %s', array( $post->author->displayname ) ); } ?> 
     10       <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { _e('by %s', array( $post->author->displayname ) ); } ?> 
    1111       <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    1212    <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span> 
  • trunk/htdocs/system/themes/k2/search.php

    r2626 r2810  
    1111       <h3 class="entry-title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    1212       <small class="entry-meta"> 
    13         <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?> 
     13        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { _e( 'by %s', array( $post->author->displayname ) ); } ?> 
    1414        <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    1515        <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span> 
  • trunk/htdocs/system/themes/k2/tag.php

    r2626 r2810  
    1010       <h3 class="entry-title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3> 
    1111       <small class="entry-meta"> 
    12         <span class="chronodata"><abbr class="published"><?php $post->pubdate->out('F j, Y g:ia'); ?></abbr></span> <?php if ( $show_author ) { ?> <?php _e( 'by %s', array( $post->author->displayname ) ); } ?> 
     12        <span class="chronodata"><abbr class="published"><?php $post->pubdate->out(); ?></abbr></span> <?php if ( $show_author ) { ?> <?php _e( 'by %s', array( $post->author->displayname ) ); } ?> 
    1313        <span class="commentslink"><a href="<?php echo $post->permalink; ?>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo $post->comments->approved->count; ?> 
    1414        <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span>