diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-17 11:17:09 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-17 11:17:09 +0000 |
commit | fea75c1f48b4ef798f1687698a22cba82a3713da (patch) | |
tree | 0cfeb11e73361289b6c52ed9e5dd0417bd97defe /views/default/input/week.php | |
parent | 419c4e01ba3a8b8a038cee32c1fce7d1883532c1 (diff) | |
download | elgg-fea75c1f48b4ef798f1687698a22cba82a3713da.tar.gz elgg-fea75c1f48b4ef798f1687698a22cba82a3713da.tar.bz2 |
Added default placeholders for most inputs -- tried to make code more consistent. Still needs documentation
Diffstat (limited to 'views/default/input/week.php')
-rw-r--r-- | views/default/input/week.php | 8 |
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 |