Wordpress/wp-admin/edit-post-rows.php
Andrew Ozz 36c04753fb Batch editing, first cut, see #6815
git-svn-id: https://develop.svn.wordpress.org/trunk@8973 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 13:42:34 +00:00

32 lines
465 B
PHP

<?php
/**
* Edit posts rows table for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
if ( ! defined('ABSPATH') ) die();
?>
<table class="widefat post">
<thead>
<tr>
<?php print_column_headers('post'); ?>
</tr>
</thead>
<tbody>
<?php
if ( have_posts() ) {
post_rows();
} else {
?>
<tr>
<td colspan="8"><?php _e('No posts found.') ?></td>
</tr>
<?php
} // end if ( have_posts() )
?>
</tbody>
</table>