Changeset 14612 for trunk/wp-admin/nav-menus.php
- Timestamp:
- 05/13/2010 10:57:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r14611 r14612 483 483 <br class="clear" /> 484 484 </label> 485 <?php if ( ! empty( $nav_menu_selected_id ) && $slots = get_registered_nav_menus() ) : ?> 486 <label class="menu-name-label howto open-label" for="menu-slot"> 487 <span><?php _e('Theme Menu'); ?></span> 488 <select id="menu-slot" name="menu-slot"> 489 <?php foreach ( $slots as $slot_key => $slot_text ) { 490 echo '<option value="' . esc_attr($slot_key) . '">' . esc_html($slot_text) . '</option>'; 491 } 492 ?> 493 </select> 494 <br class="clear" /> 495 </label> 496 <?php endif; ?> 485 497 486 <div class="publishing-action"> 498 487 <input class="button-primary" name="save_menu" type="submit" value="<?php empty($nav_menu_selected_id) ? esc_attr_e('Create Menu') : esc_attr_e('Save Menu'); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.