From 6db2f588280e5181b274cb914050f26f5f265348 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 17 Aug 2011 15:45:44 -0400 Subject: [PATCH] Tpac: more html output scrubbing Signed-off-by: Bill Erickson --- .../default/opac/parts/result/lowhits.tt2 | 2 +- .../templates/default/opac/parts/result/table.tt2 | 40 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2 b/Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2 index 78679fc7e1..4d29419403 100644 --- a/Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2 @@ -6,7 +6,7 @@ [% CGI.param('query') | html %] [% END %]
- Did you mean + [% l('Did you mean') %] ?

diff --git a/Open-ILS/src/templates/default/opac/parts/result/table.tt2 b/Open-ILS/src/templates/default/opac/parts/result/table.tt2 index 07fe359f10..a22308d7cc 100644 --- a/Open-ILS/src/templates/default/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/default/opac/parts/result/table.tt2 @@ -45,16 +45,16 @@ [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] [% l('Image of item') %]
+ src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident | uri %]' />
[% END %]
- [% attrs.title | html_entity%] + class='search_link'>[% attrs.title | html %]
@@ -63,9 +63,9 @@ href="[%- authorquery = attrs.author | replace('[,\.:;]', ''); mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}) - -%]">[% attrs.author | html_entity %] + -%]">[% attrs.author | html %]    - [% attrs.pubdate %] + [% attrs.pubdate | html %]
@@ -74,7 +74,7 @@ - + [% END %] @@ -86,7 +86,7 @@ - + [% END %] [% IF attrs.isbns.size > 0 %] @@ -94,7 +94,7 @@ - + [% END %] [% IF openurl.enabled == 'true'; @@ -105,9 +105,9 @@ - + [% END %] [% END %] @@ -118,7 +118,7 @@ - + [% END %] [% IF attrs.phys_desc %] @@ -127,7 +127,7 @@ [% l('Phys. Desc.:') %] [% END %] @@ -136,7 +136,7 @@ - + [% END %] [% IF args.holdings.size > 0 %] @@ -152,10 +152,10 @@ [% FOR copy IN args.holdings %] - - - - + + + + [% END %] @@ -188,7 +188,7 @@ -- 2.11.0
[% l('Call number:') %] [% args.holdings.0.label %][% args.holdings.0.label | html %]
[% l('Publisher:') %] [% attrs.publisher; %][% attrs.publisher | html %]
[% l('ISBN:') %] [% attrs.isbns.0 %][% attrs.isbns.0 | html %]
- [% res.public_name %] + [% res.public_name | html %] [% res.target_coverage %][% res.target_coverage | html %]
[% l('Edition:') %] [% attrs.edition %][% attrs.edition | html %]
- [% args.phys_desc %] + [% args.phys_desc | html %]
[% l('Electronic resource') %] [% uri.link %][% ' - ' _ uri.note IF uri.note %][% uri.link | html %][% ' - ' _ uri.note | html IF uri.note %]
[% copy.library %][% copy.location %][% copy.label %][% copy.status %][% copy.library | html %][% copy.location | html %][% copy.label | html %][% copy.status | html %]
[% IF attrs.format_icon %] - [% attrs.format_label %] + [% attrs.format_label | html %] [% END %] @@ -228,13 +228,13 @@
-
+
- +