From: Evan Winslow Date: Tue, 27 Jul 2010 00:50:47 +0000 (+0000) Subject: Date now provides a placeholder hint by default to show what the format of the date... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=182e0ce5039262e5ec2afb9166ea10d8bacafffd;p=lorea%2Felgg.git Date now provides a placeholder hint by default to show what the format of the date should be. --- 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