Changeset 7689 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 04/15/2008 06:00:52 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r7669 r7689 220 220 <div id="category-adder" class="wp-hidden-children"> 221 221 <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4> 222 <p id="category-add" class="wp-hidden-child"> 223 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" /> 224 <?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 225 <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" /> 226 <?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?> 227 <span id="category-ajax-response"></span> 228 </p> 222 <p id="category-add" class="wp-hidden-child"></p> 229 223 </div> 230 224 231 225 <ul id="category-tabs"> 232 <li class="ui-tabs-selected"><a href="#categories- all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li>233 <li class="wp-no-js-hidden"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>226 <li class="ui-tabs-selected"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li> 227 <li class="wp-no-js-hidden"><a id="category-tabs-all" href="edit-form-advanced-tabs.php?post=<?php echo $post_ID; ?>" tabindex="3"><?php _e( 'All Categories' ); ?></a></li> 234 228 </ul> 235 229 236 230 <div id="categories-pop" class="ui-tabs-panel" style="display: none;"> 237 231 <ul id="categorychecklist-pop" class="categorychecklist form-no-clear" > 238 <?php $popular_ids = wp_popular_terms_checklist('category'); ?> 239 </ul> 240 </div> 241 242 <div id="categories-all" class="ui-tabs-panel"> 243 <ul id="categorychecklist" class="list:category categorychecklist form-no-clear"> 244 <?php dropdown_categories( 0, 0, $popular_ids ); ?> 232 <?php $popular_ids = wp_popular_terms_checklist('category'); // If we up the # here we have to do so in edit-form-advanced-tabs.php too ?> 245 233 </ul> 246 234 </div>
Note:
See TracChangeset
for help on using the changeset viewer.