4 <script type="text/javascript">
6 function submit_report_generator_form(nextsub) {
7 document.report_generator_form.report_generator_dispatch_to.value = nextsub;
8 document.report_generator_form.submit();
14 <style type="text/css">
17 border-top: solid black;
21 border-bottom: solid black;
31 <div class="listtop" width="100%">[% TITLE %]</div>
33 [% IF TOP_INFO_TEXT %]
34 <p>[% TOP_INFO_TEXT %]</p>
37 [% RAW_TOP_INFO_TEXT %]
42 [%- FOREACH row = HEADER_ROWS %]
44 [% FOREACH col = row %]
45 <th class="listheading"
46 [%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%]
47 [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%]
49 [%- IF col.link -%]<a href="[% col.link %]">[%- END -%]
51 [%- IF col.show_sort_indicator -%]<img border="0" src="image/[% IF col.sort_indicator_direction %]down[% ELSE %]up[% END %].png">[%- END -%]
52 [%- IF col.link -%]</a>[%- END -%]
58 [% FOREACH row = ROWS %]
59 [% IF row.IS_CONTROL %]
60 [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
62 <tr class="listrow[% row.outer_idx_odd %]">
63 [%- FOREACH col = row.COLUMNS %]
64 <td[% IF col.align %] align="[% col.align %]"[% END %]
65 [%- IF col.valign %] valign="[% col.valign %]"[%- END %]
66 [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%]
67 [%- SET tdclass = '' %]
68 [%- IF row.BORDER_TOP %][%- SET tdclass = "$tdclass top_border" %][%- END %]
69 [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
70 [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
71 [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
72 [%- IF col.raw_data %]
75 [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
76 [%- IF cell_row.data != '' %]
77 [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
79 [%- IF cell_row.link %]</a>[%- END %]
81 [%- UNLESS iterator.last %]<br>[%- END %]
90 <tr><td colspan="[% NUM_COLUMNS %]"><hr size="3" noshade></td></tr>
95 <p class="message_hint">[% 'No data was found.' | $T8 %]</p>
98 [% RAW_BOTTOM_INFO_TEXT %]
100 [% IF BOTTOM_INFO_TEXT %]
101 <p>[% BOTTOM_INFO_TEXT %]</p>
104 [% IF SHOW_EXPORT_BUTTONS %]
105 <form action="[% HTML.escape(script) %]" name="report_generator_form" method="post">
106 [% FOREACH var = EXPORT_VARIABLES %]<input type="hidden" name="report_generator_hidden_[% var.key %]" value="[% HTML.escape(var.value) %]">
109 <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
110 <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
111 <input type="hidden" name="report_generator_dispatch_to" value="">
112 <input type="hidden" name="action" value="report_generator_dispatcher">
115 [% 'List export' | $T8 %]<br>
116 [% IF ALLOW_PDF_EXPORT %]<input type="submit" class="submit" onclick="submit_report_generator_form('report_generator_export_as_pdf')" value="[% 'Export as PDF' | $T8 %]">[% END %]
117 [% IF ALLOW_CSV_EXPORT %]<input type="submit" class="submit" onclick="submit_report_generator_form('report_generator_export_as_csv')" value="[% 'Export as CSV' | $T8 %]">[% END %]