Changeset 3728
- Timestamp:
- 04/19/2006 09:26:56 AM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r3693 r3728 665 665 666 666 $class = ('alternate' == $class) ? '' : 'alternate'; 667 668 $category->category_count = number_format( $category->category_count ); 669 $category->link_count = number_format( $category->link_count ); 667 670 echo "<tr id='cat-$category->cat_ID' class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td> 668 671 <td>$category->category_description</td> 669 <td >$category->category_count</td>670 <td >$category->link_count</td>672 <td align='center'>$category->category_count</td> 673 <td align='center'>$category->link_count</td> 671 674 <td>$edit</td> 672 675 </tr>"; -
trunk/wp-admin/categories.php
r3684 r3728 70 70 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 71 71 <tr> 72 <th width="33%" scope="row" ><?php _e('Category name:') ?></th>73 <td width="67%"><input name="cat_name" type="text" value="<?php echo wp_specialchars($category->cat_name); ?>" size="40" /> <input type="hidden" name="action" value="editedcat" />72 <th width="33%" scope="row" valign="top"><label for="cat_name"><?php _e('Category name:') ?></label></th> 73 <td width="67%"><input name="cat_name" id="cat_name" type="text" value="<?php echo wp_specialchars($category->cat_name); ?>" size="40" /> <input type="hidden" name="action" value="editedcat" /> 74 74 <input type="hidden" name="cat_ID" value="<?php echo $category->cat_ID ?>" /></td> 75 75 </tr> 76 76 <tr> 77 <th scope="row" ><?php _e('Category slug:') ?></th>78 <td><input name="category_nicename" type="text" value="<?php echo wp_specialchars($category->category_nicename); ?>" size="40" /></td>77 <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category slug:') ?></label></th> 78 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo wp_specialchars($category->category_nicename); ?>" size="40" /></td> 79 79 </tr> 80 80 <tr> 81 <th scope="row" ><?php _e('Category parent:') ?></th>81 <th scope="row" valign="top"><label for="category_parent"><?php _e('Category parent:') ?></label></th> 82 82 <td> 83 <select name='category_parent' >83 <select name='category_parent' id='category_parent'> 84 84 <option value='0' <?php if (!$category->category_parent) echo " selected='selected'"; ?>><?php _e('None') ?></option> 85 85 <?php wp_dropdown_cats($category->cat_ID, $category->category_parent); ?> … … 87 87 </tr> 88 88 <tr> 89 <th scope="row" ><?php _e('Description:') ?></th>90 <td><textarea name="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->category_description, 1); ?></textarea></td>89 <th scope="row" valign="top"><label for="category_description"><?php _e('Description:') ?></label></th> 90 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->category_description, 1); ?></textarea></td> 91 91 </tr> 92 92 </table> … … 136 136 <th scope="col"><?php _e('Name') ?></th> 137 137 <th scope="col"><?php _e('Description') ?></th> 138 <th scope="col" ><?php _e('#Posts') ?></th>139 <th scope="col" ><?php _e('#Bookmarks') ?></th>138 <th scope="col" width="90"><?php _e('Posts') ?></th> 139 <th scope="col" width="90"><?php _e('Bookmarks') ?></th> 140 140 <th colspan="2"><?php _e('Action') ?></th> 141 141 </tr> … … 180 180 181 181 include('admin-footer.php'); 182 182 183 ?>
Note: See TracChangeset
for help on using the changeset viewer.