Ticket #18348: 18348.patch
File 18348.patch, 5.6 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/template.php
344 344 <?php else : ?> 345 345 <div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;"> 346 346 <?php endif; ?> 347 <div id="replyhead" style="display:none;">< ?php _e('Reply to Comment'); ?></div>347 <div id="replyhead" style="display:none;"><h5><?php _e( 'Reply to Comment' ); ?></h5></div> 348 348 349 349 <div id="edithead" style="display:none;"> 350 <h5><?php _e( 'Quick Edit' ); ?></h5> 350 351 <div class="inside"> 351 352 <label for="author"><?php _e('Name') ?></label> 352 353 <input type="text" name="newcomment_author" size="50" value="" tabindex="101" id="author" /> … … 364 365 <div style="clear:both;"></div> 365 366 </div> 366 367 367 <div id="replycontainer"><textarea rows="8" cols="40" name="replycontent" tabindex="104" id="replycontent"></textarea></div> 368 <div id="replycontainer"> 369 <?php 370 $quicktags_settings = array( 'quicktags_buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' ); 371 wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); 372 ?> 373 </div> 368 374 369 375 <p id="replysubmit" class="submit"> 370 376 <a href="#comments-form" class="cancel button-secondary alignleft" tabindex="106"><?php _e('Cancel'); ?></a> -
wp-admin/js/edit-comments.dev.js
366 366 $('.error', '#replysubmit').html('').hide(); 367 367 $('.waiting', '#replysubmit').hide(); 368 368 369 if ( $.browser.msie )370 $('#replycontainer, #replycontent').css('height', '120px');371 else372 $('#replycontainer').resizable('destroy').css('height', '120px');373 374 369 this.cid = ''; 375 370 } 376 371 }, … … 398 393 $('#edithead, #savebtn', editRow).show(); 399 394 $('#replyhead, #replybtn', editRow).hide(); 400 395 401 h = c.height();402 if ( h > 220 )403 if ( $.browser.msie )404 $('#replycontainer, #replycontent', editRow).height(h-105);405 else406 $('#replycontainer', editRow).height(h-105);407 408 396 c.after( editRow ).fadeOut('fast', function(){ 409 397 $('#replyrow').fadeIn(300, function(){ $(this).show() }); 410 398 }); … … 548 536 commentReply.init(); 549 537 $(document).delegate('span.delete a.delete', 'click', function(){return false;}); 550 538 551 if ( typeof QTags != 'undefined' )552 quicktags({id: 'replycontent', buttons: 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close'});553 539 554 540 if ( typeof $.table_hotkeys != 'undefined' ) { 555 541 make_hotkeys_redirect = function(which) { -
wp-admin/css/colors-fresh.dev.css
60 60 #your-profile fieldset, 61 61 #rightnow, 62 62 div.dashboard-widget, 63 #dashboard-widgets p.dashboard-widget-links, 64 #replyrow #ed_reply_toolbar input { 63 #dashboard-widgets p.dashboard-widget-links { 65 64 border-color: #ccc; 66 65 } 67 66 … … 1259 1258 color: #000; 1260 1259 } 1261 1260 1262 #replysubmit {1263 background-color: #f1f1f1;1264 border-top-color: #ddd;1265 }1266 1267 1261 #replyerror { 1268 1262 border-color: #ddd; 1269 1263 background-color: #f9f9f9; 1270 1264 } 1271 1265 1272 #edithead,1273 #replyhead {1274 background-color: #f1f1f1;1275 }1276 1277 #ed_reply_toolbar {1278 background-color: #e9e9e9;1279 }1280 1281 1266 /* table vim shortcuts */ 1282 1267 .vim-current, 1283 1268 .vim-current th, … … 1325 1310 /* inline editor */ 1326 1311 .inline-edit-row fieldset input[type="text"], 1327 1312 .inline-edit-row fieldset textarea, 1328 #bulk-titles, 1329 #replyrow input { 1313 #bulk-titles { 1330 1314 border-color: #ddd; 1331 1315 } 1332 1316 … … 1348 1332 background-color: #f1f1f1; 1349 1333 } 1350 1334 1351 #replyrow #ed_reply_toolbar input:hover {1352 border-color: #aaa;1353 background: #ddd;1354 }1355 1356 1335 fieldset.inline-edit-col-right .inline-edit-col { 1357 1336 border-color: #dfdfdf; 1358 1337 } -
wp-admin/css/wp-admin.dev.css
3590 3590 } 3591 3591 3592 3592 /* reply to comments */ 3593 #replyrow {3594 font-size: 11px;3595 }3596 3597 3593 #replyrow input { 3598 3594 border-width: 1px; 3599 3595 border-style: solid; … … 3603 3599 padding: 2px; 3604 3600 } 3605 3601 3606 #replyrow .wp-editor-container {3607 border: 0 none;3608 }3609 3610 3602 #replysubmit { 3611 3603 margin: 0; 3612 3604 padding: 3px 7px; 3613 text-align: center;3605 text-align: center; 3614 3606 } 3615 3607 3616 3608 #replysubmit img.waiting, … … 3625 3617 } 3626 3618 3627 3619 #replysubmit .error { 3628 color: red;3629 line-height: 21px;3630 text-align: center;3631 vertical-align: center;3620 color: red; 3621 line-height: 21px; 3622 text-align: center; 3623 vertical-align: center; 3632 3624 } 3633 3625 3634 #replyrow #editor-toolbar { 3635 display: none; 3626 #replyrow h5 { 3627 margin: .2em 0; 3628 padding: 0 5px; 3629 line-height: 23px; 3630 text-transform: uppercase; 3631 font-size: 1em; 3636 3632 } 3637 3633 3638 #replyhead {3639 font-size: 12px;3640 font-weight: bold;3641 padding: 2px 10px 4px;3642 }3643 3644 3634 #edithead .inside { 3645 3635 float: left; 3646 3636 padding: 3px 0 2px 5px; 3647 3637 margin: 0; 3648 3638 text-align: center; 3649 font-size: 11px;3650 3639 } 3651 3640 3652 3641 #edithead .inside input { 3653 3642 width: 180px; 3654 font-size: 11px;3655 3643 } 3656 3644 3657 3645 #edithead label { … … 3660 3648 3661 3649 #replycontainer { 3662 3650 padding: 5px; 3663 border: 0 none;3664 height: 120px;3665 overflow: hidden;3666 position: relative;3667 3651 } 3668 3652 3669 3653 #replycontent { 3670 resize: none; 3671 margin: 0; 3672 width: 100%; 3673 height: 100%; 3674 padding: 0; 3675 line-height: 150%; 3676 border: 0 none; 3677 outline: none; 3678 font-size: 12px; 3654 border: none; 3655 height: 150px; 3679 3656 } 3680 3657 3681 #replyrow #ed_reply_toolbar {3682 margin: 0;3683 padding: 2px 3px;3684 }3685 3686 3658 .comment-ays { 3687 3659 margin-bottom: 0; 3688 3660 border-style: solid;