我如何在tinymce-> jbimages插件中使用一个输入type =“ file”上传多个文件? jbimages当前一次接受1张图片。我正在尝试调整
/**
* Perform the file upload
*
* @return bool
*/
public function do_upload($field = 'userfile')
但没有发现运气。
<form class="form-inline" id="upl" name="upl" action="ci/index.php?upload/english" method="post" enctype="multipart/form-data" target="upload_target" onsubmit="jbImagesDialog.inProgress();">
<div id="upload_in_progress" class="upload_infobar"><img src="img/spinner.gif" width="16" height="16" class="spinner">Upload in progress… <div id="upload_additional_info"></div></div>
<div id="upload_infobar" class="upload_infobar"></div>
<p id="upload_form_container">
<input id="uploader" name="userfile[]" multiple type="file" class="jbFileBox" onChange="document.upl.submit(); jbImagesDialog.inProgress();">
</p>
<p id="the_plugin_name"><a href="http://justboil.me/" target="_blank" title="JustBoil.me — a TinyMCE Images Upload Plugin">JustBoil.me Images Plugin</a></p>
</form>