3 <style type="text/css">
6 border-top: solid black;
10 border-bottom: solid black;
22 [%- INCLUDE 'common/flash.html' %]
24 [% IF TOP_INFO_TEXT %]
25 <p>[% TOP_INFO_TEXT %]</p>
28 [% RAW_TOP_INFO_TEXT %]
32 <table [% IF TABLE_CLASS %]class="[% TABLE_CLASS %]"[% END %] id="report_table_id" width="100%">
33 [%- FOREACH row = HEADER_ROWS %]
35 [% FOREACH col = row %]
36 <th class="listheading"
37 [%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%]
38 [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%]
40 [%- IF col.raw_header_data %]
41 [% col.raw_header_data %]
43 [%- IF col.link -%]<a class="[% col.link_class ? col.link_class : 'report-generator-header-link' %]" href="[% HTML.escape(col.link) %]">[%- END -%]
45 [%- IF col.show_sort_indicator -%]<img border="0" src="image/[% IF col.sort_indicator_direction %]down[% ELSE %]up[% END %].png">[%- END -%]
46 [%- IF col.link -%]</a>[%- END -%]
53 [% FOREACH row = ROWS %]
54 [% IF row.IS_CONTROL %]
55 [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
57 <tr class="listrow[% row.outer_idx_odd %]">
58 [%- FOREACH col = row.COLUMNS %]
59 <td[% IF col.align %] align="[% col.align %]"[% END %]
60 [%- IF col.valign %] valign="[% col.valign %]"[%- END %]
61 [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%]
62 [%- SET tdclass = '' %]
63 [%- IF row.BORDER_TOP %][%- SET tdclass = "$tdclass top_border" %][%- END %]
64 [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
65 [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
66 [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
67 [%- IF col.raw_data %]
70 [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
71 [%- IF cell_row.data != '' %]
72 [%- IF cell_row.link %]<a href="[% HTML.escape(cell_row.link) %]"[% IF cell_row.link_class %] class="[% cell_row.link_class %]"[% END %]>[%- END %]
74 [%- IF cell_row.link %]</a>[%- END %]
76 [%- UNLESS iterator.last %]<br>[%- END %]
89 <p class="message_hint">[% 'No data was found.' | $T8 %]</p>
92 [% RAW_BOTTOM_INFO_TEXT %]
94 [% IF BOTTOM_INFO_TEXT %]
95 <p>[% BOTTOM_INFO_TEXT %]</p>
98 [% IF SHOW_EXPORT_BUTTONS %]
99 <form action="[% HTML.escape(script) %]" name="report_generator_form" method="post">
100 [% FOREACH var = EXPORT_VARIABLES %]<input type="hidden" name="report_generator_hidden_[% var.key %]" value="[% HTML.escape(var.value) %]">
103 [%- IF CONTROLLER_DISPATCH %]
104 <input type="hidden" name="action" value="[% CONTROLLER_DISPATCH %]/dispatch">
105 <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
106 <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
107 <input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]">
110 [% 'List export' | $T8 %]<br>
111 [% IF ALLOW_PDF_EXPORT %]<input type="submit" name="action_report_generator_export_as_pdf" value="[% 'Export as PDF' | $T8 %]">[% END %]
112 [% IF ALLOW_CSV_EXPORT %]<input type="submit" name="action_report_generator_export_as_csv" value="[% 'Export as CSV' | $T8 %]">[% END %]
115 <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
116 <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
117 <input type="hidden" name="report_generator_dispatch_to" value="">
118 <input type="hidden" name="action" value="report_generator_dispatcher">
121 [% 'List export' | $T8 %]<br>
122 [% 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 %]
123 [% 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 %]
125 <script type="text/javascript"> <!--
126 function submit_report_generator_form(nextsub) {
127 document.report_generator_form.report_generator_dispatch_to.value = nextsub;
128 document.report_generator_form.submit();