Changeset 14852 for trunk/wp-admin/includes/nav-menu.php
- Timestamp:
- 05/24/2010 07:50:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r14846 r14852 60 60 } 61 61 ?> 62 <li id="menu-item-<?php echo $item_id; ?>" class="menu-item menu-item-depth-<?php echo $depth; ?> menu-item-<?php echo esc_attr( $item->object ); ?>"> 63 <dl class="menu-item-bar <?php 64 if ( isset($_GET['edit-menu-item']) && $item_id == $_GET['edit-menu-item'] ) 65 echo 'menu-item-edit-active menu-item-bar-active'; 66 else 67 echo 'menu-item-edit-inactive menu-item-bar-inactive'; 68 ?>"> 62 <li id="menu-item-<?php echo $item_id; ?>" class="menu-item menu-item-depth-<?php echo $depth; ?> menu-item-<?php echo esc_attr( $item->object ); ?> menu-item-edit-<?php echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? 'active' : 'inactive'; ?>"> 63 <dl class="menu-item-bar"> 69 64 <dt class="menu-item-handle"> 70 65 <span class="item-title"><?php echo esc_html( $item->title ); ?></span> … … 105 100 </dl> 106 101 107 <div class="menu-item-settings <?php 108 if ( isset($_GET['edit-menu-item']) && $item_id == $_GET['edit-menu-item'] ) 109 echo 'menu-item-edit-active menu-item-settings-active'; 110 else 111 echo 'menu-item-edit-inactive menu-item-settings-inactive'; 112 ?>" id="menu-item-settings-<?php echo $item_id; ?>"> 102 <div class="menu-item-settings" id="menu-item-settings-<?php echo $item_id; ?>"> 113 103 <?php if( 'custom' == $item->type ) : ?> 114 104 <p class="field-url description description-wide"> … … 179 169 ), 180 170 'delete-menu_item_' . $item_id 181 ); ?>"><?php _e('Remove'); ?></a> <span class="meta-sep"> | </span> <a class="item-close submitclose" id="close-<?php echo $item_id; ?>" href="<?php echo admin_url( 'nav-menus.php' ); ?>"><?php _e('Close'); ?></a> 182 <input class="button-primary save-menu-item" name="save_menu_item" type="submit" value="<?php esc_attr_e('Save Menu Item'); ?>" /> 171 ); ?>"><?php _e('Remove'); ?></a> <span class="meta-sep"> | </span> <a class="item-cancel submitcancel" id="cancel-<?php echo $item_id; ?>" href="<?php echo admin_url( 'nav-menus.php' ); ?>"><?php _e('Cancel'); ?></a> 183 172 </div> 184 173
Note: See TracChangeset
for help on using the changeset viewer.