From 31bdb45727aa6e0841027f705e9453603386f647 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 17 Jun 2011 08:39:29 +1200 Subject: [PATCH] Bug 6518 : Fixing XSS issues on opac --- .../prog/en/modules/opac-addbybiblionumber.tt | 2 +- .../opac-tmpl/prog/en/modules/opac-downloadcart.tt | 2 +- .../prog/en/modules/opac-downloadshelf.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt | 6 +++--- .../prog/en/modules/opac-serial-issues.tt | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tt index dab4fda..f6479f9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tt @@ -66,7 +66,7 @@ - [% FOREACH biblio IN biblios %] [% END %] + [% FOREACH biblio IN biblios %] [% END %]
Cancel
[% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tt index 45d5de7..8d22c4d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tt @@ -19,7 +19,7 @@
- +
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tt index 608c955..b984f5d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tt @@ -26,7 +26,7 @@ -
+
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt index 338f174..3e69614 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt @@ -11,7 +11,7 @@ [% IF ( cgi_debug ) %]alert(_('injecting OLD comment: ')+comment);[% END %] parent.opener.$('#c[% reviewid %] p').prev("small").prev("h5").html("Your Edited Comment (preview, pending approval)"); parent.opener.$('#c[% reviewid %] p').html(comment); - parent.opener.$('#c[% reviewid %] p').append(" Edit<\/a>"); + parent.opener.$('#c[% reviewid %] p').append("Edit<\/a>"); [% END %] return 1; }; @@ -21,7 +21,7 @@ parent.opener.$('#newcomment').html( "
Your Comment (preview, pending approval)<\/h5>" + "

"+comment+"<\/p>" + - "Edit<\/a><\/p>" + "Edit<\/a><\/p>" ); parent.opener.$("#addcomment").prev("p").remove(); parent.opener.$("#addcomment").remove(); @@ -66,7 +66,7 @@ [% END %]

- +
Comments on [% title |html %] [% subtitle %][% IF ( author ) %]by [% author %][% END %]
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt index 8d6b94b..5d45b53 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tt @@ -12,9 +12,9 @@

Issues for a subscription

[% FOREACH subscription_LOO IN subscription_LOOP %] -- 1.7.4.1