mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
For Handler: Fix for file 'multiple' attribute.
This commit is contained in:
@@ -1125,11 +1125,14 @@ class e_form
|
|||||||
|
|
||||||
return e107::getRate()->renderLike($table,$id,$options);
|
return e107::getRate()->renderLike($table,$id,$options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File Upload form element.
|
||||||
|
* @param $name
|
||||||
|
* @param array $options (optional) array('multiple'=>1)
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
function file($name, $options = array())
|
function file($name, $options = array())
|
||||||
{
|
{
|
||||||
$options = $this->format_options('file', $name, $options);
|
$options = $this->format_options('file', $name, $options);
|
||||||
@@ -2611,7 +2614,8 @@ class e_form
|
|||||||
'autocomplete' => '',
|
'autocomplete' => '',
|
||||||
'maxlength' => '',
|
'maxlength' => '',
|
||||||
'wrap' => '',
|
'wrap' => '',
|
||||||
'maxlength' => ''
|
'multiple' => '',
|
||||||
|
|
||||||
// 'multiple' => false, - see case 'select'
|
// 'multiple' => false, - see case 'select'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user