From b776266faa77c5fd5732d6345554b2f0b43bb02e Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 10 Jun 2009 20:23:52 -0400 Subject: [PATCH] Bug 2889: Added highlighting to smart-rules.tmpl Removed unused toggle variable form smart-rules.pl and added highlighting to smart-rules.tmpl through template __odd__. Signed-off-by: Galen Charlton --- admin/smart-rules.pl | 1 - .../prog/en/modules/admin/smart-rules.tmpl | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index ce7dc9dbd3..40e9084a33 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -349,7 +349,6 @@ $sth->finish; $sth=$dbh->prepare("SELECT description,itemtype FROM itemtypes ORDER BY description"); $sth->execute; # $i=0; -my $toggle= 1; my @row_loop; my @itemtypes; while (my $row=$sth->fetchrow_hashref){ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl index 383e9799d8..166746e846 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl @@ -71,7 +71,11 @@ $(document).ready(function() { Loan Period  + + + + Default @@ -197,7 +201,11 @@ $(document).ready(function() {   + + + + Default @@ -263,7 +271,11 @@ $(document).ready(function() {   + + + + Default -- 2.39.5