Make WordPress Core


Ignore:
Timestamp:
02/14/2008 06:18:17 AM (18 years ago)
Author:
ryan
Message:

Use niceblue table format for some edit forms

File:
1 edited

Legend:

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

    r6303 r6845  
    2424<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
    2525<?php wp_nonce_field($nonce_action); ?>
    26     <table class="editform" width="100%" cellspacing="2" cellpadding="5">
     26    <table class="niceblue" width="100%">
    2727        <tr class="form-field form-required">
    28             <th width="33%" scope="row" valign="top"><label for="cat_name"><?php _e('Category name:') ?></label></th>
    29             <td width="67%"><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td>
     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>
    3030        </tr>
    3131        <tr class="form-field">
    32             <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category slug:') ?></label></th>
     32            <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th>
    3333            <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /></td>
    3434        </tr>
    3535        <tr class="form-field">
    36             <th scope="row" valign="top"><label for="category_parent"><?php _e('Category parent:') ?></label></th>
     36            <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th>
    3737            <td>
    3838                <?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
     
    4040        </tr>
    4141        <tr class="form-field">
    42             <th scope="row" valign="top"><label for="category_description"><?php _e('Description: (optional)') ?></label></th>
     42            <th scope="row" valign="top"><label for="category_description"><?php _e('Description (optional)') ?></label></th>
    4343            <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea></td>
    4444        </tr>
Note: See TracChangeset for help on using the changeset viewer.