aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/time.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/time.php')
-rw-r--r--views/default/input/time.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/input/time.php b/views/default/input/time.php
index c6b1c458b..f0ba3d169 100644
--- a/views/default/input/time.php
+++ b/views/default/input/time.php
@@ -1,9 +1,11 @@
<?php
+$defaults = array(
+ 'placeholder' => elgg_echo('placeholder:time'),
+);
+
$overrides = array(
'type' => 'time',
);
-$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