1 [%- USE L -%][%- USE LxERP -%][%- USE JavaScript -%]
3 <form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl">
6 <td>[%- LxERP.t8("Filename") %]:</td><td>
7 <input type="file" name="uploadfiles[]" multiple="true" id="upload_files" size="45" accept="[% SELF.accept_types %]" onchange="kivi.File.allow_upload_submit();"></td>
12 <input value="[%- LxERP.t8("Upload file") %]" id="upload_selected_button"
13 onclick="kivi.File.upload_selected_files([% SELF.object_id %],'[% SELF.object_type %]','[% SELF.file_type %]',[% SELF.maxsize %],[% SELF.is_global %]);"
14 type="button" disabled >
15 <a href="#" onclick="kivi.File.reset_upload_form();">[%- LxERP.t8("Reset") %]</a>
16 <a href="#" onclick="$('#files_upload').dialog('close');">[% LxERP.t8("Cancel") %]</a>
21 <div id="upload_result"><p> </p></div>