Revision d9e5bd29
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/file/upload_dialog.html | ||
---|---|---|
1 | 1 |
[%- USE L -%][%- USE LxERP -%][%- USE JavaScript -%] |
2 |
|
|
2 |
xx |
|
3 | 3 |
<form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl"> |
4 |
[% SET multiple = 'true' %] |
|
5 |
[% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %] |
|
4 | 6 |
<table> |
5 | 7 |
<tr> |
6 | 8 |
<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>
|
|
9 |
<input type="file" name="uploadfiles[]" multiple="[% multiple %]" id="upload_files" size="45" accept="[% SELF.accept_types %]" onchange="kivi.File.allow_upload_submit();"></td>
|
|
8 | 10 |
</tr> |
11 |
[% IF SELF.object_type == 'shop_image' %] |
|
12 |
<tr> |
|
13 |
<td>[% LxERP.t8("Title") %]</td> |
|
14 |
<td>[% L.input_tag("title",'') %]</td> |
|
15 |
</tr> |
|
16 |
<tr> |
|
17 |
<td>[% LxERP.t8("Description") %]</td> |
|
18 |
<td>[% L.input_tag("description",'') %]</td> |
|
19 |
</tr> |
|
20 |
[% END %] |
|
9 | 21 |
</table> |
10 | 22 |
|
11 | 23 |
<p> |
Auch abrufbar als: Unified diff
Shopmodul: Bilder hochladen