diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-07-27 00:50:47 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-07-27 00:50:47 +0000 |
commit | 182e0ce5039262e5ec2afb9166ea10d8bacafffd (patch) | |
tree | bf6a809d4c884a29c62685727297133a858d1578 /views | |
parent | c7cab3a3bde627d52d94b4d99dd7372d85759c53 (diff) | |
download | elgg-182e0ce5039262e5ec2afb9166ea10d8bacafffd.tar.gz elgg-182e0ce5039262e5ec2afb9166ea10d8bacafffd.tar.bz2 |
Date now provides a placeholder hint by default to show what the format of the date should be.
Diffstat (limited to 'views')
-rw-r--r-- | views/default/input/date.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/input/date.php b/views/default/input/date.php index 08195afcf..b347f835d 100644 --- a/views/default/input/date.php +++ b/views/default/input/date.php @@ -1,9 +1,10 @@ <?php
+$defaults = array(
+ 'placeholder' => 'yyyy-mm-dd',
+);
$overrides = array(
'type' => 'date',
);
-$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 |