diff options
Diffstat (limited to 'views/default/input/search.php')
-rw-r--r-- | views/default/input/search.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/input/search.php b/views/default/input/search.php index 33fa4d4ff..65c252bfc 100644 --- a/views/default/input/search.php +++ b/views/default/input/search.php @@ -1,9 +1,11 @@ <?php
+$defaults = array(
+ 'placeholder' => elgg_echo('placeholder:search'),
+)
+
$overrides = array(
'type' => 'search',
);
-$args = array_merge($vars, $overrides);
-
-echo elgg_view('input/default', $args);
\ No newline at end of file +echo elgg_view('input/default', array_merge($defaults, $vars, $overrides));
\ No newline at end of file |