Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt
Owen Leonard 47609920b7 Bug 9265 - Switch to HTML5 doctype in OPAC and staff client
This patch replaces the XHTML DOCTYPE with an HTML5 one. The HTML5
validator seems to be significantly different than the XHTML one,
so I'm seeing lots of new errors. This patch includes corrections
for one: Deprecation of the "language" attribute of <script>
tags.

To test, view pages in the OPAC and staff client. They should
appear as normal. Numerous validation follow-ups will be required,
but I suggest these be handled incrementally.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
test on some intranet pages and I found no regression. (chromium and
firefox).
The w3c page about the doctype: http://www.w3.org/TR/html5-diff/#doctype

Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-01-31 11:47:04 -05:00

67 lines
2 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Serials &rsaquo; Search results</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
//<![CDATA[
function GetIt(bibno,title)
{
title = title.parents('tr').find('.title').text();
opener.document.f.biblionumber.value = bibno;
opener.document.f.title.value = title;
window.close();
}
//]]>
</script>
</head>
<body id="ser_result" class="ser">
<div id="doc" class="yui-t7">
<div id="bd">
[% IF ( total ) %]
<h1>Search results from [% from %] to [% to %] of [% total %]</h1>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Publisher</th>
<th>Publication year</th>
<th>ISSN</th>
<th>&nbsp;</th>
</tr>
[% FOREACH resultsloo IN resultsloop %]
<tr>
<td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
</td>
<td>
[% resultsloo.author |html %]
</td>
<td>
[% resultsloo.publishercode |html %]
</td>
<td>
[% resultsloo.publicationyear |html %]
</td>
<td>
[% resultsloo.issn |html %]
</td>
<td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td>
</tr>
[% END %]
</table>
[% ELSE %]
<h2>No results found for <b>[% query %]</b></h2>
[% END %]
[% IF ( displayprev ) %]
<a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=[% startfromprev |url %]&amp;q=[% query |url %]">&lt;&lt;</a>
[% END %]
[% IF ( displaynext ) %]
<a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=[% startfromnext |url %]&amp;q=[% query |url %]">&gt;&gt;</a>
[% END %]
<p><a href="subscription-bib-search.pl">Search for another record</a></p>
<fieldset class="action"><a class="button close" href="#">Close</a></fieldset>
</div>
[% INCLUDE 'intranet-bottom.inc' %]