<tr>
[%- FOREACH row = SELECTS %]
[%- IF row.show %]
- <th align="left">[%- row.hname %]</th>
+ <th align="left" id="print_options_header_[% row.sname %]">[%- row.hname %]</th>
[%- END %]
[%- END %]
[%- IF display_copies %]
- <th align="left">[% 'Copies' | $T8 %]</th>
+ <th align="left" id="print_options_header_copies">[% 'Copies' | $T8 %]</th>
[%- END %]
[%- IF display_groupitems %]
- <th align="left">[% 'Group Items' | $T8 %]</th>
+ <th align="left" id="print_options_header_groupitems">[% 'Group Items' | $T8 %]</th>
+ [%- END %]
+ [%- IF display_bothsided %]
+ <th align="left" id="print_options_header_bothsided">[% 'Both-sided' | $T8 %]</th>
[%- END %]
[%- IF display_remove_draft %]
- <th align="left">[% 'Remove Draft' | $T8 %]</th>
+ <th align="left" id="print_options_header_remove_draft">[% 'Remove Draft' | $T8 %]</th>
[%- END %]
</tr>
[%- END %]
<tr>
[%- FOREACH row = SELECTS %]
[%- IF row.show %]
- <td>
- <select name="[%- name_prefix %][%- row.sname %]">
+ <td id="print_options_input_[% row.sname %]">
+ <select name="[%- name_prefix %][%- row.sname %]" id="[%- id_prefix %][%- row.sname %]">
[%- FOREACH data = row.DATA %]
<option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
[%- END %]
[%- END %]
[%- END %]
[%- IF display_copies %]
- <td>[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
+ <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>
[%- END %]
[%- IF display_groupitems %]
- <td>[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
- <input name="[%- name_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
+ <td id="print_options_input_groupitems">[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
+ <input name="[%- name_prefix %]groupitems" id="[% id_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
+ </td>
+ [%- END %]
+ [%- IF display_bothsided %]
+ <td id="print_options_input_bothsided">[%- IF !show_headers %][% 'Both-sided' | $T8 %][%- END %]
+ <input name="[%- name_prefix %]bothsided" id="[% id_prefix %]bothsided" type="checkbox" class="checkbox" [% bothsided_checked %]>
</td>
[%- END %]
[%- IF display_remove_draft %]
- <td>[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
- <input name="[%- name_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
+ <td id="print_options_input_remove_draft">[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
+ <input name="[%- name_prefix %]remove_draft" id="[% id_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
</td>
[%- END %]
</tr>