mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-28 12:07:36 +01:00
68562ccc93
git-svn-id: http://svn.automattic.com/wordpress/trunk@13779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
34 lines
617 B
PHP
34 lines
617 B
PHP
<?php
|
|
/**
|
|
* Edit posts rows table for inclusion in administration panels.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
// don't load directly
|
|
if ( !defined('ABSPATH') )
|
|
die('-1');
|
|
?>
|
|
<table class="widefat <?php echo $post_type_object->hierarchical ? 'page' : 'post'; ?> fixed" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<?php print_column_headers( $current_screen ); ?>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<?php print_column_headers($current_screen, false); ?>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<?php
|
|
if ( $post_type_object->hierarchical )
|
|
page_rows($posts, $pagenum, $per_page);
|
|
else
|
|
post_rows();
|
|
?>
|
|
</tbody>
|
|
</table>
|