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