Make WordPress Core


Ignore:
Timestamp:
11/03/2008 07:06:36 AM (16 years ago)
Author:
markjaquith
Message:

Update to publish box styles. More horizontal room, consistent button placement, better for i18n, better wording.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r9471 r9491  
    3737<div class="submitbox" id="submitcomment">
    3838<div id="minor-publishing">
     39
     40<div id="minor-publishing-actions">
     41<div id="preview=action">
     42<a class="preview button" href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View Comment'); ?></a>
     43</div>
     44<div class="clear"></div>
     45</div>
     46
    3947<div id="misc-publishing-actions">
    40 <div id="misc-pub-block-1">
     48
    4149<div class="misc-pub-section" id="comment-status-radio">
    4250<label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _e('Approved') ?></label><br />
     
    4452<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _e('Spam') ?></label>
    4553</div>
    46 </div>
    47 <div id="misc-pub-block-2">
    48 <div class="misc-pub-section curtime misc-pub-section-2-last">
     54
     55<div class="misc-pub-section curtime misc-pub-section-last">
    4956<?php
    50 $datef = _c( 'M j, Y \a\t G:i|Publish box date format');
    51 $stamp = __('Submitted on:<br />%1$s');
     57$datef = _c( 'M j, Y @ G:i|Publish box date format');
     58$stamp = __('Submitted on: <b>%1$s</a>');
    5259$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    5360?>
     
    5562<div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>
    5663</div>
    57 </div>
    5864</div> <!-- misc actions -->
    59 <div id="minor-publishing-actions">
    60 <a class="preview button" href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View Comment'); ?></a>
    61 </div>
    6265<div class="clear"></div>
    6366</div>
     67
    6468<div id="major-publishing-actions">
    6569<div id="delete-action">
Note: See TracChangeset for help on using the changeset viewer.