root/trunk/wp-admin/edit-post-rows.php

Revision 1525, 0.6 kB (checked in by donncha, 2 days ago)

WP merge with revision 9756

Line 
1 <?php
2 /**
3  * Edit posts rows table for inclusion in administration panels.
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 if ( ! defined('ABSPATH') ) die();
10 ?>
11 <table class="widefat post fixed" cellspacing="0">
12     <thead>
13     <tr>
14 <?php print_column_headers('edit'); ?>
15     </tr>
16     </thead>
17
18     <tfoot>
19     <tr>
20 <?php print_column_headers('edit', false); ?>
21     </tr>
22     </tfoot>
23
24     <tbody>
25 <?php
26 if ( have_posts() ) {
27     post_rows();
28 } else {
29 ?>
30   <tr>
31     <td colspan="8"><?php _e('No posts found.') ?></td>
32   </tr>
33 <?php
34 } // end if ( have_posts() )
35 ?>
36     </tbody>
37 </table>
38
Note: See TracBrowser for help on using the browser.