Changeset 8691
- Timestamp:
- 08/20/08 21:42:31 (3 months ago)
- Files:
-
- trunk/wp-admin/admin-ajax.php (modified) (2 diffs)
- trunk/wp-admin/admin-footer.php (modified) (1 diff)
- trunk/wp-admin/admin-header.php (modified) (3 diffs)
- trunk/wp-admin/admin.php (modified) (1 diff)
- trunk/wp-admin/comment.php (modified) (1 diff)
- trunk/wp-admin/css/colors-classic.css (modified) (16 diffs)
- trunk/wp-admin/css/colors-fresh.css (modified) (20 diffs)
- trunk/wp-admin/css/dashboard.css (modified) (6 diffs)
- trunk/wp-admin/css/global.css (modified) (5 diffs)
- trunk/wp-admin/edit-form-advanced.php (modified) (14 diffs)
- trunk/wp-admin/edit-form-comment.php (modified) (5 diffs)
- trunk/wp-admin/edit-link-form.php (modified) (8 diffs)
- trunk/wp-admin/edit-page-form.php (modified) (15 diffs)
- trunk/wp-admin/export.php (modified) (1 diff)
- trunk/wp-admin/images/1.png (copied) (copied from branches/crazyhorse/wp-admin/images/1.png)
- trunk/wp-admin/images/31.png (copied) (copied from branches/crazyhorse/wp-admin/images/31.png)
- trunk/wp-admin/images/7.png (copied) (copied from branches/crazyhorse/wp-admin/images/7.png)
- trunk/wp-admin/images/archive-link.png (copied) (copied from branches/crazyhorse/wp-admin/images/archive-link.png)
- trunk/wp-admin/images/logo-ghost.png (modified) (previous)
- trunk/wp-admin/images/menu-closed.png (copied) (copied from branches/crazyhorse/wp-admin/images/menu-closed.png)
- trunk/wp-admin/images/menu-open.png (copied) (copied from branches/crazyhorse/wp-admin/images/menu-open.png)
- trunk/wp-admin/import.php (modified) (1 diff)
- trunk/wp-admin/inbox.php (copied) (copied from branches/crazyhorse/wp-admin/inbox.php)
- trunk/wp-admin/includes/comment.php (modified) (1 diff)
- trunk/wp-admin/includes/post.php (modified) (1 diff)
- trunk/wp-admin/includes/update.php (modified) (1 diff)
- trunk/wp-admin/index.php (modified) (1 diff)
- trunk/wp-admin/js/comment.js (modified) (3 diffs)
- trunk/wp-admin/js/common.js (modified) (4 diffs)
- trunk/wp-admin/js/edit-comments.js (modified) (1 diff)
- trunk/wp-admin/js/link.js (modified) (1 diff)
- trunk/wp-admin/js/page.js (modified) (3 diffs)
- trunk/wp-admin/js/post.js (modified) (3 diffs)
- trunk/wp-admin/js/postbox.js (modified) (1 diff)
- trunk/wp-admin/link-add.php (modified) (2 diffs)
- trunk/wp-admin/link.php (modified) (1 diff)
- trunk/wp-admin/menu-header.php (modified) (1 diff)
- trunk/wp-admin/menu.php (modified) (2 diffs)
- trunk/wp-admin/options-discussion.php (modified) (1 diff)
- trunk/wp-admin/options-general.php (modified) (2 diffs)
- trunk/wp-admin/options-misc.php (modified) (1 diff)
- trunk/wp-admin/options-permalink.php (modified) (1 diff)
- trunk/wp-admin/options-privacy.php (modified) (1 diff)
- trunk/wp-admin/options-reading.php (modified) (1 diff)
- trunk/wp-admin/options-writing.php (modified) (1 diff)
- trunk/wp-admin/options.php (modified) (1 diff)
- trunk/wp-admin/page-new.php (modified) (1 diff)
- trunk/wp-admin/plugins.php (modified) (3 diffs)
- trunk/wp-admin/post-new.php (modified) (1 diff)
- trunk/wp-admin/post.php (modified) (4 diffs)
- trunk/wp-admin/press-this.php (modified) (1 diff)
- trunk/wp-admin/rtl.css (modified) (1 diff)
- trunk/wp-admin/users.php (modified) (4 diffs)
- trunk/wp-admin/wp-admin.css (modified) (11 diffs)
- trunk/wp-includes/general-template.php (modified) (1 diff)
- trunk/wp-includes/http.php (copied) (copied from branches/crazyhorse/wp-includes/http.php)
- trunk/wp-includes/js/autosave.js (modified) (1 diff)
- trunk/wp-includes/js/thickbox/macFFBgHack.png (copied) (copied from branches/crazyhorse/wp-includes/js/thickbox/macFFBgHack.png)
- trunk/wp-includes/js/tinymce/plugins/spellchecker/classes/EnchantSpell.php (copied) (copied from branches/crazyhorse/wp-includes/js/tinymce/plugins/spellchecker/classes/EnchantSpell.php)
- trunk/wp-includes/js/tinymce/plugins/wpeditimage/css/media26.css (copied) (copied from branches/crazyhorse/wp-includes/js/tinymce/plugins/wpeditimage/css/media26.css)
- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html (modified) (1 diff)
- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js (modified) (2 diffs)
- trunk/wp-includes/script-loader.php (modified) (4 diffs)
- trunk/wp-includes/version.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-ajax.php
r8618 r8691 183 183 die('1'); 184 184 185 if ( 'unapproved' == $current) {185 if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) { 186 186 check_ajax_referer( "approve-comment_$id" ); 187 187 if ( wp_set_comment_status( $comment->comment_ID, 'approve' ) ) … … 649 649 die(get_sample_permalink_html($post_id, $title, $slug)); 650 650 break; 651 case 'meta-box-order': 652 check_ajax_referer( 'meta-box-order' ); 653 update_user_option( $GLOBALS['current_user']->ID, "meta-box-order_$_POST[page]", $_POST['order'] ); 654 die('1'); 655 break; 651 656 default : 652 657 do_action( 'wp_ajax_' . $_POST['action'] ); trunk/wp-admin/admin-footer.php
r8618 r8691 6 6 * @subpackage Administration 7 7 */ 8 ?> 8 9 if ( ! $fixed_bar ) { ?> 10 <br class="clear" /></div><!-- wpbody-content --> 11 <?php } ?> 12 9 13 </div><!-- wpbody --> 10 14 </div><!-- wpcontent --> trunk/wp-admin/admin-header.php
r8645 r8691 9 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 10 10 if (!isset($_GET["page"])) require_once('admin.php'); 11 if ( $editing ) {12 if ( user_can_richedit() )13 wp_enqueue_script( 'wp_tiny_mce' );14 }15 11 wp_enqueue_script( 'wp-gears' ); 16 12 … … 33 29 add_filter( 'admin_body_class', 'add_minwidth' ); 34 30 } 31 32 $fixed_bar_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php' ); 33 if ( ! isset($fixed_bar) ) $fixed_bar = in_array( $the_current_page, $fixed_bar_pages ) ? true : false; 35 34 36 35 get_admin_page_title(); … … 144 143 ?> 145 144 <div id="wpbody"> 145 146 <?php if ( ! $fixed_bar ) { ?> 147 <div id="wpbody-content"> 148 <?php } ?> trunk/wp-admin/admin.php
r8618 r8691 106 106 } 107 107 108 $parent_file = ' edit.php';108 $parent_file = 'users.php'; 109 109 $submenu_file = 'import.php'; 110 110 $title = __('Import'); trunk/wp-admin/comment.php
r8618 r8691 35 35 36 36 wp_enqueue_script('comment'); 37 $fixed_bar = true; 37 38 38 39 require_once('admin-header.php'); trunk/wp-admin/css/colors-classic.css
r8600 r8691 1 #wpcontent, #wpbody { 2 background-color: #14568A; 3 } 4 #wpbody-content { 5 background-color: #fff; 6 } 1 7 a.page-numbers:hover { 2 8 border-color: #999; … … 12 18 } 13 19 14 div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat { 20 div#current-widgets, #postcustomstuff table, #your-profile fieldset, 21 a.page-numbers, #rightnow, div.dashboard-widget, 22 #dashboard-widgets p.dashboard-widget-links, .widefat { 15 23 border-color: #ccc; 16 24 } … … 28 36 } 29 37 38 div.ui-tabs-panel { 39 border-color: #F0F6FB; 40 } 41 30 42 input.disabled, textarea.disabled { 31 43 background-color: #ccc; 32 44 } 33 45 34 #user_info a:hover, li.widget-list-control-item h4.widget-title a:hover, .submit a, #dashmenu a:hover, #footer a, #upload-menu li a.upload-tab-link, li.widget-list-control-item h4.widget-title a, 46 #user_info a:hover, li.widget-list-control-item h4.widget-title a:hover, 47 #dashmenu a:hover, #footer a, #upload-menu li a.upload-tab-link, 48 li.widget-list-control-item h4.widget-title a, 35 49 #dragHelper li.widget-list-control-item h4.widget-title a, 36 #draghelper li.widget-list-control-item h4.widget-title a:visited, .login #backtoblog a:hover, 37 #plugin-information .action-button a, #plugin-information .action-button a:hover, #plugin-information .action-button a:visited { 38 color: #fff; 39 } 40 41 ul#category-tabs li.ui-tabs-selected, li.widget-list-control-item, div.nav, .tablenav, .submitbox, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small, ul.view-switch li.current, .form-table tr, #poststuff h3, .login form, h3.info-box-title { 50 #draghelper li.widget-list-control-item h4.widget-title a:visited, 51 .login #backtoblog a:hover, #plugin-information .action-button a, 52 #plugin-information .action-button a:hover, #plugin-information .action-button a:visited { 53 color: #fff; 54 } 55 56 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 57 ul.view-switch li.current, .form-table tr, #poststuff h3, 58 .login form, h3.info-box-title, #post-status-info { 42 59 background-color: #cfebf7; 43 }44 45 div.ui-tabs-panel {46 border-color: #cfebf7;47 60 } 48 61 … … 56 69 } 57 70 58 .button-secondary, #login form .submit input { 71 #post-body ul#category-tabs li.ui-tabs-selected, .button-secondary, 72 #quicktags, #login form .submit input, #post-search .button, 73 #post-search-prep .button { 59 74 background-color: #8ebddc !important; 60 75 } … … 134 149 } 135 150 136 .howto, .nonessential, # sidemenu, #edit-slug-box, .form-input-tip, #dashboard_primary span.rss-date, .subsubsub, #dashboard_secondary div.dashboard-widget-content ul li a cite {151 .howto, .nonessential, #edit-slug-box, .form-input-tip, #dashboard_primary span.rss-date, .subsubsub, #dashboard_secondary div.dashboard-widget-content ul li a cite { 137 152 color: #999; 138 }139 140 #dashmenu a, #user_info a {141 color: #88b4d7;142 153 } 143 154 … … 198 209 } 199 210 200 .tablenav .button-secondary {201 border-color: #5396c5;202 }203 204 211 .submit input:hover, .button:hover, #edit-slug-buttons a.save:hover { 205 212 border-color: #535353; 206 213 } 207 214 208 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.del-link:hover { 215 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, 216 #adminmenu a:hover, #adminmenu ul.wp-submenu a:hover, #the-comment-list .comment a:hover, 217 #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, 218 #login form .submit input:hover, div.dashboard-widget-submit input:hover, 219 #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, 220 #media-upload a.del-link:hover, .ui-tabs-nav a:hover { 209 221 color: #d54e21; 210 }211 212 #adminmenu a:hover, #sidemenu a:hover, .ui-tabs-nav a:hover {213 color: #97c4d8;214 222 } 215 223 … … 284 292 } 285 293 294 h3.dashboard-widget-title small a { 295 color: #d7d7d7; 296 } 297 298 h3.dashboard-widget-title small a:hover { 299 color: #fff; 300 } 301 286 302 .widget-control-save, .widget-control-remove { 287 303 background-color: #83b4d5; … … 302 318 } 303 319 304 #submenu a {305 color: #2782af306 }307 320 /* Because we don't want visited on these links */ 308 #adminmenu a.current, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover {321 #adminmenu li.current a, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover { 309 322 background-color: #fff; 310 323 border-color: #07273e; … … 314 327 } 315 328 316 #adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { 329 #adminmenu li.current { 330 background-color: #fff; 331 border-right-color: #fff; 332 } 333 334 #adminmenu li a #awaiting-mod { 317 335 background-image: url(../images/comment-stalk-classic.gif); 318 336 } … … 333 351 } 334 352 335 #adminmenu,div#media-upload-header, div#plugin-information-header {353 div#media-upload-header, div#plugin-information-header { 336 354 background-color: #14568a; 337 355 border-bottom-color: #07273e; … … 352 370 input.readonly { 353 371 background-color: #ddd; 354 }355 356 #dashmenu a.current {357 background-color: #14568a;358 color: #cfebf6;359 372 } 360 373 … … 433 446 } 434 447 448 #poststuff #editor-toolbar { 449 background-color: #83b4d5; 450 } 451 435 452 #poststuff #editor-toolbar .active { 436 background-color: # 83b4d5;453 background-color: #CFEBF7; 437 454 color: #333; 438 455 } … … 464 481 #rightnow a { 465 482 color: #448abd; 466 }467 468 #sidemenu a {469 background-color: #14568a;470 border-bottom-color: #07273e;471 border-top-color: #14568a;472 color: #cfebf6;473 483 } 474 484 … … 545 555 } 546 556 547 #wphead h1, #dashmenu a.current:hover { 557 #wphead h1, #wphead h1 a, #login form input { 558 color: #555; 559 } 560 561 #wphead h1 { 548 562 color: #cfebf6; 563 } 564 565 #media-upload a.delete { 566 color: #888; 549 567 } 550 568 … … 716 734 } 717 735 736 #att-info { 737 background-color: #E4F2FD; 738 } 739 718 740 /* Diff */ 719 741 … … 730 752 background-color: #99ff99; 731 753 } 754 755 /* media popup 0819 */ 756 #sidemenu a { 757 background-color: #14568a; 758 border-bottom-color: #07273e; 759 border-top-color: #14568a; 760 color: #CFEBF6; 761 } 762 763 .submitbox .submitdelete { 764 color: #fff; 765 } trunk/wp-admin/css/colors-fresh.css
r8600 r8691 1 #wpcontent, #wpbody { 2 background-color: #e4f2fd; 3 } 4 #wpbody-content { 5 background-color: #fff; 6 } 1 7 a.page-numbers:hover { 2 8 border-color: #999; … … 12 18 } 13 19 14 div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat { 20 div#current-widgets, #postcustomstuff table, #your-profile fieldset, 21 a.page-numbers, #rightnow, div.dashboard-widget, 22 #dashboard-widgets p.dashboard-widget-links, .widefat { 15 23 border-color: #ccc; 16 24 } … … 36 44 } 37 45 38 #user_info a:hover, li.widget-list-control-item h4.widget-title a:hover, .submit a, #dashmenu a:hover, #footer a, #upload-menu li a.upload-tab-link, li.widget-list-control-item h4.widget-title a, 46 #user_info a:hover, li.widget-list-control-item h4.widget-title a:hover, 47 #dashmenu a:hover, #footer a, #upload-menu li a.upload-tab-link, 48 li.widget-list-control-item h4.widget-title a, 39 49 #dragHelper li.widget-list-control-item h4.widget-title a, 40 #draghelper li.widget-list-control-item h4.widget-title a:visited, .login #backtoblog a:hover, 41 #plugin-information .action-button a, #plugin-information .action-button a:hover, #plugin-information .action-button a:visited { 42 color: #fff; 43 } 44 45 li.widget-list-control-item, div.nav, .tablenav, .submitbox, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small, ul.view-switch li.current, .form-table tr, #poststuff h3, .login form, h3.info-box-title { 50 #draghelper li.widget-list-control-item h4.widget-title a:visited, 51 .login #backtoblog a:hover, #plugin-information .action-button a, 52 #plugin-information .action-button a:hover, #plugin-information .action-button a:visited { 53 color: #fff; 54 } 55 56 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 57 ul.view-switch li.current, .form-table tr, #poststuff h3, 58 .login form, h3.info-box-title, #post-status-info { 46 59 background-color: #eaf3fa; 47 60 } … … 56 69 } 57 70 58 ul#category-tabs li.ui-tabs-selected, .button-secondary, #quicktags, #login form .submit input { 71 #post-body ul#category-tabs li.ui-tabs-selected, .button-secondary, 72 #quicktags, #login form .submit input, #post-search .button, 73 #post-search-prep .button { 59 74 background-color: #cee1ef !important; 60 75 } … … 121 136 } 122 137 123 .form-table input, .form-table textarea {138 .form-table input, .form-table textarea, #post-search-input { 124 139 border-color: #c6d9e9; 125 140 } … … 134 149 } 135 150 136 #user_info, .howto, .nonessential, #dashmenu a, # sidemenu, #edit-slug-box, .form-input-tip, #dashboard_primary span.rss-date, .subsubsub, #dashboard_secondary div.dashboard-widget-content ul li a cite {151 #user_info, .howto, .nonessential, #dashmenu a, #edit-slug-box, .form-input-tip, #dashboard_primary span.rss-date, .subsubsub, #dashboard_secondary div.dashboard-widget-content ul li a cite { 137 152 color: #999; 138 153 } … … 198 213 } 199 214 200 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #adminmenu a:hover, #sidemenu a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, #media-upload a.del-link:hover, .ui-tabs-nav a:hover { 215 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, 216 #adminmenu a:hover, #adminmenu ul.wp-submenu a:hover, #the-comment-list .comment a:hover, 217 #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, 218 #login form .submit input:hover, div.dashboard-widget-submit input:hover, 219 #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, 220 #media-upload a.del-link:hover, .ui-tabs-nav a:hover { 201 221 color: #d54e21; 202 222 } … … 206 226 } 207 227 208 .submitbox #autosave .error,ul.view-switch li.current a {228 ul.view-switch li.current a { 209 229 color: #333; 210 230 } 211 231 212 .submitbox #previewview { 213 background-color: #2683ae; 214 } 215 216 .submitbox #previewview a, #rightnow .rbutton { 232 #rightnow .rbutton { 217 233 background-color: #ebebeb; 218 234 color: #264761; … … 266 282 } 267 283 268 .widefat thead, .thead {284 .widefat thead, .thead, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small { 269 285 background-color: #464646; 270 286 color: #d7d7d7; 287 } 288 289 h3.dashboard-widget-title small a { 290 color: #d7d7d7; 291 } 292 293 h3.dashboard-widget-title small a:hover { 294 color: #fff; 271 295 } 272 296 … … 281 305 } 282 306 283 #adminmenu a, #submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, a { 307 #adminmenu li.wp-has-submenu a { 308 color: #333; 309 } 310 311 #adminmenu a, #adminmenu ul.wp-submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, a { 284 312 color: #2583ad; 285 313 } 286 314 287 315 /* Because we don't want visited on these links */ 288 #adminmenu a.current, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover {316 #adminmenu li.current a, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover { 289 317 background-color: #fff; 290 318 border-color: #c6d9e9; … … 293 321 } 294 322 295 #adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { 323 #adminmenu li.current { 324 background-color: #fff; 325 border-color: #c6d9e9; 326 border-right-color: #fff; 327 } 328 329 #adminmenu li a #awaiting-mod { 296 330 background-image: url(../images/comment-stalk-fresh.gif); 297 331 } … … 306 340 } 307 341 308 #adminmenu,div#media-upload-header, div#plugin-information-header {342 div#media-upload-header, div#plugin-information-header { 309 343 background-color: #e4f2fd; 310 344 border-bottom-color: #c6d9e9; … … 325 359 input.readonly { 326 360 background-color: #ddd; 327 }328 329 #dashmenu a.current {330 background-color: #e4f2fd;331 color: #555;332 361 } 333 362 … … 402 431 } 403 432 433 #poststuff #editor-toolbar { 434 background-color: #cee1ef; 435 } 436 404 437 #poststuff #editor-toolbar .active { 405 background-color: # cee1ef;438 background-color: #EAF3FA; 406 439 color: #333; 407 440 } … … 433 466 #rightnow a { 434 467 color: #448abd; 435 }436 437 #sidemenu a {438 background-color: #e4f2fd;439 border-bottom-color: #c6d9e9;440 border-top-color: #e4f2fd;441 468 } 442 469 … … 491 518 } 492 519 493 .login #backtoblog a, .curtime, #user_infoa {520 .login #backtoblog a, #curtime, #user_info a, #dashmenu a { 494 521 color: #ccc; 495 522 } … … 513 540 } 514 541 515 #wphead h1, # dashmenu a.current:hover, #login form input {542 #wphead h1, #wphead h1 a, #login form input { 516 543 color: #555; 544 } 545 546 #wphead h1 a:hover { 547 text-decoration: underline; 517 548 } 518 549 … … 675 706 } 676 707 677 #editorcontainer {708 #editorcontainer, #post-status-info { 678 709 border-color: #ccc; 679 710 } … … 683 714 } 684 715 685 .curtime {716 #curtime { 686 717 color: #666; 687 718 } … … 706 737 background-color: #99ff99; 707 738 } 739 740 #adminmenu, 741 #att-info { 742 background-color: #E4F2FD; 743 } 744 745 746 /* fixed tool bar */ 747 #fixedbar { 748 background-color:#464646; 749 color: #ccc; 750 } 751 752 #html-upload-help { 753 color: #328AB2; 754 } 755 756 #fixedbar #last-edit { 757 758 } 759 760 #fixedbar a, 761 #fixedbar #curtime { 762 color: #ccc; 763 } 764 765 #fixedbar a:hover { 766 color: #fff; 767 } 768 769 #fixedbar a.button { 770 color: #246; 771 } 772 773 #fixedbar a.button:hover { 774 color: #d54e21; 775 } 776 777 #timestampdiv { 778 color: #ccc; 779 } 780 781 /* media popup 0819 */ 782 #sidemenu a { 783 background-color: #e4f2fd; 784 border-bottom-color: #c6d9e9; 785 border-top-color: #e4f2fd; 786 } 787 788 .submitbox .submitdelete { 789 color: #fff; 790 } trunk/wp-admin/css/dashboard.css
r8600 r8691 1 /* Right Now */ 2 3 #rightnow { 1 form .input-text-wrap { 2 border-style: solid; 4 3 border-width: 1px; 4 padding: 2px 3px; 5 border-color: #CCCCCC; 6 } 7 8 form .input-text-wrap input { 9 border: 0pt none; 10 outline-color: -moz-use-text-color; 11 outline-style: none; 12 outline-width: medium; 13 padding: 0pt; 14 width: 99%; 5 15 border-style: solid; 16 color: #333333; 17 } 18 19 form .textarea-wrap { 20 border-style: solid; 21 border-width: 1px; 6 22 padding: 2px; 7 margin-top: 10px; 8 margin-right: 7px; 9 } 10 11 #rightnow .reallynow { 12 padding: 6px; 13 font-size: 15px; 14 line-height: 2; 15 margin: 0; 16 } 17 18 #rightnow .rbutton { 19 font-weight: normal; 20 padding: 6px; 21 border-bottom: none; 22 -moz-border-radius: 2px; 23 -khtml-border-radius: 2px; 24 -webkit-border-radius: 2px; 25 border-radius: 2px; 26 text-decoration: none; 27 } 28 29 #rightnow .reallynow span { 30 display: block; 31 text-align: left; 32 float: left; 33 padding: 0 6px; 34 } 35 36 #rightnow .reallynow a { 37 display: block; 38 text-align: right; 39 float: right; 40 padding: 0 6px; 41 font-size: 14px; 42 margin: 1px 6px 0 0; 43 } 44 45 #rightnow .youhave { 46 font-size: 14px; 47 padding: 10px; 48 } 49 50 #rightnow h3, #rightnow p { 51 padding: 0 10px; 52 } 53 54 #rightnow a { 55 font-weight: bold; 56 } 23 border-color: #CCCCCC; 24 } 25 26 form .textarea-wrap textarea { 27 border: 0pt none; 28 padding: 0; 29 width: 99%; 30 } 31 57 32 58 33 /* Widgets */ 59 34 60 35 div#dashboard-widgets-wrap { 61 margin-top: -20px;62 36 margin-right: -13px; /* 20 (div.dashboard-widget margin-right) - 7 (#rightnow margin-right) */ 63 37 } … … 87 61 div.dashboard-widget-holder.double div.dashboard-widget { 88 62 height: 54em; 89 padding-bottom: 28px /* lame */63 padding-bottom: 28px /* lame */ 90 64 } 91 65 … … 95 69 border-width: 1px; 96 70 border-style: solid; 97 padding: 2px;98 71 height: 27em; 99 72 overflow: auto; … … 101 74 } 102 75 76 #dashboard-widgets p.dashboard-widget-links { 77 padding: 2px; 78 font-size: 11px; 79 line-height: 2; 80 border-width: 1px; 81 margin: 0 20px 0 0; 82 padding: 0 7px; 83 border: 1px solid; 84 border-top: none; 85 } 86 103 87 h3.dashboard-widget-title { 104 margin: 0;88 margin: 2px; 105 89 padding: 0 7px; 106 90 font-size: 14px; … … 122 106 } 123 107 124 h3.dashboard-widget-titleimg.rss-icon {108 p.dashboard-widget-links img.rss-icon { 125 109 vertical-align: middle; 126 margin: .5em 0;127 110 } 128 111 … … 279 262 } 280 263 281 .widget-loading { 282 } 264 #dashboard_inbox div.dashboard-widget, #dashboard_quick_press div.dashboard-widget { 265 height: 35em; 266 padding-bottom: 0; 267 } 268 269 #dashboard_quick_press div.dashboard-widget-content { 270 padding-bottom: 0; 271 } 272 273 #dashboard_inbox p.actions { 274 margin-bottom:0pt; 275 margin-top: 0; 276 float:left; 277 } 278 279 #dashboard_quick_press h3 { 280 margin-bottom: 3px; 281 } 282 283 #dashboard_quick_press h3#quick-post-title { 284 margin-top: 0; 285 } 286 287 #dashboard_quick_press p.field-tip { 288 margin-top: 0; 289 font-style: italic; 290 } 291 292 #dashboard_quick_press .submit { 293 padding: 0 0 1em 0; 294 border-top: none; 295 border-bottom: 1px solid #ccc; 296 } 297 298 #dashboard_quick_press p#recent-drafts { 299 margin: 0; 300 } trunk/wp-admin/css/global.css
r7907 r8691 1 /* 2 column liquid layout */ 2 div#wpbody { 3 float: right; 4 clear: right; 5 width: 100%; 6 margin-left: -185px; 7 } 8 9 div#wpbody-content { 10 margin-left: 175px; 11 border-width: 1px 0 0 1px; 12 border-style: solid; 13 border-color: #c6d9e9; 14 padding-top: 10px; 15 } 16 17 ul#adminmenu { 18 float: left; 19 clear: left; 20 width: 165px; /* + 10 padding */ 21 position: relative; 22 } 23 24 /* inner 2 column liquid layout */ 25 26 .inner-sidebar { 27 float: right; 28 clear: right; 29 width: 220px; 30 position: relative; 31 } 32 33 .has-sidebar { 34 float: left; 35 clear: left; 36 width: 100%; 37 margin-right: -240px; 38 } 39 40 .has-sidebar .has-sidebar-content { 41 margin-right: 245px; 42 } 43 44 1 45 /* styles for use by people extending the WordPress interface */ 2 3 46 4 47 body { … … 91 134 92 135 .subsubsub li { display: inline; margin: 0; padding: 0; } 136 137 /* make it small? */ 138 .subsubsub li.spam { 139 font-size: .9em; 140 } 93 141 94 142 .widefat { … … 152 200 } 153 201 202 #wpbody .wrap { 203 position: relative; 204 } 205 154 206 .wrap, .updated, .error { 155 margin: 0; 156 margin-left: 15px; 157 margin-right: 15px; 158 padding: 0; 159 max-width: 980px; 207 margin: 0 15px; 208 padding: 0; 160 209 } 161 210 … … 164 213 border-style: solid; 165 214 padding: 0 0.6em; 166 max-width: 950px;167 215 margin-bottom: 1em; 168 216 } … … 190 238 clear: both; 191 239 font: 24px Georgia, "Times New Roman", Times, serif; 192 margin: 5px 0 0-4px;240 margin: 5px 0 10px -4px; 193 241 padding: 0; 194 242 padding-bottom: 7px; trunk/wp-admin/edit-form-advanced.php
r8656 r8691 22 22 $messages[3] = __('Custom field deleted.'); 23 23 $messages[4] = __('Post updated.'); 24 $messages[6] = __('Post published.'); 25 $messages[7] = __('Post saved.'); 24 26 25 27 if ( isset($_GET['revision']) ) … … 53 55 54 56 ?> 55 <?php if ( $notice ) : ?>56 <div id="notice" class="error"><p><?php echo $notice ?></p></div>57 <?php endif; ?>58 <?php if (isset($_GET['message'])) : ?>59 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>60 <?php endif; ?>61 57 62 58 <form name="post" action="post.php" method="post" id="post"> 63 <?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?> 64 <input type="hidden" name="mode" value="bookmarklet" /> 65 <?php endif; ?> 66 67 <div class="wrap"> 68 <h2><?php _e('Write Post') ?></h2> 69 <?php 70 71 if ( 0 == $post_ID) 72 wp_nonce_field('add-post'); 73 else 74 wp_nonce_field('update-post_' . $post_ID); 75 76 $form_pingback = '<input type="hidden" name="post_pingback" value="' . (int) get_option('default_pingback_flag') . '" id="post_pingback" />'; 77 78 $form_prevstatus = '<input type="hidden" name="prev_status" value="' . attribute_escape( $post->post_status ) . '" />'; 79 80 $saveasdraft = '<input name="save" type="submit" id="save" class="button" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />'; 81 82 ?> 83 84 <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 85 <input type="hidden" id="hiddenaction" name="action" value="<?php echo $form_action ?>" /> 86 <input type="hidden" id="originalaction" name="originalaction" value="<?php echo $form_action ?>" /> 87 <input type="hidden" id="post_author" name="post_author" value="<?php echo attribute_escape( $post->post_author ); ?>" /> 88 <input type="hidden" id="post_type" name="post_type" value="<?php echo $post->post_type ?>" /> 89 <input type="hidden" id="original_post_status" name="original_post_status" value="<?php echo $post->post_status ?>" /> 90 <input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" /> 91 <?php if ( 'draft' != $post->post_status ) wp_original_referer_field(true, 'previous'); ?> 92 93 <?php echo $form_extra ?> 94 95 <div id="poststuff"> 96 59 <div id="wpbody-content"> 60 61 62 <?php 63 64 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). 65 66 function post_submit_meta_box($post) { 67 global $action; 68 ?> 97 69 <div class="submitbox" id="submitpost"> 98 70 99 <div id="previewview"> 100 <?php if ( 'publish' == $post->post_status ) { ?> 101 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View this Post'); ?></a> 102 <?php } elseif ( 'edit' == $action ) { ?> 103 <a 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 this Post'); ?></a> 104 <?php } ?> 105 </div> 106 107 <div class="inside"> 71 72 73 <div class="inside-submitbox"> 108 74 109 75 <p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p> … … 131 97 <?php endif; ?> 132 98 <?php 133 if ( 0 != $post _ID ) {99 if ( 0 != $post->ID ) { 134 100 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 135 101 $stamp = __('Scheduled for:<br />%1$s at %2$s'); … … 162 128 <input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 163 129 <?php 164 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post _ID ) {130 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post->ID ) { 165 131 ?> 166 132 <?php if ( current_user_can('publish_posts') ) : ?> … … 172 138 } 173 139 174 if ( ( 'edit' == $action) && current_user_can('delete_post', $post _ID) )175 echo "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post _ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>";140 if ( ( 'edit' == $action) && current_user_can('delete_post', $post->ID) ) 141 echo "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>"; 176 142 ?> 177 143 <br class="clear" /> 178 <?php if ( 0 != $post_ID ): ?> 179 <?php if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) { 144 145 <!-- moved under the editor 146 <?php if ( 0 != $post->ID ): ?> 147 <?php if ( $last_id = get_post_meta($post->ID, '_edit_last', true) ) { 180 148 $last_user = get_userdata($last_id); 181 149 printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
