diff options
Diffstat (limited to 'views/default/input/password.php')
-rw-r--r-- | views/default/input/password.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/input/password.php b/views/default/input/password.php index 21ed2bea0..22374c8d9 100644 --- a/views/default/input/password.php +++ b/views/default/input/password.php @@ -1,9 +1,11 @@ <?php
+$defaults = array(
+ 'placeholder' => elgg_echo('placeholder:password'),
+);
+
$overrides = array(
'type' => 'password',
);
-$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 |