web/wp-admin/edit-tag-form.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
    60 		</tr>
    60 		</tr>
    61 <?php endif; // is_taxonomy_hierarchical() ?>
    61 <?php endif; // is_taxonomy_hierarchical() ?>
    62 		<tr class="form-field">
    62 		<tr class="form-field">
    63 			<th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
    63 			<th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
    64 			<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
    64 			<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
    65 			<span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
    65 			<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
    66 		</tr>
    66 		</tr>
    67 		<?php
    67 		<?php
    68 		// Back compat hooks
    68 		// Back compat hooks
    69 		if ( 'category' == $taxonomy )
    69 		if ( 'category' == $taxonomy )
    70 			do_action('edit_category_form_fields', $tag);
    70 			do_action('edit_category_form_fields', $tag);
    89 
    89 
    90 submit_button( __('Update') );
    90 submit_button( __('Update') );
    91 ?>
    91 ?>
    92 </form>
    92 </form>
    93 </div>
    93 </div>
       
    94 <script type="text/javascript">
       
    95 try{document.forms.edittag.name.focus();}catch(e){}
       
    96 </script>