Changeset 38912 for trunk/src/wp-admin/nav-menus.php
- Timestamp:
- 10/25/2016 05:28:40 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/nav-menus.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/nav-menus.php
r38725 r38912 799 799 } ?> 800 800 801 <dl class="auto-add-pages"> 802 <dt class="howto"><?php _e( 'Auto add pages' ); ?></dt> 803 <dd class="checkbox-input"><input type="checkbox"<?php checked( $auto_add ); ?> name="auto-add-pages" id="auto-add-pages" value="1" /> <label for="auto-add-pages"><?php printf( __('Automatically add new top-level pages to this menu' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?></label></dd> 804 </dl> 801 <fieldset class="menu-settings-group auto-add-pages"> 802 <legend class="menu-settings-group-name howto"><?php _e( 'Auto add pages' ); ?></legend> 803 <div class="menu-settings-input checkbox-input"> 804 <input type="checkbox"<?php checked( $auto_add ); ?> name="auto-add-pages" id="auto-add-pages" value="1" /> <label for="auto-add-pages"><?php printf( __('Automatically add new top-level pages to this menu' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?></label> 805 </div> 806 </fieldset> 805 807 806 808 <?php if ( current_theme_supports( 'menus' ) ) : ?> 807 809 808 < dl class="menu-theme-locations">809 < dt class="howto"><?php _e( 'Theme locations' ); ?></dt>810 <fieldset class="menu-settings-group menu-theme-locations"> 811 <legend class="menu-settings-group-name howto"><?php _e( 'Theme locations' ); ?></legend> 810 812 <?php foreach ( $locations as $location => $description ) : ?> 811 <d d class="checkbox-input">813 <div class="menu-settings-input checkbox-input"> 812 814 <input type="checkbox"<?php checked( isset( $menu_locations[ $location ] ) && $menu_locations[ $location ] == $nav_menu_selected_id ); ?> name="menu-locations[<?php echo esc_attr( $location ); ?>]" id="locations-<?php echo esc_attr( $location ); ?>" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 813 815 <label for="locations-<?php echo esc_attr( $location ); ?>"><?php echo $description; ?></label> … … 820 822 ?></span> 821 823 <?php endif; ?> 822 </d d>824 </div> 823 825 <?php endforeach; ?> 824 </ dl>826 </fieldset> 825 827 826 828 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.