-
+ AE5A3011FB4EDB8B03AE447C66CAA63E1229699779A90B6D3B443856B398E06FF32DA29DF8291F4ED0B4481B7F2E2E46F129F52AE8BE1839FE1D8F59DD3352C8
mp-wp/wp-admin/edit-tag-form.php
(0 . 0)(1 . 40)
12675 <?php
12676 /**
12677 * Edit tag form for inclusion in administration panels.
12678 *
12679 * @package WordPress
12680 * @subpackage Administration
12681 */
12682
12683 if ( empty($tag_ID) ) { ?>
12684 <div id="message" class="updated fade"><p><strong><?php _e('A tag was not selected for editing.'); ?></strong></p></div>
12685 <?php
12686 return;
12687 }
12688
12689 do_action('edit_tag_form_pre', $tag); ?>
12690
12691 <div class="wrap">
12692 <?php screen_icon(); ?>
12693 <h2><?php _e('Edit Tag'); ?></h2>
12694 <div id="ajax-response"></div>
12695 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">
12696 <input type="hidden" name="action" value="editedtag" />
12697 <input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
12698 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
12699 <table class="form-table">
12700 <tr class="form-field form-required">
12701 <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
12702 <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo attribute_escape($tag->name); ?>" size="40" aria-required="true" />
12703 <p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
12704 </tr>
12705 <tr class="form-field">
12706 <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
12707 <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
12708 <p><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
12709 </tr>
12710 </table>
12711 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php _e('Update Tag'); ?>" /></p>
12712 <?php do_action('edit_tag_form', $tag); ?>
12713 </form>
12714 </div>