Revision 10090774
Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt
SL/ReportGenerator.pm | ||
---|---|---|
271 | 271 |
|
272 | 272 |
my $header = { |
273 | 273 |
'name' => $name, |
274 |
'align' => $column->{align}, |
|
274 | 275 |
'link' => $column->{link}, |
275 | 276 |
'text' => $column->{text}, |
276 | 277 |
'show_sort_indicator' => $name eq $opts->{sort_indicator_column}, |
... | ... | |
398 | 399 |
my $self = shift; |
399 | 400 |
my $variables = $self->prepare_html_content(); |
400 | 401 |
|
402 |
$main::lxdebug->dump(0, "VARs", $variables->{HEADER_ROWS}); |
|
403 |
|
|
401 | 404 |
return $self->{form}->parse_html_template($self->{options}->{html_template}, $variables); |
402 | 405 |
} |
403 | 406 |
|
templates/webpages/report_generator/html_report_de.html | ||
---|---|---|
42 | 42 |
<tr> |
43 | 43 |
[% FOREACH col = row %] |
44 | 44 |
<th class="listheading" |
45 |
[%- IF col.align %] align="[% HTML.escape(col.align) %]"[% END -%] |
|
45 |
[%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%]
|
|
46 | 46 |
[%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%] |
47 | 47 |
> |
48 | 48 |
[%- IF col.link -%]<a href="[% col.link %]">[%- END -%] |
templates/webpages/report_generator/html_report_master.html | ||
---|---|---|
42 | 42 |
<tr> |
43 | 43 |
[% FOREACH col = row %] |
44 | 44 |
<th class="listheading" |
45 |
[%- IF col.align %] align="[% HTML.escape(col.align) %]"[% END -%] |
|
45 |
[%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%]
|
|
46 | 46 |
[%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%] |
47 | 47 |
> |
48 | 48 |
[%- IF col.link -%]<a href="[% col.link %]">[%- END -%] |
Auch abrufbar als: Unified diff
ReportGenerator: Spaltentitel in der HTML-Ausgabe ausrichtbar gemacht (Attribut "align").