summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/mantra/searchform.php')
-rw-r--r--themes/mantra/searchform.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/themes/mantra/searchform.php b/themes/mantra/searchform.php
index af607d0e..7d3972a6 100644
--- a/themes/mantra/searchform.php
+++ b/themes/mantra/searchform.php
@@ -1,11 +1,4 @@
-<?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 method="get" id="searchform" action="<?php echo esc_url(home_url( '/' )); ?>">
+ <input type="text" value="<?php _e( 'Search', 'mantra' ) ?>" name="s" id="s" onblur="if (this.value == '') {this.value = '<?php _e( 'Search', 'mantra' ) ?>';}" onfocus="if (this.value == '<?php _e( 'Search', 'mantra' ) ?>') {this.value = '';}" />
+ <input type="submit" id="searchsubmit" value="OK" />
</form> \ No newline at end of file