Changeset 7011
- Timestamp:
- 02/25/2008 12:28:21 AM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
edit-comments.php (modified) (2 diffs)
-
wp-admin.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r7010 r7011 53 53 $comment_status = ''; 54 54 ?> 55 55 <?php 56 if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) { 57 $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0; 58 $deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0; 59 $spam = isset( $_GET['spam'] ) ? (int) $_GET['spam'] : 0; 60 61 if ( $approved > 0 || $deleted > 0 || $spam > 0 ) { 62 echo '<div id="moderated" class="updated fade"><p>'; 63 64 if ( $approved > 0 ) { 65 printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved ); 66 echo '<br />'; 67 } 68 69 if ( $deleted > 0 ) { 70 printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted ); 71 echo '<br />'; 72 } 73 74 if ( $spam > 0 ) { 75 printf( __ngettext( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); 76 echo '<br />'; 77 } 78 79 echo '</p></div>'; 80 } 81 } 82 ?> 56 83 <div class="wrap"> 57 84 <form id="posts-filter" action="" method="get"> … … 77 104 ?> 78 105 </ul> 79 80 <?php81 if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {82 $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0;83 $deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0;84 $spam = isset( $_GET['spam'] ) ? (int) $_GET['spam'] : 0;85 86 if ( $approved > 0 || $deleted > 0 || $spam > 0 ) {87 echo '<div id="moderated" class="updated fade"><p>';88 89 if ( $approved > 0 ) {90 printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved );91 echo '<br />';92 }93 94 if ( $deleted > 0 ) {95 printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted );96 echo '<br />';97 }98 99 if ( $spam > 0 ) {100 printf( __ngettext( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam );101 echo '<br />';102 }103 104 echo '</p></div>';105 }106 }107 ?>108 106 109 107 <p id="post-search"> -
trunk/wp-admin/wp-admin.css
r7005 r7011 1369 1369 } 1370 1370 1371 #the-comment-list p.comment-author strong a { 1372 color: #2583ad; 1373 border: none; 1374 } 1375 1371 1376 #the-comment-list td { 1372 1377 vertical-align: top;
Note: See TracChangeset
for help on using the changeset viewer.