Changeset 9491
- Timestamp:
- 11/03/2008 07:06:36 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r9451 r9491 72 72 73 73 <div id="minor-publishing"> 74 <div id="misc-publishing-actions">75 74 76 75 <?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?> … … 79 78 </div> 80 79 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"> 87 108 <?php _e('Visibility:'); ?> <b><?php _e('Public'); // TODO: dropdown ?></b> 88 109 </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 <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> 122 113 <b><span id="post-status-display"> 123 114 <?php … … 153 144 <option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option> 154 145 </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'); 163 if ( 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 <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; ?> 183 189 184 190 </div> -
trunk/wp-admin/edit-form-comment.php
r9471 r9491 37 37 <div class="submitbox" id="submitcomment"> 38 38 <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 39 47 <div id="misc-publishing-actions"> 40 <div id="misc-pub-block-1"> 48 41 49 <div class="misc-pub-section" id="comment-status-radio"> 42 50 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _e('Approved') ?></label><br /> … … 44 52 <label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _e('Spam') ?></label> 45 53 </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"> 49 56 <?php 50 $datef = _c( 'M j, Y \a\tG: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>'); 52 59 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 53 60 ?> … … 55 62 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> 56 63 </div> 57 </div>58 64 </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>62 65 <div class="clear"></div> 63 66 </div> 67 64 68 <div id="major-publishing-actions"> 65 69 <div id="delete-action"> -
trunk/wp-admin/edit-page-form.php
r9468 r9491 65 65 66 66 <div id="minor-publishing"> 67 <div id="misc-publishing-actions">68 67 69 68 <?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?> … … 72 71 </div> 73 72 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 ?> 76 100 <div class="misc-pub-section misc-pub-section-1-last" id="visibility"> 77 101 <?php _e('Visibility:'); ?> <b><?php _e('Public'); // TODO: dropdown ?></b> 78 102 </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 <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> 112 106 <b><span id="post-status-display"> 113 107 <?php … … 143 137 <option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Draft') ?></option> 144 138 </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'); 149 if ( 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 <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; ?> 173 175 174 176 </div> -
trunk/wp-admin/includes/template.php
r9489 r9491 2261 2261 $hour = '<input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />'; 2262 2262 $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); 2264 2264 2265 2265 if ( $multi ) return; -
trunk/wp-admin/js/comment.js
r9430 r9491 36 36 $('.edit-timestamp').show(); 37 37 $('#timestamp').html( 38 commentL10n.submittedOn + ' <br />' +38 commentL10n.submittedOn + ' <b>' + 39 39 $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' + 40 40 $('#jj').val() + ', ' + 41 41 $('#aa').val() + ' @ ' + 42 42 $('#hh').val() + ':' + 43 $('#mn').val() + ' '43 $('#mn').val() + '</b> ' 44 44 ); 45 45 -
trunk/wp-admin/js/page.js
r9473 r9491 61 61 } 62 62 $('#timestamp').html( 63 publishOn + ' <br />' +63 publishOn + ' <b>' + 64 64 $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' + 65 65 $('#jj').val() + ', ' + 66 66 $('#aa').val() + ' @ ' + 67 67 $('#hh').val() + ':' + 68 $('#mn').val() + ' '68 $('#mn').val() + '</b> ' 69 69 ); 70 70 -
trunk/wp-admin/js/post.js
r9473 r9491 205 205 } 206 206 $('#timestamp').html( 207 publishOn + ' <br />' +207 publishOn + ' <b>' + 208 208 $( '#mm option[value=' + $('#mm').val() + ']' ).text() + ' ' + 209 209 $('#jj').val() + ', ' + 210 210 $('#aa').val() + ' @ ' + 211 211 $('#hh').val() + ':' + 212 $('#mn').val() + ' '212 $('#mn').val() + '</b> ' 213 213 ); 214 214 -
trunk/wp-admin/wp-admin.css
r9464 r9491 208 208 } 209 209 210 #submitdiv h3, #pagesubmitdiv h3 { 211 margin-bottom: 0 !important; 212 } 213 210 214 #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; 218 216 } 219 217 220 218 .misc-pub-section { 221 219 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 { 222 233 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;253 234 } 254 235 255 236 #save-post { 256 237 float: right; 257 margin-bottom: 10px;258 238 } 259 239 260 240 .preview { 261 float: right; 262 clear: right; 241 float: left; 263 242 padding: 2px 8px !important; 264 }265 266 #minor-publishing {267 margin-top: -10px;268 border-bottom: 1px solid #ddd;269 243 } 270 244 … … 292 266 text-align: right; 293 267 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; 294 288 } 295 289 -
trunk/wp-includes/script-loader.php
r9473 r9491 177 177 'cancel' => __('Cancel'), 178 178 ) ); 179 $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug', 'settings-box'), '2008110 2' );179 $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug', 'settings-box'), '20081103' ); 180 180 $scripts->localize( 'post', 'postL10n', array( 181 181 'tagsUsed' => __('Tags used on this post:'), … … 193 193 'schedule' => __('Schedule'), 194 194 'update' => __('Update Post'), 195 'savePending' => __('Save Pending'),195 'savePending' => __('Save as Pending'), 196 196 'saveDraft' => __('Save Draft') 197 197 ) ); 198 $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox', 'settings-box'), '2008110 2' );198 $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox', 'settings-box'), '20081103' ); 199 199 $scripts->localize( 'page', 'postL10n', array( 200 200 'cancel' => __('Cancel'), … … 208 208 'schedule' => __('Schedule'), 209 209 'update' => __('Update Page'), 210 'savePending' => __('Save Pending'),210 'savePending' => __('Save as Pending'), 211 211 'saveDraft' => __('Save Draft') 212 212 ) ); 213 213 $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'), '20081 030' );214 $scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '20081103' ); 215 215 $scripts->localize( 'comment', 'commentL10n', array( 216 216 'cancel' => __('Cancel'), … … 329 329 $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie' ); 330 330 331 $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081 031' );331 $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081103' ); 332 332 $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' ); 333 333
Note: See TracChangeset
for help on using the changeset viewer.