diff options
author | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-10-03 11:16:24 +0200 |
---|---|---|
committer | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-10-03 11:16:24 +0200 |
commit | 3eeea7d1b2d531aa9c4dc0c4f09f58ed287a4971 (patch) | |
tree | 67761720f2ca013e02ca1a34ebcf7702ccfcc20d /mod | |
parent | 766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff) | |
download | elgg-3eeea7d1b2d531aa9c4dc0c4f09f58ed287a4971.tar.gz elgg-3eeea7d1b2d531aa9c4dc0c4f09f58ed287a4971.tar.bz2 |
show search query in input field
Diffstat (limited to 'mod')
-rw-r--r-- | mod/search/views/default/search/search_box.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/views/default/search/search_box.php b/mod/search/views/default/search/search_box.php index ff12ae4f0..91bedde05 100644 --- a/mod/search/views/default/search/search_box.php +++ b/mod/search/views/default/search/search_box.php @@ -37,7 +37,7 @@ $display_query = htmlspecialchars($display_query, ENT_QUOTES, 'UTF-8', false); <form class="<?php echo $class; ?>" action="<?php echo elgg_get_site_url(); ?>search" method="get"> <fieldset> - <input type="text" class="search-input" size="21" name="q" value="<?php echo elgg_echo('search'); ?>" onblur="if (this.value=='') { this.value='<?php echo elgg_echo('search'); ?>' }" onfocus="if (this.value=='<?php echo elgg_echo('search'); ?>') { this.value='' };" /> + <input type="text" class="search-input" size="21" name="q" value="<?php echo $value; ?>" onblur="if (this.value=='') { this.value='<?php echo elgg_echo('search'); ?>' }" onfocus="if (this.value=='<?php echo elgg_echo('search'); ?>') { this.value='' };" /> <input type="hidden" name="search_type" value="all" /> <input type="submit" value="<?php echo elgg_echo('search:go'); ?>" class="search-submit-button" /> </fieldset> |