Changeset 9354 for trunk/wp-admin/edit-link-categories.php
- Timestamp:
- 10/26/2008 09:08:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-link-categories.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-categories.php
r9341 r9354 79 79 <h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2> 80 80 81 <ul class="subsubsub"><li><a class="current"><br /></a></li></ul>82 81 <form class="search-form topmargin" action="" method="get"> 83 82 <p class="search-box"> … … 89 88 <br class="clear" /> 90 89 90 <div id="col-container"> 91 92 <div id="col-right"> 93 <div class="col-wrap"> 91 94 <form id="posts-filter" action="" method="get"> 92 95 <div class="tablenav"> … … 180 183 <br class="clear" /> 181 184 </form> 182 183 </div> 184 185 <?php if ( current_user_can('manage_categories') ) : ?> 186 <div class="wrap"> 185 </div> 186 </div><!-- /col-right --> 187 188 <div id="col-left"> 189 <div class="col-wrap"> 190 191 <?php if ( current_user_can('manage_categories') ) { 192 do_action('add_link_category_form_pre', $category); ?> 193 194 <div class="form-wrap"> 195 <h3><?php _e('Add Category'); ?></h3> 196 <div id="ajax-response"></div> 197 <form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php"> 198 <input type="hidden" name="action" value="addcat" /> 199 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-link-category'); ?> 200 201 <div class="form-field form-required"> 202 <label for="name"><?php _e('Category name') ?></label> 203 <input name="name" id="name" type="text" value="" size="40" aria-required="true" /> 204 </div> 205 206 <div class="form-field"> 207 <label for="slug"><?php _e('Category slug') ?></label> 208 <input name="slug" id="slug" type="text" value="" size="40" /> 209 <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> 210 </div> 211 212 <div class="form-field"> 213 <label for="description"><?php _e('Description (optional)') ?></label> 214 <textarea name="description" id="description" rows="5" cols="40"></textarea> 215 </div> 216 217 <p class="submit"><input type="submit" class="button" name="submit" value="<?php _e('Add Category'); ?>" /></p> 218 <?php do_action('edit_link_category_form', $category); ?> 219 </form> 220 </div> 221 222 <?php } ?> 223 224 <div class="form-wrap"> 187 225 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the links in that category. Instead, links that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), get_term_field('name', get_option('default_link_category'), 'link_category')) ?></p> 188 226 </div> 189 227 190 <?php include('edit-link-category-form.php'); ?> 228 </div> 229 </div><!-- /col-left --> 230 231 </div><!-- /col-container --> 232 </div><!-- /wrap --> 233 </div> 234 235 191 236 <?php inline_edit_term_row('link-category'); ?> 192 193 <?php endif; ?>194 195 237 <?php include('admin-footer.php'); ?>
Note: See TracChangeset
for help on using the changeset viewer.