Frédéric Demians
492dd7dc7f
- Note field (3xx) are not displayed on search result page. We get 'HASH()' text. - Parallel/Other forms (7xx) are not displayed, with language name in front of heading, both on result and detail page. - Note are not displayed. - On result page, seealso form are displayed, but end with a superfluous '--' - Style the result page, with condensed block, and space between them. - Done both on OPAC/staff To be applied on 3.8.x after bug 8523. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
100 lines
4.7 KiB
Text
100 lines
4.7 KiB
Text
[% PROCESS 'opac-authorities.inc' %]
|
|
[% PROCESS 'authorities-search-results.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="opac-authoritiesresultlist">
|
|
[% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
|
|
<div id="bd">
|
|
[% INCLUDE 'masthead.inc' %]
|
|
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
<div id="userauthsearchresults" class="container">
|
|
<h1>Authority search results</h1>
|
|
<div id="pages">
|
|
[% IF ( displayprev ) %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]">
|
|
<<
|
|
</a>
|
|
[% END %]
|
|
[% FOREACH number IN numbers %]
|
|
[% IF ( number.highlight ) %]
|
|
<span class="current">[% number.number %]</span>
|
|
[% ELSE %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]">[% number.number %]</a>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( displaynext ) %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]&resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]">>></a>
|
|
[% END %]
|
|
</div>
|
|
<div id="results">
|
|
[% IF ( total ) %]
|
|
[% IF ( countfuzzy ) %]
|
|
<b>Showing [% resultcount %] of about [% total %] results</b>
|
|
[% ELSE %]
|
|
<b>Results [% from %] to [% to %] of [% total %]</b>
|
|
[% END %]
|
|
[% ELSE %]
|
|
No results found.
|
|
[% END %]
|
|
</div>
|
|
|
|
[% IF ( total ) %]
|
|
<div class="searchresults">
|
|
<table>
|
|
<tr>
|
|
<th>Authorized headings</th>
|
|
<th>Type of heading</th>
|
|
[% UNLESS ( isEDITORS ) %]
|
|
<th>Biblio records</th>
|
|
[% END %]
|
|
<th>Full heading</th>
|
|
</tr>
|
|
[% FOREACH resul IN result %]
|
|
[% UNLESS ( loop.odd ) %]
|
|
<tr class="highlight">
|
|
[% ELSE %]
|
|
<tr>
|
|
[% END %]
|
|
<td>[% PROCESS authresult summary=resul.summary link="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operatorc=contains&marclistc=mainentry&and_orc=and&orderby=HeadingAsc&valuec=" %]</td>
|
|
<td>[% resul.authtype %]</td>
|
|
[% UNLESS ( resul.isEDITORS ) %]
|
|
<td>
|
|
<a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=[% resul.authid %]">[% resul.used %] biblios</a>
|
|
</td>
|
|
[% END %]
|
|
<td>
|
|
<a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View full heading</a>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
<div id="resultnumber">
|
|
[% IF ( displayprev ) %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]"><<</a>
|
|
[% END %]
|
|
[% FOREACH number IN numbers %]
|
|
[% IF ( number.highlight ) %]<span class="current">[% number.number %]</span>[% ELSE %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]">[% number.number %]</a>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( displaynext ) %]
|
|
<a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&[% END %]&resultsperpage=[% resultsperpage %]&type=opac&op=do_search&authtypecode=[% authtypecode %]&orderby=[% orderby %]">>></a>
|
|
[% END %]
|
|
</div>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
[% IF ( OpacNav ) %]
|
|
<div class="yui-b">
|
|
<div id="leftmenus" class="container">
|
|
[% INCLUDE 'navigation.inc' %]
|
|
</div>
|
|
</div>[% END %]
|
|
</div>
|
|
[% INCLUDE 'opac-bottom.inc' %]
|