Owen Leonard
47609920b7
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>
85 lines
2.6 KiB
Text
85 lines
2.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
|
|
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
|
|
<script type="text/javascript">
|
|
function printThenClose() {
|
|
window.print();
|
|
window.close();
|
|
}
|
|
</script>
|
|
<body id="pat_moremember-print" class="pat" onload="printThenClose();">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="main">
|
|
|
|
<h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3>
|
|
|
|
<ul><li>[% address %]<br />[% address2 %]</li><li>[% city %], [% zipcode %]</li>
|
|
<li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li>
|
|
<li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
|
|
[% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
|
|
</ul>
|
|
|
|
[% IF ( issueloop ) %]
|
|
<table>
|
|
<caption>Items checked out</caption>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Item type</th>
|
|
<th>Date due</th>
|
|
<th>Charge</th>
|
|
<th>Price</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
|
|
[% FOREACH issueloo IN issueloop %]
|
|
[% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
|
|
<td>
|
|
[% issueloo.title |html %]
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&biblionumber=[% issueloo.biblionumber %]&bi=[% issueloo.biblioitemnumber %]">
|
|
</a>
|
|
</td>
|
|
<td>[% issueloo.author %]</td>
|
|
<td>[% issueloo.itemtype_description %]</td>
|
|
<td>[% issueloo.date_due %]</td>
|
|
<td>[% issueloo.charge %]</td>
|
|
<td>[% issueloo.replacementprice %]</td>
|
|
<td>[% IF ( issueloo.red ) %]Overdue![% ELSE %] [% END %]</td>
|
|
</tr>
|
|
[% END %]
|
|
<tr>
|
|
<td colspan="4" style="text-align: right; font-weight:bold;">Totals:</td>
|
|
<td>[% totaldue %]</td>
|
|
<td>[% totalprice %]</td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
</table>
|
|
[% END %]
|
|
|
|
[% IF ( reserveloop ) %]
|
|
<table>
|
|
<caption>Items on Reserve</caption>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Format</th>
|
|
<th>Requested</th>
|
|
</tr>
|
|
|
|
[% FOREACH reserveloo IN reserveloop %]
|
|
<tr>
|
|
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
|
|
<td>[% reserveloo.author %]</td>
|
|
<td>[% reserveloo.description %]</td>
|
|
<td>[% reserveloo.reservedate2 %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|