Make WordPress Core


Ignore:
Timestamp:
02/12/2008 09:02:02 AM (17 years ago)
Author:
ryan
Message:

Manage categories redesign. Add categories search.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r6213 r6799  
    8585
    8686<div class="wrap">
     87<form id="posts-filter" action="" method="get">
    8788<?php if ( current_user_can('manage_categories') ) : ?>
    88     <h2><?php printf(__('Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
     89    <h2><?php printf(__('Manage Categories (<a href="%s">add new</a>)'), '#addcat') ?> </h2>
    8990<?php else : ?>
    90     <h2><?php _e('Categories') ?> </h2>
     91    <h2><?php _e('Manage Categories') ?> </h2>
    9192<?php endif; ?>
     93
     94<p id="post-search">
     95    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
     96    <input type="submit" value="<?php _e( 'Search Categories' ); ?>" />
     97</p>
     98
     99<br style="clear:both;" />
     100
     101<div class="tablenav">
     102
     103<div style="float: left">
     104<input type="button" value="<?php _e('Delete'); ?>" name="deleteit" />
     105</div>
     106
     107<br style="clear:both;" />
     108</div>
     109</form>
     110
     111<br style="clear:both;" />
     112
    92113<table class="widefat">
    93114    <thead>
    94115    <tr>
    95         <th scope="col" style="text-align: center"><?php _e('ID') ?></th>
     116        <th scope="col"><div style="text-align: center"><input type="checkbox" name="TODO" /></div></th>
    96117        <th scope="col"><?php _e('Name') ?></th>
    97118        <th scope="col"><?php _e('Description') ?></th>
    98119        <th scope="col" width="90" style="text-align: center"><?php _e('Posts') ?></th>
    99         <th colspan="2" style="text-align: center"><?php _e('Action') ?></th>
    100120    </tr>
    101121    </thead>
Note: See TracChangeset for help on using the changeset viewer.