2008-08-16 09:27:34 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Edit posts rows table for inclusion in administration panels.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
2009-08-03 02:04:45 +02:00
|
|
|
// don't load directly
|
|
|
|
if ( !defined('ABSPATH') )
|
|
|
|
die('-1');
|
2008-08-16 09:27:34 +02:00
|
|
|
?>
|
2010-01-22 22:46:35 +01:00
|
|
|
<table class="widefat <?php echo $post_type == 'page' ? 'page' : 'post'; ?> fixed" cellspacing="0">
|
2007-08-24 00:19:53 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2010-01-15 17:58:36 +01:00
|
|
|
<?php print_column_headers( $current_screen ); ?>
|
2007-08-24 00:19:53 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2008-09-11 00:47:03 +02:00
|
|
|
|
2008-09-29 11:26:21 +02:00
|
|
|
<tfoot>
|
|
|
|
<tr>
|
2010-01-15 17:58:36 +01:00
|
|
|
<?php print_column_headers($current_screen, false); ?>
|
2008-09-29 11:26:21 +02:00
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
|
|
|
|
<tbody>
|
2010-01-15 17:58:36 +01:00
|
|
|
<?php
|
|
|
|
if ( $post_type_object->hierarchical )
|
|
|
|
page_rows($posts, $pagenum, $per_page);
|
|
|
|
else
|
|
|
|
post_rows();
|
|
|
|
?>
|
2007-08-24 00:19:53 +02:00
|
|
|
</tbody>
|
2008-11-26 01:36:25 +01:00
|
|
|
</table>
|