Bug 10587: fix HTML errors on authority detail page in OPAC

A validator check of the OPAC's authority detail returns a few minor
errors. This patch corrects the errors.

To test, apply the patch and run an OPAC authority detail page through
an HTML validator. There should be no errors which are specific to the
authorities detail template (as opposed to header and footer includes).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Also checked using the W3C validator and testing the
authority detail page in the OPAC is still correctly
displayed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 452a4b7775)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Owen Leonard 2013-08-09 11:41:41 -04:00 committed by Tomas Cohen Arazi
parent a1c831bf43
commit 5ddc1f43fb
1 changed files with 5 additions and 4 deletions

View File

@ -3,9 +3,9 @@
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Entry
[% INCLUDE 'doc-head-close.inc' %]
[% IF ( displayhierarchy ) %]
<script language="javascript" type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
<script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
[% END %]
<script language="javascript" type="text/javascript">
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$('#authdescriptions').tabs();
@ -33,7 +33,7 @@ $(document).ready(function() {
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div id="views"><span class="view"><span id="Normalview">Normal view</span></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a></span></div>
<div id="views"><span class="view"><span id="Normalview">Normal view</span></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&amp;marc=1">MARC view</a></span></div>
<div id="userauthdetails" class="container">
@ -61,6 +61,7 @@ $(document).ready(function() {
<span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
</li>
[% END %]
</ul>
[% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
</div>
[% END %]
@ -107,5 +108,5 @@ $(document).ready(function() {
</div>
</div>
</div>
</div>
[% INCLUDE 'opac-bottom.inc' %]