aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/search.php')
-rw-r--r--views/default/input/search.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/input/search.php b/views/default/input/search.php
index 29adba5fc..becf8a11b 100644
--- a/views/default/input/search.php
+++ b/views/default/input/search.php
@@ -1,10 +1,13 @@
<?php
$defaults = array(
- 'placeholder' => elgg_echo('placeholder:search'),
+ 'class' => 'elgg-input-search',
);
$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'search';
+
?>
-<input type="search" <?php echo elgg_format_attributes($vars); ?> /> \ No newline at end of file
+<input <?php echo elgg_format_attributes($vars); ?> /> \ No newline at end of file