Revision c8598827
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
js/kivi.ShopPart.js | ||
---|---|---|
138 | 138 |
is_global: gl |
139 | 139 |
}, |
140 | 140 |
id: 'files_upload', |
141 |
dialog: { title: upload_title, width: 650, height: 240 } });
|
|
141 |
dialog: { title: kivi.t8('File upload'), width: 650, height: 240 } });
|
|
142 | 142 |
return true; |
143 | 143 |
} |
144 | 144 |
|
templates/webpages/file/upload_dialog.html | ||
---|---|---|
1 | 1 |
[%- USE L -%][%- USE LxERP -%][%- USE JavaScript -%] |
2 |
xx |
|
2 |
|
|
3 | 3 |
<form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl"> |
4 | 4 |
[% SET multiple = 'true' %] |
5 | 5 |
[% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %] |
templates/webpages/shop_part/_list_images.html | ||
---|---|---|
31 | 31 |
|
32 | 32 |
[% L.sortable_element('#images_list tbody', url=SELF.url_for(action='reorder'), with='image_id') %] |
33 | 33 |
<p> |
34 |
[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image','Upload shopimage',0);", LxERP.t8('Upload shopimage') ) %]
|
|
34 |
[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]
|
|
35 | 35 |
</p> |
Auch abrufbar als: Unified diff
Shopmodul: Einheitliche Übersetzung Buttuon und Titel Popup beim
Shopbild hochladen