<tr>
<td>
<table>
+ [%- IF show_headers %]
<tr>
+ [%- FOREACH row = SELECTS %]
+ [%- IF row.show %]
+ <th align="left">[%- row.hname %]</th>
+ [%- END %]
+ [%- END %]
+ [%- IF display_copies %]
+ <th align="left">[% 'Copies' | $T8 %]</th>
+ [%- END %]
+ [%- IF display_groupitems %]
+ <th align="left">[% 'Group Items' | $T8 %]</th>
+ [%- END %]
+ [%- IF display_remove_draft %]
+ <th align="left">[% 'Remove Draft' | $T8 %]</th>
+ [%- END %]
+ </tr>
+ [%- END %]
+ <tr>
+ [%- FOREACH row = SELECTS %]
+ [%- IF row.show %]
<td>
- [%- FOREACH row = SELECTS %]
- [%- IF row.show %]
<select name="[%- name_prefix %][%- row.sname %]">
[%- FOREACH data = row.DATA %]
- <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
+ <option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option>
[%- END %]
</select>
- [%- END %]
- [%- END %]
</td>
+ [%- END %]
+ [%- END %]
[%- IF display_copies %]
- <td>[% 'Copies' | $T8 %] <input name="[%- name_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
+ <td>[%- IF !show_headers %][%- 'Copies' | $T8 %][%- END %]<input name="[%- name_prefix %]copies" size="2" value="[% HTML.escape(copies) %]"></td>
[%- END %]
[%- IF display_groupitems %]
- <td>[% 'Group Items' | $T8 %]</td>
- <td><input name="[%- name_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]></td>
+ <td>[%- IF !show_headers %][% 'Group Items' | $T8 %][%- END %]
+ <input name="[%- name_prefix %]groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]>
+ </td>
[%- END %]
[%- IF display_remove_draft %]
- <td>[% 'Remove Draft' | $T8 %]</td>
- <td><input name="[%- name_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]></td>
+ <td>[%- IF !show_headers %][% 'Remove Draft' | $T8 %][%- END %]
+ <input name="[%- name_prefix %]remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]>
+ </td>
[%- END %]
</tr>
</table>
</td>
</tr>
</table>
-