From fea75c1f48b4ef798f1687698a22cba82a3713da Mon Sep 17 00:00:00 2001 From: Evan Winslow Date: Sun, 17 Oct 2010 11:17:09 +0000 Subject: Added default placeholders for most inputs -- tried to make code more consistent. Still needs documentation --- views/default/input/file.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'views/default/input/file.php') diff --git a/views/default/input/file.php b/views/default/input/file.php index 4fdc24947..a90eed945 100644 --- a/views/default/input/file.php +++ b/views/default/input/file.php @@ -1,10 +1,11 @@ 'file', - 'value' => FALSE, ); -$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