]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/edit-post-rows.php
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-admin / edit-post-rows.php
1 <?php
2 /**
3  * Edit posts rows table for inclusion in administration panels.
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 // don't load directly
10 if ( !defined('ABSPATH') )
11         die('-1');
12 ?>
13 <table class="widefat <?php echo $post_type_object->hierarchical ? 'page' : 'post'; ?> fixed" cellspacing="0">
14         <thead>
15         <tr>
16 <?php print_column_headers( $current_screen ); ?>
17         </tr>
18         </thead>
19
20         <tfoot>
21         <tr>
22 <?php print_column_headers($current_screen, false); ?>
23         </tr>
24         </tfoot>
25
26         <tbody>
27 <?php
28 if ( $post_type_object->hierarchical )
29         page_rows($posts, $pagenum, $per_page);
30 else
31         post_rows();
32 ?>
33         </tbody>
34 </table>