diff options
Diffstat (limited to 'views/default/input/search.php')
-rw-r--r-- | views/default/input/search.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/input/search.php b/views/default/input/search.php index 457c45999..47988be51 100644 --- a/views/default/input/search.php +++ b/views/default/input/search.php @@ -4,8 +4,7 @@ $defaults = array( 'placeholder' => elgg_echo('placeholder:search'),
);
-$overrides = array(
- 'type' => 'search',
-);
+$vars = array_merge($defaults, $vars);
+?>
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides));
\ No newline at end of file +<input type="search" <?php echo html5_get_html_attributes($vars); ?> />
\ No newline at end of file |