Bug 18484 - opac-advsearch.tt missing closing div tag for .container-fluid

This patch corrects HTML validation errors by adding back a missing
</div> which was removed accidentally by Bug 9043 (2014!).

This patch also removes "border" attributes from <img> tags because the
attribute is obsolete.

To test, apply the patch and test the validity of the OPAC's advanced
search page. The only error should be one about 'Bad value
"api-server,"' which isn't really resolvable.

Signed-off-by: Barton Chittenden <barton@bywatersolutions.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2017-04-24 14:21:00 +00:00 committed by Kyle M Hall
parent a067af7fe2
commit 6f334aab06

View file

@ -144,7 +144,7 @@
<label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">
[% UNLESS ( noItemTypeImages ) %]
[% IF ( itemtypeloo.imageurl ) %]
<img border="0" src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />
<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />
[% END %]
&nbsp;
[% END %]
@ -362,18 +362,19 @@
[% END # / IF expanded_options %]
</div> <!-- / .row-fluid -->
[% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or
( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %]
<div class="row-fluid">
<div class="span12">
<div class="text-center">
<!-- SEARCH BUTTONS -->
[% PROCESS searchbuttons %]
<!-- /SEARCH BUTTONS -->
</div>
</div> <!-- / .span12 -->
</div> <!-- / .row-fluid -->
[% END %]
[% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or
( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %]
<div class="row-fluid">
<div class="span12">
<div class="text-center">
<!-- SEARCH BUTTONS -->
[% PROCESS searchbuttons %]
<!-- /SEARCH BUTTONS -->
</div>
</div> <!-- / .span12 -->
</div> <!-- / .row-fluid -->
[% END %]
</div> <!-- / .container-fluid -->
</div> <!-- / .main -->
</form>