Skip to content
Snippets Groups Projects
Commit 164f3954 authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Merge pull request #6824 from ATM-Marc/NEW_multiple_fileupload

NEW permit multiple file upload in linked documents tab
parents ab019cac 2b64cf0e
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,9 @@ class FormFile
{
$out .= '<input type="hidden" name="max_file_size" value="'.($max*1024).'">';
}
$out .= '<input class="flat minwidth400" type="file" name="userfile"';
$out .= '<input class="flat minwidth400" type="file"';
$out .= ((empty($conf->global->MAIN_USE_MULTIPLE_FILEUPLOAD) || $conf->browser->layout == 'phone')?' name="userfile"':' name="userfile[]" multiple');
$out .= (empty($conf->global->MAIN_UPLOAD_DOC) || empty($perm)?' disabled':'');
$out .= '>';
$out .= ' ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment