From 971ca3897f02d09ed3f7580625362434dbdc7756 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 18 Jun 2007 12:42:11 +0000 Subject: [PATCH] =?utf8?q?ReportGenerator:=20M=C3=B6glichkeit=20zum=20Einf?= =?utf8?q?=C3=BCgen=20einer=20"leeren"=20Zeile,=20die=20die=20ganze=20Tabe?= =?utf8?q?llenbreite=20einnimmt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/ReportGenerator.pm | 15 ++++++++++++--- .../webpages/report_generator/html_report_de.html | 2 +- .../report_generator/html_report_master.html | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 28399f794..f3030b284 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -124,6 +124,13 @@ sub add_separator { push @{ $self->{data} }, { 'type' => 'separator' }; } +sub add_control { + my $self = shift; + my $data = shift; + + push @{ $self->{data} }, $data; +} + sub clear_data { my $self = shift; @@ -252,9 +259,11 @@ sub prepare_html_content { foreach my $row_set (@{ $self->{data} }) { if ('HASH' eq ref $row_set) { my $row_data = { - 'IS_CONTROL' => 1, - 'IS_SEPARATOR' => $row_set->{type} eq 'separator', - 'NUM_COLUMNS' => scalar @visible_columns, + 'IS_CONTROL' => 1, + 'IS_SEPARATOR' => $row_set->{type} eq 'separator', + 'IS_COLSPAN_DATA' => $row_set->{type} eq 'colspan_data', + 'NUM_COLUMNS' => scalar @visible_columns, + 'data' => $row_set->{data}, }; push @rows, $row_data; diff --git a/templates/webpages/report_generator/html_report_de.html b/templates/webpages/report_generator/html_report_de.html index 9673a484a..2230b5766 100644 --- a/templates/webpages/report_generator/html_report_de.html +++ b/templates/webpages/report_generator/html_report_de.html @@ -32,7 +32,7 @@ -
+
align=""
valign="" class="">
diff --git a/templates/webpages/report_generator/html_report_master.html b/templates/webpages/report_generator/html_report_master.html index 01e7c61da..2e2ecce0b 100644 --- a/templates/webpages/report_generator/html_report_master.html +++ b/templates/webpages/report_generator/html_report_master.html @@ -32,7 +32,7 @@ -
+
align=""
valign="" class="">
-- 2.20.1