Search box in navigation

git-svn-id: http://svn.automattic.com/wordpress/trunk@8983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-25 21:42:18 +00:00
parent 4de5ddf600
commit d018898cde

View File

@ -120,4 +120,13 @@ _wp_menu_output( $menu, $submenu );
do_action( 'adminmenu' );
?>
<li>
<form class="search-form" action="<?php echo $pagenow ?>" method="get">
<p id="search" class="the-search-box">
<label class="hidden" for="tag-search-input"><?php _e( 'Search' ); ?></label>
<input type="text" size="15" id="tag-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search' ); ?>" class="button" />
</p>
</form>
</li>
</ul>