Changeset 9384
- Timestamp:
- 10/28/2008 10:59:26 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 14 edited
-
wp-admin/css/colors-fresh.css (modified) (18 diffs)
-
wp-admin/css/global.css (modified) (1 diff)
-
wp-admin/css/ie.css (modified) (1 diff)
-
wp-admin/edit-form-advanced.php (modified) (2 diffs)
-
wp-admin/edit-form-comment.php (modified) (1 diff)
-
wp-admin/edit-page-form.php (modified) (3 diffs)
-
wp-admin/images/ed-bg.gif (added)
-
wp-admin/images/postbox-bg.gif (added)
-
wp-admin/images/resize.gif (added)
-
wp-admin/includes/media.php (modified) (1 diff)
-
wp-admin/includes/post.php (modified) (1 diff)
-
wp-admin/js/editor.js (modified) (4 diffs)
-
wp-admin/wp-admin.css (modified) (9 diffs)
-
wp-includes/general-template.php (modified) (2 diffs)
-
wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/butt2.png (modified) (previous)
-
wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css (modified) (7 diffs)
-
wp-includes/script-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-fresh.css
r9369 r9384 1 2 textarea, input, select { 3 border-color: #dfdfdf; 4 } 1 5 2 6 #sidemenu-bg, … … 11 15 12 16 body, 17 #wpbody, 13 18 .form-table .pre, 14 19 .find-box-inside { 15 background-color: #f ff;20 background-color: #f9f9f9; 16 21 color: #333; 17 22 } … … 65 70 } 66 71 67 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 68 #poststuff h3, .metabox-holder h3, #replyhandle, 69 .login form, h3.info-box-title, #post-status-info, #screen-options-wrap, 70 #wpbody-content .describe tr, #edithead, #replyhead { 72 li.widget-list-control-item, 73 div.nav, 74 .tablenav, 75 #dashboard-widgets p.dashboard-widget-links, 76 #replyhandle, 77 .login form, h3.info-box-title, 78 #screen-options-wrap, 79 #wpbody-content .describe tr, 80 #edithead, 81 #replyhead { 71 82 background-color: #eaf3fa; 83 } 84 85 #poststuff h3, 86 .metabox-holder h3 { 87 background-color: #dfdfdf; 72 88 } 73 89 … … 87 103 88 104 #post-body ul#category-tabs li.ui-tabs-selected, 89 # quicktags, #login form .submit input, .search-box .button,105 #login form .submit input, .search-box .button, 90 106 #ed_reply_toolbar { 91 107 background-color: #cee1ef !important; … … 365 381 } 366 382 367 #adminmenu 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, .ui-sortable .postbox h3:hover span,a {383 #adminmenu 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 { 368 384 color: #2583ad; 369 385 } … … 482 498 } 483 499 484 #poststuff #editor-toolbar { 485 background-color: #cee1ef; 486 } 487 488 #poststuff #editor-toolbar .active { 489 background-color: #EAF3FA; 490 color: #333; 491 } 492 493 .metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox { 494 border-color: #ebebeb; 495 border-right-color: #ccc; 496 border-bottom-color: #ccc; 497 } 498 499 .metabox-holder .postbox, #poststuff .postbox { 500 .metabox-holder .postbox, 501 #poststuff .postbox, 502 #titlediv, 503 #poststuff .postarea, 504 #poststuff .stuffbox { 505 border-color: #dfdfdf; 506 } 507 508 .metabox-holder .postbox, 509 #poststuff .postbox { 500 510 background-color: #FFF; 501 511 } 512 513 .ui-sortable .postbox h3 { 514 color: #555; 515 } 516 517 .ui-sortable .postbox h3:hover { 518 color: #000; 519 } 502 520 503 521 .curtime #timestamp { … … 606 624 } 607 625 626 /* editors */ 627 #quicktags { 628 border-color: #dfdfdf; 629 background-color: #dfdfdf; 630 } 631 632 #poststuff .wp_themeSkin .mceStatusbar { 633 border-color: #EDEDED; 634 } 635 636 #poststuff #edButtonPreview, 637 #poststuff #edButtonHTML { 638 background-color: #f1f1f1; 639 border-color: #dfdfdf; 640 color: #999; 641 } 642 643 #poststuff #editor-toolbar .active { 644 border-bottom-color: #e9e9e9; 645 background-color: #e9e9e9; 646 color: #333; 647 } 648 608 649 /* TinyMCE */ 650 #post-status-info { 651 background-color: #EDEDED; 652 } 653 609 654 .wp_themeSkin *, 610 655 .wp_themeSkin a:hover, … … 617 662 /* Containers */ 618 663 .wp_themeSkin table, #wp_editbtns { 664 /* 619 665 background: #cee1ef; 666 */ 620 667 } 621 668 … … 626 673 /* Layout */ 627 674 .wp_themeSkin .mceStatusbar { 628 color: #000;629 background-color: # eaf3fa;675 color: #000; 676 background-color: #f5f5f5; 630 677 } 631 678 … … 633 680 .wp_themeSkin .mceButton { 634 681 background-color: #e9e8e8; 635 border-color: # abc0fb;682 border-color: #B2B2B2; 636 683 } 637 684 … … 639 686 .wp_themeSkin a.mceButtonActive, 640 687 .wp_themeSkin a.mceButtonSelected { 641 background-color: #d 6d8da;642 border-color: #77 89ba!important;688 background-color: #d5d5d5; 689 border-color: #777 !important; 643 690 } 644 691 645 692 .wp_themeSkin .mceButtonDisabled { 646 border-color: # bdd!important;693 border-color: #ccc !important; 647 694 } 648 695 … … 650 697 .wp_themeSkin .mceListBox .mceText, 651 698 .wp_themeSkin .mceListBox .mceOpen { 652 border-color: # abc0fb;653 background-color: # e9e8e8;699 border-color: #B2B2B2; 700 background-color: #d5d5d5; 654 701 } 655 702 … … 658 705 .wp_themeSkin .mceListBoxSelected .mceOpen, 659 706 .wp_themeSkin .mceListBoxSelected .mceText { 660 border-color: #77 89ba!important;661 background-color: #d 6d8da;707 border-color: #777 !important; 708 background-color: #d5d5d5; 662 709 } 663 710 664 711 .wp_themeSkin table.mceListBoxEnabled:hover .mceText, 665 712 .wp_themeSkin .mceListBoxHover .mceText { 666 border-color: #77 89ba!important;713 border-color: #777 !important; 667 714 } 668 715 669 716 .wp_themeSkin select.mceListBox { 670 border-color: # b3c7e1;717 border-color: #B2B2B2; 671 718 background-color: #fff; 672 719 } … … 675 722 .wp_themeSkin .mceSplitButton a.mceAction, 676 723 .wp_themeSkin .mceSplitButton a.mceOpen { 677 background-color: #e 9e8e8;678 border-color: # abc0fb;724 background-color: #e8e8e8; 725 border-color: #B2B2B2; 679 726 } 680 727 … … 683 730 .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, 684 731 .wp_themeSkin .mceSplitButton a.mceAction:hover { 685 background-color: #d 6d8da;686 border-color: #77 89ba!important;732 background-color: #d5d5d5; 733 border-color: #777 !important; 687 734 } 688 735 689 736 .wp_themeSkin .mceSplitButtonActive { 690 background-color: # d6d8da;737 background-color: #B2B2B2; 691 738 } 692 739 693 740 /* ColorSplitButton */ 694 741 .wp_themeSkin div.mceColorSplitMenu table { 695 background-color: #ebe aeb;696 border-color: # 808080;742 background-color: #ebebeb; 743 border-color: #B2B2B2; 697 744 } 698 745 699 746 .wp_themeSkin .mceColorSplitMenu a { 700 border-color: # 808080;747 border-color: #B2B2B2; 701 748 } 702 749 … … 729 776 .wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover, 730 777 .wp_themeSkin .mceMenu .mceMenuItemActive { 731 background-color: # CEE1EF;778 background-color: #f5f5f5; 732 779 } 733 780 .wp_themeSkin td.mceMenuItemSeparator { … … 745 792 } 746 793 794 .wp_themeSkin tr.mceFirst { 795 background-color: #dfdfdf; 796 border-color: #dfdfdf; 797 } 798 747 799 /* pop-up */ 748 800 .clearlooks2 .mceTop .mceLeft, .clearlooks2 .mceTop .mceRight { 749 background-color: # cee1ef;801 background-color: #f5f5f5; 750 802 border-color: #c6d9e9; 751 803 } … … 757 809 /* end TinyMCE */ 758 810 759 #editorcontainer, #post-status-info { 760 border-color: #ccc; 761 } 762 811 #editorcontainer, 812 #post-status-info, 763 813 #poststuff #titlewrap { 764 border-color: #ccc; 814 border-color: #dfdfdf; 815 } 816 817 #poststuff #titlewrap { 818 background-color: #fff; 765 819 } 766 820 -
trunk/wp-admin/css/global.css
r9363 r9384 98 98 margin: 1px; 99 99 padding: 3px; 100 border-width: 1px; 101 border-style: solid; 100 102 } 101 103 -
trunk/wp-admin/css/ie.css
r9306 r9384 159 159 } 160 160 161 * html #editorcontainer #content { 162 position: relative; 161 #editorcontainer #content { 163 162 overflow: auto; 164 padding: 6px;165 163 margin: auto; 166 164 width: 98%; -
trunk/wp-admin/edit-form-advanced.php
r9365 r9384 509 509 <div id="post-body-content" class="has-sidebar-content"> 510 510 <div id="titlediv"> 511 <h3><label for="title"><?php _e('Title') ?></label></h3>512 511 <div id="titlewrap"> 513 512 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" /> … … 527 526 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 528 527 529 <div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&type=image&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div> 530 531 <h3><?php _e('Post') ?></h3> 528 <!--<div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&type=image&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div>--> 532 529 533 530 <?php the_editor($post->post_content); ?> -
trunk/wp-admin/edit-form-comment.php
r9155 r9384 19 19 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 20 20 <div class="wrap"> 21 <h2><?php _e('Edit Comment'); ?></h2> 21 22 22 23 <div id="poststuff" class="metabox-holder"> -
trunk/wp-admin/edit-page-form.php
r9363 r9384 395 395 396 396 <div id="titlediv"> 397 <h3><label for="title"><?php _e('Title') ?></label></h3>398 397 <div id="titlewrap"> 399 398 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" /> … … 411 410 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 412 411 413 <div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&type=image&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div>414 415 <h3><?php _e('Page') ?></h3>416 412 <?php the_editor($post->post_content); ?> 417 413 <div id="post-status-info"> … … 434 430 </div> 435 431 436 437 432 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 438 433 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> -
trunk/wp-admin/includes/media.php
r9328 r9384 321 321 global $post_ID, $temp_ID; 322 322 $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); 323 $context = apply_filters('media_buttons_context', __(' Add media:%s'));323 $context = apply_filters('media_buttons_context', __('Upload %s')); 324 324 $media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID"; 325 $media_title = __(' Add Media');325 $media_title = __('Upload Media'); 326 326 $image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&type=image"); 327 $image_title = __(' Add an Image');327 $image_title = __('Upload an Image'); 328 328 $video_upload_iframe_src = apply_filters('video_upload_iframe_src', "$media_upload_iframe_src&type=video"); 329 $video_title = __(' Add Video');329 $video_title = __('Upload Video'); 330 330 $audio_upload_iframe_src = apply_filters('audio_upload_iframe_src', "$media_upload_iframe_src&type=audio"); 331 $audio_title = __(' Add Audio');331 $audio_title = __('Upload Audio'); 332 332 $out = <<<EOF 333 333 -
trunk/wp-admin/includes/post.php
r9353 r9384 1142 1142 'gecko_spellcheck' => true, 1143 1143 'entities' => '38,amp,60,lt,62,gt', 1144 'accessibility_focus' => false,1145 'tab_focus' => ': next',1144 'accessibility_focus' => true, 1145 'tab_focus' => ':prev,:next', 1146 1146 'content_css' => "$mce_css", 1147 1147 'save_callback' => 'switchEditors.saveCallback', -
trunk/wp-admin/js/editor.js
r9019 r9384 17 17 } else { 18 18 try { 19 this.I('editorcontainer').style.padding = '0px';20 19 this.I("quicktags").style.display = "none"; 21 20 } catch(e){}; … … 101 100 var P = this.I('edButtonPreview'); 102 101 var ta = this.I(id); 103 var ec = (ta.parentNode && ta.parentNode.nodeName == 'DIV') ? ta.parentNode : '';104 102 105 103 if ( 'tinymce' == mode ) { … … 116 114 117 115 qt.style.display = 'none'; 118 ta.style.padding = '0px';119 if ( ec )120 ec.style.padding = '0px';121 116 122 117 ta.value = this.wpautop(ta.value); … … 138 133 ed.hide(); 139 134 qt.style.display = 'block'; 140 141 if ( tinymce.isIE6 ) {142 ta.style.width = '98%';143 if ( ec )144 ec.style.padding = '0px';145 ta.style.padding = '6px';146 } else {147 ta.style.width = '100%';148 if ( ec )149 ec.style.padding = '6px';150 }151 135 152 136 ta.style.color = ''; -
trunk/wp-admin/wp-admin.css
r9365 r9384 299 299 -webkit-border-radius: 11px; 300 300 border-radius: 11px; 301 -moz-box-sizing: content-box; 301 302 } 302 303 … … 378 379 } 379 380 381 #wpbody-content .metabox-holder { 382 padding-top: 10px; 383 } 384 380 385 #postdivrich { 381 386 margin: 0; … … 389 394 390 395 #editorcontainer #content { 391 padding: 0;396 padding: 6px; 392 397 line-height: 150%; 393 398 border: 0 none; 394 399 outline: none; 395 } 396 397 #editorcontainer { 398 padding: 6px; 399 border-style: none solid solid; 400 -moz-box-sizing: border-box; 401 -webkit-box-sizing: border-box; 402 box-sizing: border-box; 403 } 404 405 #editorcontainer, 406 #quicktags { 407 border-style: solid; 400 408 border-width: 1px; 401 409 border-collapse: separate; 410 -moz-border-radius: 6px 6px 0 0; 411 -webkit-border-top-right-radius: 6px; 412 -webkit-border-top-left-radius: 6px; 413 -khtml-border-top-right-radius: 6px; 414 -khtml-border-top-left-radius: 6px; 415 border-top-right-radius: 6px; 416 border-top-left-radius: 6px; 402 417 } 403 418 404 419 #quicktags { 405 420 padding: 0; 406 border: 0 none; 421 margin-bottom: -3px; 422 border-bottom-width: 3px; 423 background-image: url("images/ed-bg.gif"); 424 background-position: left top; 425 background-repeat: repeat-x; 407 426 } 408 427 409 428 #quicktags #ed_toolbar { 410 padding: 2px 4px ;429 padding: 2px 4px 0; 411 430 } 412 431 … … 1324 1343 font-size: 12px; 1325 1344 line-height: 2; 1326 padding: 0 7px; 1327 border: 1px solid; 1328 border-top: none; 1345 padding: 0 15px 0 7px; 1346 border-width: 0 1px 1px; 1347 border-style: none solid solid; 1348 -moz-border-radius: 0 0 6px 6px; 1349 -webkit-border-bottom-left-radius: 6px; 1350 -webkit-border-bottom-right-radius: 6px; 1351 -khtml-border-bottom-left-radius: 6px; 1352 -khtml-border-bottom-right-radius: 6px; 1353 border-bottom-left-radius: 6px; 1354 border-bottom-right-radius: 6px; 1329 1355 } 1330 1356 … … 1332 1358 border: none; 1333 1359 } 1360 1361 #post-body-content .wp_themeSkin .mceStatusbar a.mceResize { 1362 display: block; 1363 float: right; 1364 background: transparent url(images/resize.gif) no-repeat scroll right bottom; 1365 width: 12px; 1366 height: 12px; 1367 cursor: se-resize; 1368 margin: 0 2px; 1369 position: relative; 1370 right: 0; 1371 top: 31px; 1372 } 1373 1334 1374 1335 1375 #pagesubmitdiv div.inside, … … 1424 1464 } 1425 1465 1426 #poststuff h3, .metabox-holder h3 { 1427 font-size: 14px; 1466 #poststuff h3, 1467 .metabox-holder h3 { 1468 font-size: 12px; 1428 1469 font-weight: bold; 1429 padding: 7px;1470 padding: 6px 7px; 1430 1471 margin: 0 0 10px; 1431 1472 } 1432 1473 1433 .metabox-holder .postbox, #poststuff .postbox, #poststuff .stuffbox { 1434 padding: 2px; 1474 .metabox-holder .postbox, 1475 #poststuff .postbox, 1476 #poststuff .stuffbox { 1435 1477 margin-bottom: 20px; 1436 1478 border-width: 1px; 1437 1479 border-style: solid; 1480 -moz-border-radius: 6px; 1481 -khtml-border-radius: 6px; 1482 -webkit-border-radius: 6px; 1483 border-radius: 6px; 1484 } 1485 1486 .metabox-holder .postbox h3, 1487 #poststuff .postbox h3, 1488 #poststuff .stuffbox h3 { 1489 background-image: url("images/postbox-bg.gif"); 1490 background-position: left top; 1491 background-repeat: repeat-x; 1438 1492 } 1439 1493 … … 1465 1519 1466 1520 #poststuff #titlewrap { 1467 padding: 2px 3px;1521 padding: 3px 4px; 1468 1522 border-width: 1px; 1469 1523 border-style: solid; 1524 -moz-border-radius: 6px; 1525 -khtml-border-radius: 6px; 1526 -webkit-border-radius: 6px; 1527 border-radius: 6px; 1470 1528 } 1471 1529 … … 1492 1550 #edit-slug-box { 1493 1551 margin-top: 8px; 1494 } 1495 1496 #editable-post-name-full { display: none; } 1497 1498 #editable-post-name input { width: 16em; } 1552 padding: 0 7px; 1553 } 1554 1555 #editable-post-name-full { 1556 display: none; 1557 } 1558 1559 #editable-post-name input { 1560 width: 16em; 1561 } 1499 1562 1500 1563 #edit-slug-buttons a.save { … … 1523 1586 1524 1587 #poststuff #editor-toolbar { 1525 clear: both; 1526 position: relative; 1527 margin-top: -10px; 1528 } 1529 #poststuff #editor-toolbar #edButtonHTML, #poststuff #editor-toolbar #edButtonPreview { 1530 position: relative; 1531 top: -5px; 1532 } 1533 1534 #poststuff #edButtonPreview, #poststuff #edButtonHTML { 1588 height: 30px; 1589 } 1590 1591 .wp_themeSkin tr.mceFirst { 1592 background-image: url("images/ed-bg.gif"); 1593 background-position: left top; 1594 background-repeat: repeat-x; 1595 border-width: 0 0 1px; 1596 border-style: none none solid; 1597 } 1598 1599 #poststuff #edButtonPreview, 1600 #poststuff #edButtonHTML { 1535 1601 display: block; 1536 height: 20px;1537 padding: 5px 5px 1px;1538 margin: 5px 8px 0 0;1602 height: 18px; 1603 margin: 5px 5px 0 0; 1604 padding: 4px 5px 2px; 1539 1605 float: right; 1540 1606 cursor: pointer; 1607 border-width: 1px; 1608 border-style: solid; 1609 -moz-border-radius: 3px 3px 0 0; 1610 -webkit-border-top-right-radius: 3px; 1611 -webkit-border-top-left-radius: 3px; 1612 -khtml-border-top-right-radius: 3px; 1613 -khtml-border-top-left-radius: 3px; 1614 border-top-right-radius: 3px; 1615 border-top-left-radius: 3px; 1616 } 1617 1618 #poststuff #edButtonHTML { 1619 margin-right: 15px; 1541 1620 } 1542 1621 1543 1622 #poststuff #editor-toolbar .active { 1544 font-weight: bold; 1545 -moz-border-radius: 0 0 3px 3px; 1546 -webkit-border-bottom-right-radius: 3px; 1547 -webkit-border-bottom-left-radius: 3px; 1548 -khtml-border-bottom-right-radius: 3px; 1549 -khtml-border-bottom-left-radius: 3px; 1550 border-bottom-right-radius: 3px; 1551 border-bottom-left-radius: 3px; 1623 /*font-weight: bold;*/ 1552 1624 } 1553 1625 1554 1626 #poststuff #media-buttons { 1555 float: right;1556 margin-right: 20px;1557 margin-top: 8px;1558 1627 cursor: default; 1559 line-height: 1; 1560 height: 1.1em; 1628 padding: 8px 8px 0; 1561 1629 } 1562 1630 1563 1631 #poststuff #media-buttons a { 1564 1632 cursor: pointer; 1565 padding: 0 5px 2px 2px; 1633 padding: 0 0 5px 10px; 1634 vertical-align: middle; 1566 1635 } 1567 1636 -
trunk/wp-includes/general-template.php
r9376 r9384 1495 1495 } 1496 1496 1497 /*if ( $media_buttons ) { ?>1497 if ( $media_buttons ) { ?> 1498 1498 <div id="media-buttons" class="hide-if-no-js"> 1499 1499 <?php do_action( 'media_buttons' ); ?> 1500 1500 </div> 1501 <?php } */?>1501 <?php } ?> 1502 1502 </div> 1503 1503 … … 1520 1520 if ( typeof tinyMCE != 'undefined' ) { 1521 1521 // This code is meant to allow tabbing from Title to Post (TinyMCE). 1522 document.getElementById('<?php echo $prev_id; ?>').onkeydown = function (e) { 1523 e = e || window.event; 1524 if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { 1525 if ( tinyMCE.activeEditor ) { 1526 if ( (jQuery("#post_ID").val() < 1) && (jQuery("#title").val().length > 0) ) { autosave(); } 1527 e = null; 1528 if ( tinyMCE.activeEditor.isHidden() ) return true; 1522 jQuery('#<?php echo $prev_id; ?>').keydown(function (e) { 1523 if (e.which == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { 1524 if ( (jQuery("#post_ID").val() < 1) && (jQuery("#title").val().length > 0) ) { autosave(); } 1525 if ( tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden() ) { 1529 1526 tinyMCE.activeEditor.focus(); 1527 e.preventDefault(); 1530 1528 return false; 1531 1529 } 1532 return true;1530 return; 1533 1531 } 1534 } 1532 }); 1535 1533 } 1536 1534 <?php } ?> -
trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css
r9090 r9384 20 20 .wp_themeSkin table.mceLayout {border:0;} 21 21 .wp_themeSkin .mceIframeContainer {} 22 .wp_themeSkin .mceStatusbar {display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible;height:20px;} 22 .wp_themeSkin .mceStatusbar { 23 display: block; 24 font-family: 'MS Sans Serif',sans-serif,Verdana,Arial; 25 font-size: 9pt; 26 line-height: 16px; 27 overflow: visible; 28 height: 20px; 29 border-top-width: 1px; 30 border-top-style: solid; 31 } 23 32 .wp_themeSkin .mceStatusbar div {float:left; padding:2px;} 24 .wp_themeSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize} 33 .wp_themeSkin .mceStatusbar a.mceResize { 34 display: block; 35 float: right; 36 background: url(../../img/icons.gif) -800px 0; 37 width: 20px; 38 height: 20px; 39 cursor: se-resize 40 } 25 41 .wp_themeSkin .mceStatusbar a:hover {text-decoration:underline} 26 42 .wp_themeSkin table.mceToolbar {margin: 0 2px 2px;} … … 39 55 margin: 1px; 40 56 background-image: url(img/butt2.png); 41 background-position: 2px 1px;42 background-repeat: no-repeat;57 background-position: left top; 58 background-repeat: repeat-x; 43 59 -moz-border-radius: 3px; 44 60 -webkit-border-radius: 3px; … … 49 65 .wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} 50 66 .wp_themeSkin a.mceButtonEnabled:hover { 51 background-position:0 - 20px;67 background-position:0 -10px; 52 68 } 53 69 .wp_themeSkin a.mceButtonActive, .wp_themeSkin a.mceButtonSelected { 54 background- position:0 -20px;70 background-image: inherit; 55 71 } 56 72 .wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30);} … … 75 91 width:70px; 76 92 background-image: url(img/butt2.png); 77 background-position: 1px 1px;93 background-position: left top; 78 94 background-repeat: repeat-x; 79 95 font-family: Tahoma,Verdana,Arial,Helvetica; … … 92 108 border-collapse: separate; 93 109 background-image: url(img/butt2.png); 94 background-position: 1px 1px;110 background-position: left top; 95 111 background-repeat: repeat-x; 96 112 padding: 1px; … … 132 148 width:20px; 133 149 background-image: url(img/butt2.png); 134 background-position: 1px 1px;150 background-position: left top; 135 151 background-repeat: repeat-x; 136 152 padding: 1px 2px; … … 145 161 border-collapse:separate; 146 162 background-image: url(img/butt2.png); 147 background-position: 1px 1px;163 background-position: left top; 148 164 background-repeat: repeat-x; 149 165 padding: 1px; -
trunk/wp-includes/script-loader.php
r9330 r9384 62 62 // Modify this version when tinyMCE plugins are changed. 63 63 function mce_version() { 64 return '2008 0930';64 return '20081028'; 65 65 } 66 66 add_filter( 'tiny_mce_version', 'mce_version' ); … … 278 278 279 279 $scripts->add( 'hoverIntent', '/wp-includes/js/hoverIntent.js', array('jquery'), '20070327' ); 280 $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '2008102 3' );280 $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '20081028' ); 281 281 282 282 }
Note: See TracChangeset
for help on using the changeset viewer.