Make WordPress Core

Changeset 9491


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.

Location:
trunk
Files:
9 edited

Legend:

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

    r9451 r9491  
    7272
    7373<div id="minor-publishing">
    74 <div id="misc-publishing-actions">
    7574
    7675<?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?>
     
    7978</div>
    8079
    81 <div id="misc-pub-block-1">
    82 <?php if ( $can_publish && current_user_can( 'edit_others_posts' ) ) { ?>
    83     <div class="misc-pub-section" id="sticky-checkbox"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID), true); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e('Stick to front page') ?></label></div>
    84 <?php } ?>
    85 <!--
    86 <div class="misc-pub-section misc-pub-section-1-last" id="visibility">
     80<div id="minor-publishing-actions">
     81<div id="preview-action">
     82<noscript>
     83<?php if ( 'publish' == $post->post_status ) { ?>
     84<a class="preview button" href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View Post'); ?></a>
     85<?php } else { ?>
     86<a class="preview button" href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview'); ?></a>
     87<?php } ?>
     88</noscript>
     89
     90<a class="preview button hide-if-no-js" href="#" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
     91<input type="hidden" name="wp-preview" id="wp-preview" value="" />
     92</div>
     93
     94<div id="save-action">
     95<?php if ( 'publish' != $post->post_status && 'private' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status )  { ?>
     96<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
     97<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
     98<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" />
     99<?php } ?>
     100</div>
     101<div class="clear"></div>
     102</div><?php // /minor-publishing-actions ?>
     103
     104<div id="misc-publishing-actions">
     105
     106<?php if ( false ) { // Stub for 2.8 ?>
     107<div class="misc-pub-section" id="visibility">
    87108<?php _e('Visibility:'); ?> <b><?php _e('Public'); // TODO: dropdown ?></b>
    88109</div>
    89 -->
    90 </div>
    91 <div id="misc-pub-block-2">
    92 <?php
    93 $datef = _c( 'M j, Y \a\t G:i|Publish box date format');
    94 if ( 0 != $post->ID ) {
    95     if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
    96         $stamp = __('Scheduled for:<br />%1$s');
    97     } else if ( 'publish' == $post->post_status ) { // already published
    98         $stamp = __('Published on:<br />%1$s');
    99     } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    100         $stamp = __('Publish immediately');
    101     } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
    102         $stamp = __('Schedule for:<br />%1$s');
    103     } else { // draft, 1 or more saves, date specified
    104         $stamp = __('Publish on:<br />%1$s');
    105     }
    106     $date = date_i18n( $datef, strtotime( $post->post_date ) );
    107 } else { // draft (no saves, and thus no date specified)
    108     $stamp = __('Publish immediately');
    109     $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
    110 }
    111 ?>
    112 <?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
    113 <div class="misc-pub-section curtime">
    114     <span id="timestamp">
    115     <?php printf($stamp, $date); ?></span>
    116     &nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    117     <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
    118 </div>
    119 <?php endif; ?>
    120 
    121 <div class="misc-pub-section misc-pub-section-2-last"><label for="post_status"><?php _e('Status:') ?></label>
     110<?php } ?>
     111
     112<div class="misc-pub-section<?php if ( !$can_publish ) { echo '  misc-pub-section-last'; } ?>"><label for="post_status"><?php _e('Status:') ?></label>
    122113<b><span id="post-status-display">
    123114<?php
     
    153144<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option>
    154145</select>
    155 <br />
    156 <a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
    157 <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
    158 </div>
    159 
    160 <?php } ?>
    161 </div>
    162 </div>
    163 </div>
    164 
    165 <div id="minor-publishing-actions">
    166 
    167 <?php if ( 'publish' != $post->post_status && 'private' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status )  { ?>
    168 <input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
    169 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
    170 <input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Pending') ); ?>" tabindex="4" class="button button-highlighted" />
    171 <?php } ?>
    172 
    173 <noscript>
    174 <?php if ( 'publish' == $post->post_status ) { ?>
    175 <a class="preview button" href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View Post'); ?></a>
    176 <?php } else { ?>
    177 <a class="preview button" href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview'); ?></a>
    178 <?php } ?>
    179 </noscript>
    180 
    181 <a class="preview button hide-if-no-js" href="#" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
    182 <input type="hidden" name="wp-preview" id="wp-preview" value="" />
     146 <a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
     147 <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
     148</div>
     149
     150<?php } ?>
     151</div><?php // /misc-pub-section ?>
     152
     153
     154<?php if ( $can_publish && current_user_can( 'edit_others_posts' ) ) { ?>
     155<div class="misc-pub-section " id="sticky-checkbox">
     156<input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID), true); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e('Stick this post to the front page') ?></label>
     157</div><?php // /misc-pub-section ?>
     158<?php } ?>
     159
     160
     161<?php
     162$datef = _c( 'M j, Y @ G:i|Publish box date format');
     163if ( 0 != $post->ID ) {
     164    if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
     165        $stamp = __('Scheduled for: <b>%1$s</b>');
     166    } else if ( 'publish' == $post->post_status ) { // already published
     167        $stamp = __('Published on: <b>%1$s</b>');
     168    } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
     169        $stamp = __('Publish <b>immediately</b>');
     170    } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
     171        $stamp = __('Schedule for: <b>%1$s</b>');
     172    } else { // draft, 1 or more saves, date specified
     173        $stamp = __('Publish on: <b>%1$s</b>');
     174    }
     175    $date = date_i18n( $datef, strtotime( $post->post_date ) );
     176} else { // draft (no saves, and thus no date specified)
     177    $stamp = __('Publish <b>immediately</b>');
     178    $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
     179}
     180?>
     181<?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
     182<div class="misc-pub-section curtime misc-pub-section-last">
     183    <span id="timestamp">
     184    <?php printf($stamp, $date); ?></span>
     185    &nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
     186    <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
     187</div><?php // /misc-pub-section ?>
     188<?php endif; ?>
    183189
    184190</div>
  • 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">
  • trunk/wp-admin/edit-page-form.php

    r9468 r9491  
    6565
    6666<div id="minor-publishing">
    67 <div id="misc-publishing-actions">
    6867
    6968<?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?>
     
    7271</div>
    7372
    74 <div id="misc-pub-block-1">
    75 <!--
     73<div id="minor-publishing-actions">
     74<div id="preview-action">
     75<noscript>
     76<?php if ( 'publish' == $post->post_status ) { ?>
     77<a class="preview button" href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View Post'); ?></a>
     78<?php } else { ?>
     79<a class="preview button" href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview'); ?></a>
     80<?php } ?>
     81</noscript>
     82
     83<a class="preview button hide-if-no-js" href="#" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
     84<input type="hidden" name="wp-preview" id="wp-preview" value="" />
     85</div>
     86
     87<div id="save-action">
     88<?php if ( 'publish' != $post->post_status && 'private' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status )  { ?>
     89<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
     90<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
     91<input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" />
     92<?php } ?>
     93</div>
     94<div class="clear"></div>
     95</div><?php // /minor-publishing-actions ?>
     96
     97<div id="misc-publishing-actions">
     98
     99<?php if ( false ) { // Stub for 2.8 ?>
    76100<div class="misc-pub-section misc-pub-section-1-last" id="visibility">
    77101<?php _e('Visibility:'); ?> <b><?php _e('Public'); // TODO: dropdown ?></b>
    78102</div>
    79 -->
    80 </div>
    81 <div id="misc-pub-block-2">
    82 <?php
    83 $datef = _c( 'M j, Y \a\t G:i|Publish box date format');
    84 if ( 0 != $post->ID ) {
    85     if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
    86         $stamp = __('Scheduled for:<br />%1$s');
    87     } else if ( 'publish' == $post->post_status ) { // already published
    88         $stamp = __('Published on:<br />%1$s');
    89     } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    90         $stamp = __('Publish immediately');
    91     } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
    92         $stamp = __('Schedule for:<br />%1$s');
    93     } else { // draft, 1 or more saves, date specified
    94         $stamp = __('Publish on:<br />%1$s');
    95     }
    96     $date = date_i18n( $datef, strtotime( $post->post_date ) );
    97 } else { // draft (no saves, and thus no date specified)
    98     $stamp = __('Publish immediately');
    99     $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
    100 }
    101 ?>
    102 <?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
    103 <div class="misc-pub-section curtime">
    104     <span id="timestamp">
    105     <?php printf($stamp, $date); ?></span>
    106     &nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    107     <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
    108 </div>
    109 <?php endif; ?>
    110 
    111 <div class="misc-pub-section misc-pub-section-2-last"><label for="post_status"><?php _e('Status:') ?></label>
     103<?php } ?>
     104
     105<div class="misc-pub-section<?php if ( !$can_publish ) { echo ' misc-pub-section-last'; } ?>"><label for="post_status"><?php _e('Status:') ?></label>
    112106<b><span id="post-status-display">
    113107<?php
     
    143137<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option>
    144138</select>
    145 <br />
    146 <a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
    147 <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
    148 </div>
    149 
    150 <?php } ?>
    151 </div>
    152 </div>
    153 </div>
    154 
    155 <div id="minor-publishing-actions">
    156 
    157 <?php if ( 'publish' != $post->post_status && 'private' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status )  { ?>
    158 <input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />
    159 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
    160 <input type="submit" name="save" id="save-post" value="<?php echo attribute_escape( __('Save Pending') ); ?>" tabindex="4" class="button button-highlighted" />
    161 <?php } ?>
    162 
    163 <noscript>
    164 <?php if ( 'publish' == $post->post_status ) { ?>
    165 <a class="preview button" href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View Post'); ?></a>
    166 <?php } else { ?>
    167 <a class="preview button" href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview'); ?></a>
    168 <?php } ?>
    169 </noscript>
    170 
    171 <a class="preview button hide-if-no-js" href="#" id="post-preview" tabindex="4"><?php _e('Preview'); ?></a>
    172 <input type="hidden" name="wp-preview" id="wp-preview" value="" />
     139
     140 <a href="#post_status" class="save-post-status hide-if-no-js button"><?php _e('OK'); ?></a>
     141 <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
     142</div>
     143
     144<?php } ?>
     145</div><?php // /misc-pub-section ?>
     146
     147<?php
     148$datef = _c( 'M j, Y @ G:i|Publish box date format');
     149if ( 0 != $post->ID ) {
     150    if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
     151        $stamp = __('Scheduled for: <b>%1$s</b>');
     152    } else if ( 'publish' == $post->post_status ) { // already published
     153        $stamp = __('Published on: <b>%1$s</b>');
     154    } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
     155        $stamp = __('Publish <b>immediately</b>');
     156    } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
     157        $stamp = __('Schedule for: <b>%1$s</b>');
     158    } else { // draft, 1 or more saves, date specified
     159        $stamp = __('Publish on: <b>%1$s</b>');
     160    }
     161    $date = date_i18n( $datef, strtotime( $post->post_date ) );
     162} else { // draft (no saves, and thus no date specified)
     163    $stamp = __('Publish <b>immediately</b>');
     164    $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
     165}
     166?>
     167<?php if ( $can_publish ) : // Contributors don't get to choose the date of publish ?>
     168<div class="misc-pub-section curtime misc-pub-section-last">
     169    <span id="timestamp">
     170    <?php printf($stamp, $date); ?></span>
     171    &nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
     172    <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
     173</div><?php // /misc-pub-section ?>
     174<?php endif; ?>
    173175
    174176</div>
  • trunk/wp-admin/includes/template.php

    r9489 r9491  
    22612261    $hour = '<input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
    22622262    $minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
    2263     printf(_c('%1$s%2$s, %3$s <br />@ %4$s : %5$s|1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input'), $month, $day, $year, $hour, $minute);
     2263    printf(_c('%1$s%2$s, %3$s @ %4$s : %5$s|1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input'), $month, $day, $year, $hour, $minute);
    22642264
    22652265    if ( $multi ) return;
  • trunk/wp-admin/js/comment.js

    r9430 r9491  
    3636        $('.edit-timestamp').show();
    3737        $('#timestamp').html(
    38             commentL10n.submittedOn + '<br />' +
     38            commentL10n.submittedOn + ' <b>' +
    3939            $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' +
    4040            $('#jj').val() + ', ' +
    4141            $('#aa').val() + ' @ ' +
    4242            $('#hh').val() + ':' +
    43             $('#mn').val() + ' '
     43            $('#mn').val() + '</b> '
    4444        );
    4545
  • trunk/wp-admin/js/page.js

    r9473 r9491  
    6161        }
    6262        $('#timestamp').html(
    63             publishOn + '<br />' +
     63            publishOn + ' <b>' +
    6464            $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' +
    6565            $('#jj').val() + ', ' +
    6666            $('#aa').val() + ' @ ' +
    6767            $('#hh').val() + ':' +
    68             $('#mn').val() + ' '
     68            $('#mn').val() + '</b> '
    6969        );
    7070
  • trunk/wp-admin/js/post.js

    r9473 r9491  
    205205        }
    206206        $('#timestamp').html(
    207             publishOn + '<br />' +
     207            publishOn + ' <b>' +
    208208            $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' +
    209209            $('#jj').val() + ', ' +
    210210            $('#aa').val() + ' @ ' +
    211211            $('#hh').val() + ':' +
    212             $('#mn').val() + ' '
     212            $('#mn').val() + '</b> '
    213213        );
    214214
  • trunk/wp-admin/wp-admin.css

    r9464 r9491  
    208208}
    209209
     210#submitdiv h3, #pagesubmitdiv h3 {
     211    margin-bottom: 0 !important;
     212}
     213
    210214#misc-publishing-actions {
    211     float: left;
    212     border-right: 1px solid #ddd;
    213     min-height: 70px;
    214 }
    215 
    216 #side-info-column #misc-publishing-actions {
    217     max-width: 170px;
     215    padding: 6px 0 16px 0;
    218216}
    219217
    220218.misc-pub-section {
    221219    padding: 6px;
     220    border-bottom: 1px solid #eee;
     221}
     222
     223.misc-pub-section-last {
     224    border-bottom: 0;
     225}
     226
     227#minor-publishing-actions {
     228    padding: 6px;
     229    text-align: right;
     230}
     231
     232#minor-publishing {
    222233    border-bottom: 1px solid #ddd;
    223 }
    224 
    225 #normal-sortables .misc-pub-section {
    226     min-height: 18px;
    227 }
    228 
    229 #post-body .misc-pub-section-1-last,
    230 .misc-pub-section-2-last {
    231     border-bottom: 0;
    232 }
    233 
    234 #post-body #misc-pub-block-1,
    235 #post-body #misc-pub-block-2 {
    236     float: left;
    237     min-height: 70px;
    238 }
    239 
    240 #post-body #misc-pub-block-1 {
    241     border-right: 1px solid #ddd;
    242 }
    243 
    244 #post-body #misc-pub-block-2 {
    245     border-left: 1px solid #ddd;
    246     margin-left: -1px;
    247 }
    248 
    249 #minor-publishing-actions {
    250     padding: 6px 6px 6px 0;
    251     float: right;
    252     text-align: right;
    253234}
    254235
    255236#save-post {
    256237    float: right;
    257     margin-bottom: 10px;
    258238}
    259239
    260240.preview {
    261     float: right;
    262     clear: right;
     241    float: left;
    263242    padding: 2px 8px !important;
    264 }
    265 
    266 #minor-publishing {
    267     margin-top: -10px;
    268     border-bottom: 1px solid #ddd;
    269243}
    270244
     
    292266    text-align: right;
    293267    float: right;
     268}
     269
     270#post-body #minor-publishing {
     271    padding-bottom: 10px;
     272}
     273
     274#post-body #misc-publishing-actions {
     275    padding: 0;
     276}
     277
     278#post-body .misc-pub-section {
     279    border-right: 1px solid #eee;
     280    border-bottom: 0;
     281    min-height: 30px;
     282    float: left;
     283    max-width: 32%;
     284}
     285
     286#post-body .misc-pub-section-last {
     287    border-right: 0;
    294288}
    295289
  • trunk/wp-includes/script-loader.php

    r9473 r9491  
    177177            'cancel' => __('Cancel'),
    178178        ) );
    179         $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug', 'settings-box'), '20081102' );
     179        $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug', 'settings-box'), '20081103' );
    180180        $scripts->localize( 'post', 'postL10n', array(
    181181            'tagsUsed' =>  __('Tags used on this post:'),
     
    193193            'schedule' => __('Schedule'),
    194194            'update' => __('Update Post'),
    195             'savePending' => __('Save Pending'),
     195            'savePending' => __('Save as Pending'),
    196196            'saveDraft' => __('Save Draft')
    197197        ) );
    198         $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox', 'settings-box'), '20081102' );
     198        $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox', 'settings-box'), '20081103' );
    199199        $scripts->localize( 'page', 'postL10n', array(
    200200            'cancel' => __('Cancel'),
     
    208208            'schedule' => __('Schedule'),
    209209            'update' => __('Update Page'),
    210             'savePending' => __('Save Pending'),
     210            'savePending' => __('Save as Pending'),
    211211            'saveDraft' => __('Save Draft')
    212212        ) );
    213213        $scripts->add( 'link', '/wp-admin/js/link.js', array('jquery-ui-tabs', 'wp-lists', 'postbox', 'settings-box'), '20080925' );
    214         $scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '20081030' );
     214        $scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '20081103' );
    215215        $scripts->localize( 'comment', 'commentL10n', array(
    216216            'cancel' => __('Cancel'),
     
    329329    $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie' );
    330330
    331     $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081031' );
     331    $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081103' );
    332332    $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
    333333
Note: See TracChangeset for help on using the changeset viewer.