Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (18 sloc) 0.818 kb
b32764df »
2011-03-19 Importing the Trending theme files and folders.
1 <?php
2 /**
3 * Search Form Template
4 *
5 * The search form template displays the search form.
6 *
7 * @package Prototype
8 * @subpackage Template
9 */
10 ?>
11 <div class="search">
12
13 <form method="get" class="search-form" action="<?php echo trailingslashit( home_url() ); ?>">
14 <div>
15 <input class="search-text" type="text" name="s" value="<?php if ( is_search() ) echo esc_attr( get_search_query() ); else esc_attr_e( 'Search this site...', hybrid_get_textdomain() ); ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
16 <input class="search-submit button" name="submit" type="submit" value="<?php esc_attr_e( 'Search', hybrid_get_textdomain() ); ?>" />
17 </div>
18 </form><!-- .search-form -->
19
20 </div><!-- .search -->
Something went wrong with that request. Please try again.