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