Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules
Owen Leonard 3e91d99a15 Bug 20053: Drop type attribute "text/javascript" in OPAC templates
This patch is a reimplementation of the original from Indranil Das Gupta
and the QA follow-up from Julian Maurice. Original test plan:

Conformance rules for HTML5 is generating warnings for <script> element
with type="text/javascript" attribute when the OPAC page is checked
with W3C Validator. This patch removes the cause of these warnings.

Test plan
=========

1/ Paste the URL to your OPAC page (if it is hosted) to W3C Validator
   and watch about 10+ warnings being generated by the validator.

2/ Apply patch and re-submit the page to the Validator. The warnings
   would be gone.

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-06-08 09:48:12 -04:00
..
clubs Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
errors Bug 16270 (followup) Typo authentification vs authentication 2016-04-29 14:44:26 +00:00
sci Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
sco Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
svc Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
text
ilsdi.tt Bug 13990: ILS-DI LookupPatron requires ID Type 2018-01-30 14:18:21 -03:00
maintenance.tt Bug 20054: Remove attribute "text/css" for <style> element in OPAC 2018-02-12 17:38:57 -03:00
opac-account-pay-error.tt Bug 16473: Fix typo "an problem" vs "a problem" 2016-05-12 16:21:52 -06:00
opac-account.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-addbybiblionumber.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-advsearch.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-alert-subscribe.tt Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-auth-detail.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-auth-MARCdetail.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-auth.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-authorities-home.tt Bug 18624: (followup) opac-authorities-home.tt uses 'any' 2017-08-15 11:39:46 -03:00
opac-authoritiessearchresultlist.tt Bug 16875: OPAC - removing link to records if authority is not used by any records 2016-09-09 13:11:40 +00:00
opac-basket.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-blocked.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-browser.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-course-details.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-course-reserves.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-detail.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-discharge.tt Bug 16463: Replace discharge link with error message if user has checked out items 2017-09-29 12:37:00 -03:00
opac-downloadcart.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-downloadshelf.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-full-serial-issues.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-ics.tt Bug 17322 - Translation breaks opac-ics.tt 2016-09-25 13:49:33 +00:00
opac-idref.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-illrequests.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-imageviewer.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-ISBDdetail.tt Bug 19319: Reflected XSS Vulnerability in opac-MARCdetail.pl 2018-01-09 16:02:25 -03:00
opac-issue-note.tt Bug 14224: Replace AllowIssueNotes with AllowCheckoutNotes 2017-04-28 09:03:22 -04:00
opac-main.tt Bug 18820: Main block size now adjust to OpacNavRight like it would for opacuserlogin 2018-04-02 18:12:30 -03:00
opac-MARCdetail.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-memberentry-update-submitted.tt
opac-memberentry.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-messaging.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-mymessages.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-news-rss.tt Bug 17960: Rename opac_news.new with opac_news.content 2017-02-06 17:42:12 +00:00
opac-opensearch.tt Bug 20286: Fix filter for BakerTaylor* prefs 2018-03-14 08:59:29 +00:00
opac-overdrive-search.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-passwd.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-password-recovery.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-privacy.tt Bug 20363: (bug 16966 follow-up) better messages handling 2018-04-23 14:22:16 -03:00
opac-readingrecord.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-registration-confirmation.tt Bug 19911: Escape password value during self-registration confirmation 2018-01-15 12:14:00 -03:00
opac-registration-email-sent.tt
opac-registration-invalid.tt
opac-request-article.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-reserve.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-restrictedpage.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-results-grouped.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-results.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-retrieve-file.tt Bug 14904: Resolve warning from tt_valid.t 2015-09-28 11:49:13 -03:00
opac-review.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-routing-lists.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-search-history.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-sendbasket.tt Bug 17109: Use Koha.Preference in sendbasket template 2016-09-09 13:37:47 +00:00
opac-sendbasketform.tt Bug 18304: [QA Follow-up] Add id to paragraph tag 2017-03-31 14:27:36 +00:00
opac-sendshelf.tt Bug 17852 Follow up.Multiple URLs (856) in list email are broken 2017-02-21 19:55:50 +00:00
opac-sendshelfform.tt Bug 18304: [QA Follow-up] Add id to paragraph tag 2017-03-31 14:27:36 +00:00
opac-serial-issues.tt Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-shareshelf.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-shelves-rss.tt Bug 16599: Fix other potentials XSS for shelfname 2016-05-30 11:12:15 +00:00
opac-shelves.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-showmarc.tt
opac-showreviews-rss.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-showreviews.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-suggestions.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-tags.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-tags_subject.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
opac-topissues.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00
opac-user.tt Bug 20053: Drop type attribute "text/javascript" in OPAC templates 2018-06-08 09:48:12 -04:00