summaryrefslogtreecommitdiff
blob: a08838faf6fecd58c08e6df20fc9106789f9e7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php $search_text = __( 'Search', 'mantra' ); ?> 
<form method="get" id="searchform"
action="<?php echo esc_url(home_url( '/' )); ?>/">
<input type="text" value="<?php echo $search_text; ?>"
name="s" id="s"
onblur="if (this.value == '')
{this.value = '<?php echo $search_text; ?>';}"
onfocus="if (this.value == '<?php echo $search_text; ?>')
{this.value = '';}" />
<input type="submit" id="searchsubmit" value="OK" />
</form>