Changeset 9589 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 11/10/2008 05:42:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r9565 r9589 191 191 192 192 <?php if ( $page_links ) : ?> 193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 194 194 number_format_i18n( $start + 1 ), 195 195 number_format_i18n( min( $page * $comments_per_page, $total ) ), … … 345 345 $('#doaction, #doaction2').click(function(){ 346 346 if ( $('select[name^="action"]').val() == 'delete' ) { 347 var n = $('#the-comment-list input[type="checkbox"]:checked').length; 348 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected comments.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected comment.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 347 var m = '<?php echo js_escape(__("You are about to delete the selected comments.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 349 348 return showNotice.warn(m); 350 349 }
Note: See TracChangeset
for help on using the changeset viewer.