变更集20164
时间戳: 2012年9月3日上午01:30:11 ( 12年 (之前) 位置: 大旅行箱 文件夹: -
8已编辑
-
wp-admin/css/colors-classic.dev.css (已修改) ( 1个差异 ) -
wp-admin/css/colors-fresh.dev.css (已修改) ( 3个差异 ) -
wp-admin/css/wp-admin开发.css (已修改) ( 5个差异 ) -
wp-admin/includes/meta-boxes.php (已修改) ( 1个差异 ) -
wp-admin/includes/template.php (已修改) ( 2个差异 ) -
wp-admin/js/edit-comments.dev.js (已修改) ( 5个差异 ) -
wp-admin/js/post.dev.js (已修改) ( 1个差异 ) -
wp-includes/css/editor按钮.dev.css (已修改) ( 1个差异 )
图例:
未修改 补充 远离的
-
trunk/wp-admin/css/colors-classic.dev.css 20149年 2016年4月 288 288 } 289 289 290 .提交{ 291 border-color:#DFDFDF; 290 .提交, 291 #commentsdiv#add-new-comments评论{ 292 边框颜色:#dfdfdf; 292 293 } 293 294 -
主干/wp-admin/css/colors-fresh.dev.css 20149年 2016年4月 296 296 } 297 297 298 .提交{ 299 border-color:#DFDFDF; 298 .提交, 299 #commentsdiv#add-new-comments评论{ 300 border-color:#dfdfdf; 300 301 } 301 302 … … 1534 1535 1535 1536 div.widgets-sortables、, 1536 #小部件-left.inactive{ 1537 背景色:#fcfcfc; 1538 border-color:#dfdfdf; 1539 } 1540 1537 #小部件-左。非活动, 1541 1538 #可用的widgets.widget-holder{ 1542 1539 背景色:#fcfcfc; … … 1665 1662 } 1666 1663 1667 .list-container{ 1668 border-color:#DFDFDF; 1669 } 1670 1664 .list-container, 1671 1665 .menu-item-handle菜单{ 1672 1666 border-color:#dfdfdf; -
trunk/wp-admin/css/wp-admin.dev.css 2014年20月 2016年4月 2401 2401 } 2402 2402 2403 #commentsdiv.fixed.专栏作者, 2404 2403 #评论-form.fixed.colum-author{ 2405 2404 宽度:20%; … … 2411 2410 } 2412 2411 2413 #注释div .邮箱 .inside.行操作{ 2412 #注释div .inside.行操作{ 2414 2413 线高:18px; 2415 2414 } 2416 2415 2417 #commentsdiv.postbox td内部{ 2418 填充:1em 10px; 2419 } 2420 2421 #commentsdiv.postbox.inside.polumn作者{ 2422 宽度:33%; 2423 } 2424 2425 #commentsdiv.postbox。内部p{ 2426 边距:6px 10px 8px; 2427 } 2428 2429 #commentsdiv.postbox.column-commentp评论{ 2430 边距:0.6em 0; 2431 } 2432 2433 #commentsdiv.postbox#回复td{ 2434 填充:0; 2416 #评论iv.内部.专栏作者{ 2417 宽度:25%; 2418 } 2419 2420 #评论iv.专栏评论p{ 2421 边距:0.6em 0; 2422 填充:0; 2423 } 2424 2425 #commentsdiv#replyrow td评论{ 2426 填充:0; 2427 } 2428 2429 #评论div p{ 2430 填充:8像素10像素; 2431 边距:0; 2432 } 2433 2434 #commentsdiv#add-new-comments评论{ 2435 边框宽度:0 0 1px; 2436 边界样式:无无实体; 2437 } 2438 2439 #commentsdiv.评论框{ 2440 边框:0无; 2441 } 2442 2443 #commentsdi.comments-box head th评论{ 2444 背景:透明; 2445 填充:0 7px 4px; 2446 字体样式:斜体; 2447 } 2448 2449 #commentsdiv.comments-box tr:last-child td评论框{ 2450 边框底部:0无; 2451 } 2452 2453 #评论iv img.waiting{ 2454 左侧填充:5px; 2435 2455 } 2436 2456 … … 3113 3133 float:无; 3114 3134 边距:0; 3115 填充: 3像素7 二甲苯; 3135 填充: 0 7像素5 二甲苯; 3116 3136 } 3117 3137 … … 3127 3147 } 3128 3148 3129 #side-sortables.comments-box, 3130 #普通可携带物品。注释框{ 3131 边框:0无; 3132 } 3133 3134 3149 ul.类别-选项卡, 3135 3150 ul.add-menu-item-tabs, 3136 3151 ul.wp-tab-bar公司{ 3137 3152 边距顶部:12px; 3138 } 3139 3140 #可分页。注释-框头th, 3141 #正常的可携带物品。注释-框头和th{ 3142 背景:透明; 3143 填充:0 7px 4px; 3144 字体样式:斜体; 3145 3153 } 3146 3154 … … 3150 3158 边界样式:实心-实心-无; 3151 3159 边框宽度:1px 1px 0; 3152 } 3153 3154 #评论iv img.waiting{ 3155 padding-left:5px; 3156 3160 } 3157 3161 -
trunk/wp-admin/includes/meta-boxes.php 20077年 2016年2月 472 472 全局$wpdb,$post_ID; 473 473 474 wp_nonce_field('get-comments','add_comment_nonce',false); 475 ?> 476 <p class=“hide-if-no-js”id=“add-new-comment”><a href=“#commentstatusdiv”onclick=“commentReply.addcomment(<?php-echo$post_id;?>);return false;“><? php_e(“添加注释”);?></ a></p> 477 <? php(电话) 478 474 479 $total=$wpdb->get_var($wpdb->prepare(“SELECT count(1)FROM$wpdb->comments WHERE comment_post_ID='%d'AND(comment_approved='0'OR comment_aapproved='1')”,$post_ID)); 475 476 如果(1>$总计){ 477 echo“<p>”__ (“还没有评论。”)</ p> '; 478 回报; 479 } 480 481 wp_nonce_field('get-comments','add_comment_nonce',false); 482 483 480 $wp_list_table=获取列表表('wp_Post_Comments_list_table'); 484 481 $wp_list_table->显示(true); 485 ?> 486 <p class=“hide-if-no-js”><a href=“#commentstatusdiv”id=“show-comments”onclick=“commentsBox.get(<?php-echo$total;?>);return false;“><? php_e(“显示评论”);?></ a> <img class=“waiting”style=“display:none;”src=“<?php echo esc_url(admin_url,'images/wpspin_light.gif');?>”alt=“”/></p> 487 <? php(电话) 488 $hidden=get_hidden_meta_box('post'); 489 if(!in_array('commentsdiv',$hidden)){?> 490 jQuery(document).ready(function(){commentsBox.get(<?php-echo$total;?>,10);})</ 脚本> 491 <? php(电话) 482 483 如果(1>$总计){ 484 echo'<p id=“no-comments”>'__ (“还没有评论。”)</ p> '; 485 }其他{ 486 $hidden=get_hidden_meta_box('post'); 487 if(!in_array('commentsdiv',$hidden)){ 488 ?> 489 jQuery(document).ready(function(){commentsBox.get(<?php-echo$total;?>,10);})</ 脚本> 490 <? php(电话) 491 } 492 492 } 493 494 ?> 495 <p class=“hide-if-no-js hidden”id=“show-comments”><a href=“#commentstatusdiv”onclick=“commentsBox.get(<?php-echo$total;?>);return false;“><? php_e(“显示评论”);?></ a> <img class=“waiting”style=“display:none;”src=“<?php echo esc_url(admin_url('images/wpspin_light.gif'));?>”alt=“”/></p> 496 <? php(电话) 497 493 498 wp_comment_trashnotice(); 494 499 } -
trunk/wp-admin/includes/template.php 1992兰特 2016年4月 315 315 <? php-endif;?> 316 316 <div id=“replyhead”style=“display:none;”><h5><? php_e('回复评论');?></ h5></div> 317 317 <div id=“addhead”style=“display:none;”><h5><? php_e(“添加新评论”);?></ h5></div> 318 318 <div id=“edithead”style=“display:none;”> 319 319 <div class=“内部”> … … 344 344 <a href=“#comments-form”class=“cancel button-secondary alignleft”tabindex=“106”><? php_e(“取消”);?></ a> 345 345 <a href=“#comments-form”class=“save button-primary alignright”tabindex=“104”> 346 <span id=“addbtn”style=“display:none;”><? php_e(“添加注释”);?></ span> 346 347 <span id=“savebtn”style=“display:none;”><? php_e(“更新注释”);?></ span> 347 348 <span id=“replybtn”style=“display:none;”><? php_e(“提交回复”);?></ span></a> -
trunk/wp-admin/js/edit-comments.dev.js 19895兰特 2016年4月 346 346 347 347 关闭:函数(){ 348 变异系数c; 349 350 if(this.cid){ 348 var c,replyrow=$('#replyrow'); 349 350 //回复没有显示? 351 if(replyrow.parent().is('#com-reply')) 352 回报; 353 354 if(this.cid&&this.act==“编辑注释”){ 351 355 c=$('#comment-'+this.cid); 352 353 if(QTags类型!=“未定义”) 354 QTags.closeAllTags(“回复内容”); 355 356 if(this.act=='编辑注释 ' ) 357 c.fadeIn(300,函数(){c.show()}).css('backgroundColor',' '); 358 359 $(“#replyrow”).hide( ); 360 $(“#com-reply”).append($(“#回复”)); 361 $(“#replycontent”).val(“” ); 362 $('input','#edithead').val('' ); 363 $('.error','#replysubmit').html('').hide( ); 364 $('.waiting','#replysubmit').hide( ); 365 $(“#replycontent”).css(“高度”,“” ); 366 367 this.cid=“”; 368 } 369 }, 370 371 打开:功能( id、p、a ) { 372 var t=this,editRow,rowData,act,c=$('#comment-'+ id),h=c.高度(),回复按钮; 356 c.fadeIn(300,function(){c.show()}).css('backgroundColor',''); 357 } 358 359 //重置Quicktags按钮 360 if(QTags类型!='未定义 ' ) 361 QTags.关闭所有标签('回复内容 '); 362 363 $('#add-new-comment').css('显示','' ); 364 365 重装皮( ); 366 $(“#com-reply”).append(回复 ); 367 $('#replycontent').css('height','').val('' ); 368 $(“#edithead输入”).val(“” ); 369 $('.error',replyrow).html('').hide( ); 370 $('.waiting',replyrow).hide(); 371 372 this.cid=“”; 373 }, 374 375 打开:功能( 评论id、帖子id、操作 ) { 376 var t=this,editRow,rowData,act,c=$('#comment-'+ 评论_ id),h=c.高度(),回复按钮; 373 377 374 378 t.关闭(); 375 t.cid公司= 身份证件; 379 t.cid公司= 评论_ 身份证件; 376 380 377 381 editRow=$('#replyrow'); 378 rowData=$('#inline-'+id); 379 act=t.act=(a==“编辑”)?' 编辑注释':'回复注释'; 382 rowData=$('#inline-'+comment_id); 383 action=action||“回复”; 384 act='编辑'==动作?' 编辑':'回复'; 385 act=t.act=act+'-comment'; 380 386 381 387 $('#action',editRow).val(act); 382 $('#comment_post_ID',editRow).val(p ); 383 $('#comment_ID',editRow).val( id); 388 $('#comment_post_ID',editRow).val(p 主机id ); 389 $('#comment_ID',editRow).val( 评论_ id); 384 390 385 391 如果(h>120) 386 392 $(“#replycontent”,editRow).css(“高度”,(35+h)+“像素”); 387 393 388 如果(a) ==“编辑”){ 394 如果(a) 动作 ==“编辑”){ 389 395 $('#author',editRow).val($('div.author',rowData).text()); 390 396 $('#author-email',editRow).val($('div.author-email',rowData).text()); … … 393 399 $('#replycontent',editRow).val($('textarea.comment',rowData).val.()); 394 400 $('#edithead,#savebtn',editRow).show(); 395 $('#replyhead,#replybtn ',editRow).hide(); 401 $('#replyhead,#replybtn ,#addhead,#addbtn ',editRow).hide(); 396 402 397 403 c.after(editRow).fadeOut('fast',function(){ 398 404 $('#replyrow').fadeIn(300,function(){$(this).show()}); 399 405 }); 400 }其他{ 401 replyButton=$('#replybtn',editRow); 402 $('#edithead,#savebtn',editRow).hide(); 406 }else if(操作==“添加”){ 407 $('#addhead,#addbtn',editRow).show(); 408 $('#replyhead,#replybtn,#edithead,#editbtn',editRow).hide(); 409 $(“#the-comment-list”).prepend(editRow); 410 $('#replyrow').fadeIn(300); 411 }其他{ 412 replyButton=$('#replybtn',editRow); 413 $('#edithead,#savebtn,#addhead,#addbtn',editRow).hide(); 403 414 $(“#replyhead,#replybtn”,editRow).show(); 404 415 c.after(编辑行); … … 443 454 444 455 $(“#replyrow input”).not(“:button”).each(function(){ 445 post[$(this).attr('name')]=$(this.val(); 456 var t=$(本); 457 post[t.attr('name')]=t.val(); 446 458 }); 447 459 … … 484 496 c=r.data; 485 497 id=“#comment-”+r.id; 498 486 499 if('edit-comment'==t.act) 487 500 $(id).remove(); … … 528 541 $('#replysubmit.error').html(er).show(); 529 542 543 }, 544 545 addcomment:函数(post_id){ 546 var t=这个; 547 548 $('#add-new-comment').fadeOut(200,function(){ 549 t.open(0,post_id,'添加'); 550 $('table.comments-box').css('display',''); 551 $('#no-comments').remove(); 552 }); 530 553 } 531 554 }; -
trunk/wp-admin/js/post.dev.js 19853兰特 2016年2月 212 212 $(“#show-comments”).hide(); 213 213 其他 214 $(“#show-comments”).html(postL10n.showcomm); 214 $('#show-comments').show().children('a').html(postL10n.showcomm); 215 215 216 回报; 216 217 }else如果(1==r){ 217 $(“#show-comments”)。 parent()。 html(postL10n.endcomm); 218 $(“#show-comments”)。 html(postL10n.endcomm); 218 219 回报; 219 220 } -
trunk/wp-includes/css/editor按钮.dev.css 19712兰特 2016年4月 1083 1083 border-top-left-radius:3px; 1084 1084 填充:2px 8px 0; 1085 最小高度: 30 二甲苯; 1085 最小高度: 29 二甲苯; 1086 1086 } 1087 1087