diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 66a97cda2d..221e8098b7 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -49,6 +49,7 @@ 'select-account' => 'Select Account', // label=accounts(default),groups,both // size: -1=Single+not assigned, 0=Single, >0=Multiple 'raw' => 'Raw', // Raw html in $content[$cell['name']] + 'file' => 'FileUpload' // show an input type='file', set the local name as ${name}_path ); /*! @function boetemplate diff --git a/etemplate/inc/class.html.inc.php b/etemplate/inc/class.html.inc.php index 24ff27c61b..9977540cd0 100644 --- a/etemplate/inc/class.html.inc.php +++ b/etemplate/inc/class.html.inc.php @@ -95,9 +95,9 @@ class html return "\n"; } - function form($content,$hidden_vars,$url,$url_vars='',$name='',$method='POST') + function form($content,$hidden_vars,$url,$url_vars='',$name='',$options='',$method='POST') { - $html = "