From 182e0ce5039262e5ec2afb9166ea10d8bacafffd Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Tue, 27 Jul 2010 00:50:47 +0000 Subject: Date now provides a placeholder hint by default to show what the format of the date should be. --- views/default/input/date.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'views') 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 @@ '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 -- cgit v1.2.3