Make WordPress Core


Ignore:
Timestamp:
03/07/2008 10:05:54 AM (18 years ago)
Author:
matt
Message:

A number of style tweaks; widen up a little; starting to add contextual help to various forms; catching up unloved forms with new UI guidelines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-category-form.php

    r7000 r7181  
    2727        <tr class="form-field form-required">
    2828            <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>
    3031        </tr>
    3132        <tr class="form-field">
    3233            <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 &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td>
    3436        </tr>
    3537        <tr class="form-field">
    3638            <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th>
    3739            <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.'); ?>
    3942            </td>
    4043        </tr>
    4144        <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>
    4448        </tr>
    4549    </table>
Note: See TracChangeset for help on using the changeset viewer.