From edbd9dbcb738f3f38b7f946f27c55445140580ca Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 17 Jun 2011 11:04:23 +1200 Subject: [PATCH] Bug 6518 : XSS errors --- .../prog/en/modules/opac-addbybiblionumber.tmpl | 2 +- .../prog/en/modules/opac-downloadcart.tmpl | 2 +- .../prog/en/modules/opac-downloadshelf.tmpl | 2 +- .../opac-tmpl/prog/en/modules/opac-review.tmpl | 6 +++--- .../prog/en/modules/opac-serial-issues.tmpl | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tmpl index 510b12d..982dbeb 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-addbybiblionumber.tmpl @@ -66,7 +66,7 @@ - " /> + " />
Cancel
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tmpl index 75adf24..3b65f37 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadcart.tmpl @@ -19,7 +19,7 @@
- " /> + " />
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tmpl index 1398cd0..3e78e74 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-downloadshelf.tmpl @@ -24,7 +24,7 @@ -
" /> +
" />
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tmpl index 573295e..07d7081 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tmpl @@ -11,7 +11,7 @@ alert("injecting OLD comment: " +comment); parent.opener.$('#c p').prev("small").prev("h5").html("Your Edited Comment (preview, pending approval)"); parent.opener.$('#c p').html(comment); - parent.opener.$('#c p').append(" &reviewid=\');\">Edit<\/a>"); + parent.opener.$('#c p').append(" &reviewid=\');\">Edit<\/a>"); 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 @@

?debug=1" method="post"> - " /> + " />
Comments on by
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tmpl index 13a3487..aa62bdc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-serial-issues.tmpl @@ -12,9 +12,9 @@