Make WordPress Core


Ignore:
Timestamp:
02/10/2008 08:10:11 AM (17 years ago)
Author:
matt
Message:

New manage posts almost fully functional, and some admin CSS reorganization. TODO: Delete buttons and checkboxes are currently impotent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6776 r6778  
    303303function wp_manage_posts_columns() {
    304304    $posts_columns = array();
    305     $posts_columns['id'] = '<div style="text-align: center">' . __('ID') . '</div>';
     305    $posts_columns['cb'] = '<div style="text-align: center"><input type="checkbox" name="TODO" /></div>';
    306306    if ( 'draft' === $_GET['post_status'] )
    307307        $posts_columns['modified'] = __('Modified');
     
    309309        $posts_columns['modified'] = __('Submitted');
    310310    else
    311         $posts_columns['date'] = __('When');
     311        $posts_columns['date'] = __('Date');
    312312    $posts_columns['title'] = __('Title');
     313    $posts_columns['author'] = __('Author');
    313314    $posts_columns['categories'] = __('Categories');
     315    $posts_columns['tags'] = __('Tags');
    314316    if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) )
    315         $posts_columns['comments'] = '<div style="text-align: center">' . __('Comments') . '</div>';
    316     $posts_columns['author'] = __('Author');
     317        $posts_columns['comments'] = '<div style="text-align: center"><img alt="" src="images/comment-grey-bubble.png" /></div>';
     318    $posts_columns['status'] = __('Status');
    317319    $posts_columns = apply_filters('manage_posts_columns', $posts_columns);
    318320
    319     // you can not edit these at the moment
    320     $posts_columns['control_view']   = '';
    321     $posts_columns['control_edit']   = '';
    322     $posts_columns['control_delete'] = '';
    323321
    324322    return $posts_columns;
Note: See TracChangeset for help on using the changeset viewer.