Changeset 7181 for trunk/wp-admin/edit-category-form.php
- Timestamp:
- 03/07/2008 10:05:54 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-category-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-category-form.php
r7000 r7181 27 27 <tr class="form-field form-required"> 28 28 <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th> 29 <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td> 29 <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /><br /> 30 <?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></td> 30 31 </tr> 31 32 <tr class="form-field"> 32 33 <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 33 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /></td> 34 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /><br /> 35 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 34 36 </tr> 35 37 <tr class="form-field"> 36 38 <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th> 37 39 <td> 38 <?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?> 40 <?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?><br /> 41 <?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?> 39 42 </td> 40 43 </tr> 41 44 <tr class="form-field"> 42 <th scope="row" valign="top"><label for="category_description"><?php _e('Description (optional)') ?></label></th> 43 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea></td> 45 <th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th> 46 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea><br /> 47 <?php _e('The description is not prominent by default, however some themes may show it.'); ?></td> 44 48 </tr> 45 49 </table>
Note: See TracChangeset
for help on using the changeset viewer.