Changeset 3660 for trunk/wp-admin/categories.php
- Timestamp:
- 03/29/2006 01:51:55 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r3585 r3660 4 4 $title = __('Categories'); 5 5 $parent_file = 'edit.php'; 6 $list_js = true;7 6 8 7 $wpvarstoreset = array('action','cat'); … … 105 104 default: 106 105 106 $list_js = true; 107 107 require_once ('admin-header.php'); 108 108 … … 122 122 <h2><?php _e('Categories') ?> </h2> 123 123 <?php endif; ?> 124 <table id="the-list-x" width="100%" cellpadding="3" cellspacing="3"> 124 <table width="100%" cellpadding="3" cellspacing="3"> 125 <thead> 125 126 <tr> 126 127 <th scope="col"><?php _e('ID') ?></th> … … 131 132 <th colspan="2"><?php _e('Action') ?></th> 132 133 </tr> 134 </thead> 135 <tbody id="the-list"> 133 136 <?php 134 137 cat_rows(); 135 138 ?> 139 </tbody> 136 140 </table> 137 141 … … 150 154 151 155 <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> 153 157 <p><?php _e('Category parent:') ?><br /> 154 <select name='category_parent' class='postform'>158 <select name='category_parent' id='category_parent' class='postform'> 155 159 <option value='0'><?php _e('None') ?></option> 156 160 <?php wp_dropdown_cats(0); ?> 157 161 </select></p> 158 162 <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> 160 164 <p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category »') ?>" /></p> 161 165 </form>
Note: See TracChangeset
for help on using the changeset viewer.