From 1ed74d6cd919f65a12a34324cadeaaa31431a0d6 Mon Sep 17 00:00:00 2001 From: berick Date: Fri, 1 Apr 2011 14:34:49 -0400 Subject: [PATCH] fixed odd bug w/ href attrs rendering the copyright symbol for ©_limit= --- .../default/opac/parts/record/summary.tt2 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 index c60c248..83a96cd 100644 --- a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 @@ -203,14 +203,16 @@ new_offset = ctx.copy_offset - ctx.copy_limit; IF new_offset < 0; new_offset = 0; END %] - « [% + [%# For some reason, browsers render © (as in, ©_limit=foo) as the copyright + symbol, even though it's inside inside the href attribute string. Use ; instead %] + « [% l('Previous [_1]', ctx.copy_offset - new_offset) %] [% END %] [% IF ctx.copies.size >= ctx.copy_limit %] - [% + [% l('Next [_1]', ctx.copy_limit) %] » -- 1.7.2.5