Ticket #21196: 21196.4.patch
File 21196.4.patch, 4.6 KB (added by , 13 years ago) |
---|
-
wp-admin/css/colors-classic.dev.css
497 497 border-bottom-color: #f00; 498 498 } 499 499 500 .submitbox .submitdelete:hover, 501 #media-items a.delete:hover { 500 .submitbox .submitdelete:hover { 502 501 color: #fff; 503 502 background-color: #f00; 504 503 border-bottom-color: #f00; … … 588 587 #adminmenu a, 589 588 #the-comment-list p.comment-author strong a, 590 589 #media-upload a.del-link, 591 #media-items a.delete,592 590 .plugins a.delete, 593 591 .ui-tabs-nav a { 594 592 color: #21759b; -
wp-admin/css/colors-fresh.dev.css
488 488 border-bottom-color: #f00; 489 489 } 490 490 491 .submitbox .submitdelete:hover, 492 #media-items a.delete:hover { 491 .submitbox .submitdelete:hover { 493 492 color: #fff; 494 493 background-color: #f00; 495 494 border-bottom-color: #f00; … … 579 578 #adminmenu a, 580 579 #the-comment-list p.comment-author strong a, 581 580 #media-upload a.del-link, 582 #media-items a.delete,583 581 .plugins a.delete, 584 582 .ui-tabs-nav a { 585 583 color: #21759b; -
wp-admin/css/media.dev.css
197 197 margin: 0 20px; 198 198 } 199 199 200 #media-items a.delete {201 display: block;202 float: right;203 }204 205 200 #media-upload .widefat { 206 201 width: 626px; 207 202 border-style: solid solid none; -
wp-admin/css/wp-admin-rtl.dev.css
184 184 text-align: left; 185 185 } 186 186 187 .describe .del-link {188 padding-left: 0;189 padding-right: 5px;190 }191 187 192 193 188 /*------------------------------------------------------------------------------ 194 189 4.0 - Notifications 195 190 ------------------------------------------------------------------------------*/ -
wp-admin/css/wp-admin.dev.css
1022 1022 text-align: right; 1023 1023 } 1024 1024 1025 .describe .del-link {1026 padding-left: 5px;1027 }1028 1025 1029 1030 1026 /*------------------------------------------------------------------------------ 1031 1027 4.0 - Notifications 1032 1028 ------------------------------------------------------------------------------*/ -
wp-admin/includes/media.php
1160 1160 $send = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false ); 1161 1161 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1162 1162 if ( !EMPTY_TRASH_DAYS ) { 1163 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del ete'>" . __( 'Delete Permanently' ) . '</a>';1163 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del-link'>" . __( 'Delete Permanently' ) . '</a>'; 1164 1164 } elseif ( !MEDIA_TRASH ) { 1165 1165 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1166 1166 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'><p>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "</p> … … 1168 1168 <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a> 1169 1169 </div>"; 1170 1170 } else { 1171 $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del ete'>" . __( 'Move to Trash' ) . "</a>1171 $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del-link'>" . __( 'Move to Trash' ) . "</a> 1172 1172 <a href='" . wp_nonce_url( "post.php?action=untrash&post=$attachment_id", 'untrash-attachment_' . $attachment_id ) . "' id='undo[$attachment_id]' class='undo hidden'>" . __( 'Undo' ) . "</a>"; 1173 1173 } 1174 1174 } else {