From 8403c9d2c74694dd482b1d020d847defb8e8c4f7 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Sat, 9 Jun 2012 07:04:48 -0400 Subject: [PATCH] Bug 6141 - html glitches causing problems to translator - 3.8.x * opac-topissue.pl = untranslatable string removed * authorities.pl missing _() in javascript Rewrite of patch authored by Julian Maurice. Signed-off-by: Martin Renvoize Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt | 4 ++-- opac/opac-topissues.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt index c05f6fc1b2..ff30035555 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt @@ -52,7 +52,7 @@ function Dopop(link) { The [% limit %] most checked-out [% IF ( itemtype ) %] [% itemtype %] - [% ELSE %] titles[% END %] + [% END %] [% IF ( branch ) %] at [% branch %] @@ -120,7 +120,7 @@ function Dopop(link) { [% END %]
  • - [% IF ( timeLimit == 3 ) %][% ELSE %][% END %] [% IF ( timeLimit == 6 ) %][% ELSE %][% END %] [% IF ( timeLimit == 12 ) %][% ELSE %][% END %] diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 7fb902e350..dfdb6cd86c 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -122,8 +122,8 @@ if($timeLimit eq 999){ $timeLimitFinite = 0 }; $template->param(do_it => 1, limit => $limit, - branch => $branches->{$branch}->{branchname} || 'all locations', - itemtype => $itemtypes->{$itemtype}->{description} || 'item types', + branch => $branches->{$branch}->{branchname}, + itemtype => $itemtypes->{$itemtype}->{description}, timeLimit => $timeLimit, timeLimitFinite => $timeLimit, results_loop => \@results, -- 2.39.5