[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%] [%- USE T8 %][% USE Base64 %]
[% 'Title' | $T8 %] | [% 'Description' | $T8 %] | [% 'Filename' | $T8 %] | [% 'Orig. Size w/h' | $T8 %] | [% 'Action' | $T8 %] | ||
---|---|---|---|---|---|---|
[% HTML.escape(img.file.title) %] | [% HTML.escape(img.file.description) %] | [% HTML.escape(img.file.file_name) %] | [% HTML.escape(img.org_file_width) _ ' x ' _ HTML.escape(img.org_file_height) %] | [% L.button_tag("kivi.File.delete_file(" _ img.file_id _ ", 'ShopPart/ajax_delete_file')", LxERP.t8('Delete'), confirm=LxERP.t8("Are you sure?")) %] |
[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]