From 47979599648eee2a55e78005a86422d4a97b1b03 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Feb 2011 07:49:07 +0000 Subject: [PATCH] Follow-up fix for Bug 5462, Fix variable names so we dont break template::toolkit A change was made to MARCdetail.tmpl without making a corresponding change to MARCdetail.pl. I've reworked the original change so that both can work together. 0XX --> tab0XX Apparently TMPL variables can't start with a number now? MR: Recreated patch file to recover failure to apply. Signed-off-by: Marcel de Rooy Signed-off-by: Chris Cormack --- catalogue/MARCdetail.pl | 2 +- .../prog/en/modules/catalogue/MARCdetail.tmpl | 44 +++++++++---------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 2dc7b1d5e7..d73c5d99ae 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -227,7 +227,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { undef @subfields_data; } } - $template->param( $tabloop . "XX" => \@loop_data ); + $template->param( "tab" . $tabloop . "XX" => \@loop_data ); } # now, build item tab ! diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl index 1e9c1a66ae..f9cc90de35 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl @@ -45,42 +45,42 @@ function Changefwk(FwkList) {
- +
@@ -110,7 +110,7 @@ function Changefwk(FwkList) {
- +
@@ -140,7 +140,7 @@ function Changefwk(FwkList) {
- +
@@ -170,7 +170,7 @@ function Changefwk(FwkList) {
- +
@@ -200,7 +200,7 @@ function Changefwk(FwkList) {
- +
@@ -230,7 +230,7 @@ function Changefwk(FwkList) {
- +
@@ -260,7 +260,7 @@ function Changefwk(FwkList) {
- +
@@ -290,7 +290,7 @@ function Changefwk(FwkList) {
- +
@@ -320,7 +320,7 @@ function Changefwk(FwkList) {
- +
@@ -350,7 +350,7 @@ function Changefwk(FwkList) {
- +
@@ -379,7 +379,7 @@ function Changefwk(FwkList) {
- +
-- 2.39.5