2008-08-16 03:27:34 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Edit posts rows table for inclusion in administration panels.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
if ( ! defined('ABSPATH') ) die();
|
|
|
|
?>
|
2008-09-21 15:45:45 -04:00
|
|
|
<table class="widefat post">
|
2007-08-23 18:19:53 -04:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2008-09-18 01:41:45 -04:00
|
|
|
<?php print_column_headers('post'); ?>
|
2007-08-23 18:19:53 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2008-09-10 18:47:03 -04:00
|
|
|
|
2008-09-29 05:26:21 -04:00
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<?php print_column_headers('post', false); ?>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
|
|
|
|
<tbody>
|
2007-08-23 18:19:53 -04:00
|
|
|
<?php
|
|
|
|
if ( have_posts() ) {
|
2008-08-25 16:21:27 -04:00
|
|
|
post_rows();
|
2007-08-23 18:19:53 -04:00
|
|
|
} else {
|
|
|
|
?>
|
2008-08-25 16:21:27 -04:00
|
|
|
<tr>
|
2007-09-03 19:32:58 -04:00
|
|
|
<td colspan="8"><?php _e('No posts found.') ?></td>
|
|
|
|
</tr>
|
2007-08-23 18:19:53 -04:00
|
|
|
<?php
|
|
|
|
} // end if ( have_posts() )
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|