Make WordPress Core


Ignore:
Timestamp:
03/29/2006 01:51:55 AM (18 years ago)
Author:
ryan
Message:

AJAX, cause you love it. Props mdawaffe. fixes #2561

File:
1 edited

Legend:

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

    r3585 r3660  
    44$title = __('Categories');
    55$parent_file = 'edit.php';
    6 $list_js = true;
    76
    87$wpvarstoreset = array('action','cat');
     
    105104default:
    106105
     106$list_js = true;
    107107require_once ('admin-header.php');
    108108
     
    122122    <h2><?php _e('Categories') ?> </h2>
    123123<?php endif; ?>
    124 <table id="the-list-x" width="100%" cellpadding="3" cellspacing="3">
     124<table width="100%" cellpadding="3" cellspacing="3">
     125    <thead>
    125126    <tr>
    126127        <th scope="col"><?php _e('ID') ?></th>
     
    131132        <th colspan="2"><?php _e('Action') ?></th>
    132133    </tr>
     134    </thead>
     135    <tbody id="the-list">
    133136<?php
    134137cat_rows();
    135138?>
     139    </tbody>
    136140</table>
    137141
     
    150154       
    151155        <p><?php _e('Name:') ?><br />
    152         <input type="text" name="cat_name" value="" /></p>
     156        <input type="text" name="cat_name" id="cat_name" value="" /></p>
    153157        <p><?php _e('Category parent:') ?><br />
    154         <select name='category_parent' class='postform'>
     158        <select name='category_parent' id='category_parent' class='postform'>
    155159        <option value='0'><?php _e('None') ?></option>
    156160        <?php wp_dropdown_cats(0); ?>
    157161        </select></p>
    158162        <p><?php _e('Description: (optional)') ?> <br />
    159         <textarea name="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p>
     163        <textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p>
    160164        <p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category &raquo;') ?>" /></p>
    161165    </form>
Note: See TracChangeset for help on using the changeset viewer.