summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/mantra/searchform.php')
-rw-r--r--themes/mantra/searchform.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/mantra/searchform.php b/themes/mantra/searchform.php
new file mode 100644
index 00000000..a08838fa
--- /dev/null
+++ b/themes/mantra/searchform.php
@@ -0,0 +1,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> \ No newline at end of file