mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 04:43:21 +02:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@8923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
34 lines
502 B
PHP
34 lines
502 B
PHP
<?php
|
|
/**
|
|
* Edit posts rows table for inclusion in administration panels.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
if ( ! defined('ABSPATH') ) die();
|
|
?>
|
|
<table class="widefat">
|
|
<thead>
|
|
<tr>
|
|
<?php print_column_headers('post'); ?>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<?php inline_edit_row( 'post' ) ?>
|
|
|
|
<?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>
|