be8343f111ef2feae73a84a0812d6886bb0a42b3
[kivitendo-erp.git] / templates / webpages / generic / print_options.html
1 [%- USE T8 %]
2 [% USE HTML %]
3
4 <table width="100%" cellspacing="0" cellpadding="0">
5  <tr>
6   <td>
7    <table>
8     [%- IF show_headers %]
9     <tr>
10      [%- FOREACH row = SELECTS %]
11      [%- IF row.show %]
12      <th align="left" id="print_options_header_[% row.sname %]">[%- row.hname %]</th>
13      [%- END %]
14      [%- END %]
15      [%- IF display_copies %]
16      <th align="left" id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
17      [%- END %]
18      [%- IF display_groupitems %]
19      <th align="left" id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
20      [%- END %]
21      [%- IF display_bothsided %]
22      <th align="left" id="print_options_header_bothsided">[% 'Both-sided' | $T8 %]</th>
23      [%- END %]
24      [%- IF display_remove_draft %]
25      <th align="left" id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
26      [%- END %]
27     </tr>
28     [%- END %]
29     <tr>
30      [%- FOREACH row = SELECTS %]
31      [%- IF row.show %]
32      <td id="print_options_input_[% row.sname %]">
33       <select name="[%- name_prefix %][%- row.sname %]" id="[%- id_prefix %][%- row.sname %]">
34        [%- FOREACH data = row.DATA %]
35         <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
36        [%- END %]
37       </select>
38      </td>
39      [%- END %]
40      [%- END %]
41      [%- IF display_copies %]
42      <td id="print_options_input_copies">[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" id="[% id_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
43      [%- END %]
44      [%- IF display_groupitems %]
45      <td id="print_options_input_groupitems">[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
46       <input name="[%- name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
47      </td>
48      [%- END %]
49      [%- IF display_bothsided %]
50      <td id="print_options_input_bothsided">[%- IF !show_headers %][% 'Both-sided' | $T8 %][%- END %]
51       <input name="[%- name_prefix %]bothsided" id="[% id_prefix %]bothsided" type="checkbox" class="checkbox" [% bothsided_checked %]>
52      </td>
53      [%- END %]
54      [%- IF display_remove_draft %]
55      <td id="print_options_input_remove_draft">[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
56       <input name="[%- name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
57      </td>
58      [%- END %]
59     </tr>
60    </table>
61   </td>
62   <td align=right>
63    <table><tr><th>[% status_msg %]</th></tr></table>
64   </td>
65  </tr>
66 </table>