diff options
-rw-r--r-- | mod/search/views/default/search/search_box.php | 2 | ||||
-rw-r--r-- | views/default/input/form.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mod/search/views/default/search/search_box.php b/mod/search/views/default/search/search_box.php index d53efca21..94d91a26a 100644 --- a/mod/search/views/default/search/search_box.php +++ b/mod/search/views/default/search/search_box.php @@ -14,7 +14,9 @@ $value = stripslashes($value); <div id="elgg_search"> <form id="searchform" action="<?php echo $vars['url']; ?>pg/search/" method="get"> + <fieldset> <input type="text" 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='' };" class="search_input" /> <input type="submit" value="<?php echo elgg_echo('search:go'); ?>" class="search_submit_button" /> + </fieldset> </form> </div>
\ No newline at end of file diff --git a/views/default/input/form.php b/views/default/input/form.php index af5ffe0e2..c22e644b9 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -57,6 +57,8 @@ if (!isset($vars['disable_security']) || $vars['disable_security'] != true) { } ?> <form <?php if ($id) { ?>id="<?php echo $id; ?>" <?php } ?> <?php if ($name) { ?>name="<?php echo $name; ?>" <?php } ?> <?php echo $vars['js']; ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>" <?php if ($enctype!="") echo "enctype=\"$enctype\""; ?> class="<?php echo $class; ?>"> +<fieldset> <?php echo $security_header; ?> <?php echo $body; ?> +</fieldset> </form>
\ No newline at end of file |