Make WordPress Core


Ignore:
Timestamp:
05/16/2010 05:39:53 AM (15 years ago)
Author:
nacin
Message:

First pass at fixing search for add menu item boxes. props koopersmith, see #13283.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/nav-menu.php

    r14675 r14686  
    407407    $menus = wp_get_nav_menus();
    408408    $menu_locations = get_nav_menu_locations();
    409     //var_dump( $menus );
     409
    410410    foreach ( $locations as $location => $description ) {
    411411        ?>
     
    620620            ?>
    621621            <p class="quick-search-wrap">
    622                 <input type="text" class="quick-search regular-text" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
    623                 <input type="submit" class="quick-search-submit button-secondary" value="<?php esc_attr_e('Search'); ?>" />
     622                <input type="text" class="quick-search regular-text input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
     623                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     624                <input type="submit" class="quick-search-submit button-secondary hide-if-js" value="<?php esc_attr_e('Search'); ?>" />
    624625            </p>
    625626
     
    795796            ?>
    796797            <p class="quick-search-wrap">
    797                 <input type="text" class="quick-search regular-text" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
    798                 <input type="submit" class="quick-search-submit button-secondary" value="<?php esc_attr_e('Search'); ?>" />
     798                <input type="text" class="quick-search regular-text input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
     799                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     800                <input type="submit" class="quick-search-submit button-secondary hide-if-js" value="<?php esc_attr_e('Search'); ?>" />
    799801            </p>
    800802
Note: See TracChangeset for help on using the changeset viewer.