Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (20 sloc) 1.091 kb
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revisio...
greenshady authored
1 <?php
2 /**
3 * Search Form Template
4 *
5 * The search form template displays the search form.
6 *
7 * @package Hybrid
8 * @subpackage Template
9 */
10
11 global $search_num;
12 ++$search_num;
13 ?>
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
14 <div id="search<?php if ( $search_num ) echo "-{$search_num}"; ?>" class="search">
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revisio...
greenshady authored
15
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
16 <form method="get" class="search-form" id="search-form<?php if ( $search_num ) echo "-{$search_num}"; ?>" action="<?php echo trailingslashit( home_url() ); ?>">
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revisio...
greenshady authored
17 <div>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
18 <input class="search-text" type="text" name="s" id="search-text<?php if ( $search_num) echo "-{$search_num}"; ?>" value="<?php if ( is_search() ) echo esc_attr( get_search_query() ); else esc_attr_e( 'Search this site...', 'hybrid' ); ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
19 <input class="search-submit button" name="submit" type="submit" id="search-submit<?php if ( $search_num ) echo "-{$search_num}"; ?>" value="<?php esc_attr_e( 'Search', 'hybrid' ); ?>" />
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revisio...
greenshady authored
20 </div>
21 </form><!-- .search-form -->
22
23 </div><!-- .search -->
Something went wrong with that request. Please try again.