]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/file/import_dialog.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / file / import_dialog.html
1 [% USE L %]
2 [% USE LxERP %]
3
4 <form method="post" id="file_import_form" action="controller.pl">
5
6 <table class="tbl-list">
7   <thead>
8     <tr>
9       <th>[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
10       <th>[% source.chkall_title %]</th>
11       <th>[% LxERP.t8("Attached Filename") %]</th>
12     </tr>
13   </thead>
14   <tbody>
15     [% FOREACH file = source.files %]
16       <tr class="listrow[% loop.count % 2 %]">
17         <td>[% L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
18         <td></td>
19         <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
20      </tr>
21    [% END %]
22   </tbody>
23 </table>
24
25 <div class="buttons">
26   [% 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") %]</td>
27   [% L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
28 </div>
29
30 </form>
31
32 <script type="text/javascript">
33 <!--
34 $(function() {
35   $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');
36 });
37 -->
38 </script>