4 <form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl">
5 [% SET multiple = 'true' %]
6 [% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %]
9 <table class="tbl-horizontal">
12 <th>[% LxERP.t8("Filename") %]:</th>
13 <td><input type="file" name="uploadfiles[]" multiple="[% multiple %]" id="upload_files" size="45" accept="[% SELF.accept_types %]" onchange="kivi.File.allow_upload_submit();"></td>
15 [% IF SELF.object_type == 'shop_image' %]
17 <th>[% LxERP.t8("Title") %]</th>
18 <td>[% L.input_tag("title",'') %]</td>
21 <th>[% LxERP.t8("Description") %]</th>
22 <td>[% L.input_tag("description",'') %]</td>
29 <input value="[% LxERP.t8("Upload file") %]" id="upload_selected_button" onclick="kivi.File.upload_selected_files([% SELF.object_id %],'[% SELF.object_type %]','[% SELF.file_type %]',[% SELF.maxsize %],[% SELF.is_global %]);" type="button" disabled >
30 <a href="#" onclick="kivi.File.reset_upload_form();" class="button neutral">[% LxERP.t8("Reset") %]</a>
31 <a href="#" onclick="$('#files_upload').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a>
34 <div id="upload_result"><p></p></div>