mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 16:45:31 +01:00
5c5d1aef4d
git-svn-id: http://svn.automattic.com/wordpress/trunk@9735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
38 lines
566 B
PHP
38 lines
566 B
PHP
<?php
|
|
/**
|
|
* Edit posts rows table for inclusion in administration panels.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
if ( ! defined('ABSPATH') ) die();
|
|
?>
|
|
<table class="widefat post fixed" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<?php print_column_headers('edit'); ?>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<?php print_column_headers('edit', false); ?>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<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>
|