From 8dfea7b76119fba242ecca16748a0f4212e378ba Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 9 Feb 2011 08:43:09 -0500 Subject: [PATCH] Follow-up fix for Bug 5462, Fix variable names so we dont break template::toolkit Content-Type: text/plain; charset="utf-8" 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? --- 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 2dc7b1d..d73c5d9 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 1e9c1a6..f9cc90d 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) {
- +
-- 1.7.3