1 [%- USE L -%][%- USE LxERP -%]
3 <form method="post" id="file_import_form" action="controller.pl">
7 <th class="listheading" width="3%">[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
8 <th class="listheading" width="11%">[% source.chkall_title %]</th>
9 <th>[% LxERP.t8("Attached Filename") %]</th>
13 [%- FOREACH file = source.files %]
14 <tr class="listrow[% loop.count % 2 %]">
15 <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
17 <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
24 [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]
25 [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel') , class => "submit") %]
30 <script type="text/javascript">
33 $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');