From 9ff9d71952db26c06fe2eb1bf98b53340242e524 Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Thu, 21 Oct 2010 17:46:39 +0000 Subject: Removed html/tag view -- all we really needed was a function to form an attribute string from an array. This is now being used in each input view and there is not so much view nesting going on... --- views/default/input/date.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'views/default/input/date.php') diff --git a/views/default/input/date.php b/views/default/input/date.php index 62014cb92..c408ea3a7 100644 --- a/views/default/input/date.php +++ b/views/default/input/date.php @@ -1,14 +1,6 @@ elgg_echo('placeholder:date'), //'yyyy-mm-dd', -); - -$overrides = array( - 'type' => 'date', -); - if (isset($vars['value']) && is_int($vars['value'])) { $vars['value'] = date("Y-m-d", $vars['value']); } - -echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file +?> + /> -- cgit v1.2.3