From 391a34af887f3ee8a61cceb35b818b5530e0deaf Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 30 Oct 2007 13:47:18 -0500 Subject: [PATCH] Fix to make the template translatable, bug 1528, and fix for 1529 Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../modules/reports/guided_reports_start.tmpl | 62 +++++++++++++------ reports/guided_reports.pl | 2 +- 2 files changed, 44 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl index 3dd7085dde..bffba59a70 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl @@ -24,18 +24,27 @@

Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.

-
+

Build And Run Reports

- - - - + + + +
+
+ + +
+
+ + +

Reports Dictionary

Use the reports dictionary to define custom criteria to use in your reports

- + +
@@ -70,7 +79,8 @@ reports


- + + @@ -87,7 +97,8 @@ reports


- + +
Tabular: @@ -131,7 +142,8 @@ Matrix: - + + @@ -182,7 +194,8 @@ TMPL_VAR NAME="id" -->"> - + + @@ -210,7 +223,8 @@ NAME="name" -->"> - + + @@ -239,20 +253,26 @@ NAME="name" -->">
- + + -

Confirm Custom Report

-

Your report will be generated with the following SQL statement.

+

Your report will be generated with the following SQL statement. +

+ +

+
"> ">

You will need to save the report before you can execute it

- + + +
@@ -263,7 +283,8 @@ NAME="name" -->"> "> Report Name:
Notes:
- + + @@ -282,8 +303,9 @@ Notes:
- "> + + @@ -300,7 +322,8 @@ Type:
SQL:
- + + @@ -318,7 +341,8 @@ Sub report:
- + + diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 5cc3cc0a74..9d0bc05630 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -306,7 +306,7 @@ elsif ( $phase eq 'Save' ) { my $sql = $input->param('sql'); my $type = $input->param('type'); $template->param( - 'save_successful' => 1, + 'save' => 1, 'sql' => $sql, 'type' => $type ); -- 2.39.5