Bug 7127 - Follow-up - Templates must be valid XHTML
authorOwen Leonard <oleonard@myacpl.org>
Thu, 26 Jan 2012 20:00:36 +0000 (15:00 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 6 Feb 2012 20:38:32 +0000 (21:38 +0100)
commite1ebabf3ec488bc742b6926a64b758f7f6912989
tree422c06e28d7271d546628b367278d974f4ce5689
parent311dbc8bc1d5c89eff73d4e33c598c9435025ce6
Bug 7127 - Follow-up - Templates must be valid XHTML

Corrections to OPAC search results and lists pages for validity
errors: duplicate ids, invalidly placed elements, unescaped
ampersands.

The change to localcovers.js adds a check for <span> in addition
to <div> so that the results template can use a <span>

The <form> tag has been removed from the inline tag entry
markup in order to correct a display error in Internet Explorer 8.
Removing it doesn't affect functionality or validity.

To test: Validate the HTML of the OPAC results page and an OPAC
list contents page (/cgi-bin/koha/opac-shelves.pl?viewshelf=XX).
Verify the functinality of adding tags on both pages with the
TagsInputOnList system preference enabled. Verify that local
cover images are display on search results and detail pages.

Includes fixes for errors spotted by QA

Revisions

Signed-off-by: Ian Walls <koha.sekjal@gmail.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/includes/page-numbers.inc
koha-tmpl/opac-tmpl/prog/en/js/localcovers.js
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt