Merge remote-tracking branch 'origin/new/bug_5327'
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-authoritiessearchresultlist.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › [% IF ( total ) %]Authority Search Result[% ELSE %]No results found[% END %]
2 [% INCLUDE 'doc-head-close.inc' %]
3 </head>
4 <body id="opac-authoritiesresultlist">
5 [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
6    <div id="bd">
7 [% INCLUDE 'masthead.inc' %]
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g">
11 <div id="userauthsearchresults" class="container">
12         <h1>Authority search results</h1>
13         <div id="pages">
14                         [% IF ( displayprev ) %]
15                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
16                                         &lt;&lt;
17                                 </a>
18                         [% END %]
19                         [% FOREACH number IN numbers %]
20                                 [% IF ( number.highlight ) %]
21                                         <span class="current">[% number.number %]</span>
22                                 [% ELSE %]
23                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
24                                 [% END %]
25                         [% END %]
26                         [% IF ( displaynext ) %]
27                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
28                                 [% END %]
29                 </div>
30                 <div id="results">
31                         [% IF ( total ) %]
32                         <b>Results [% from %] to [% to %] of [% total %]</b>
33                         [% ELSE %]
34                         No results found.
35                         [% END %]
36                 </div>
37
38                         [% IF ( total ) %]
39 <div class="searchresults">
40                 <table>
41                         <tr>
42                                 <th>Authorized Headings</th>
43                                 <th>Type of Heading</th>
44                                 [% UNLESS ( isEDITORS ) %]
45                                         <th>Biblio records</th>
46                                 [% END %]
47                                 <th>Full Heading</th>                           
48                         </tr>
49                         [% FOREACH resul IN result %]
50             [% UNLESS ( loop.odd ) %]
51                 <tr class="highlight">
52             [% ELSE %]
53                 <tr>
54             [% END %]
55                                         <td>[% resul.summary %]</td>
56
57                                                 <td>
58                                         [% authtypetext %]
59                                                 </td>
60                                         [% UNLESS ( resul.isEDITORS ) %]
61                                                 <td>
62                                                          <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>
63                                                 </td>
64                                         [% END %]
65                                                 <td>
66                                                         <a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View Full Heading</a>
67                                                 </td>
68                                 </tr>
69                         [% END %]
70                 </table>
71         </div>
72         <div id="resultnumber">
73                         [% IF ( displayprev ) %]
74                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&lt;&lt;</a>
75                         [% END %]
76                         [% FOREACH number IN numbers %]
77                                 [% IF ( number.highlight ) %]<span class="current">[% number.number %]</span>[% ELSE %]
78                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
79                                 [% END %]
80                         [% END %]
81                         [% IF ( displaynext ) %]
82                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
83                                 [% END %]
84         </div>  
85                         [% END %]
86 </div>
87 </div>
88 </div>
89 </div>
90 [% IF ( OpacNav ) %]
91 <div class="yui-b">
92 <div id="leftmenus" class="container">
93 [% INCLUDE 'navigation.inc' %]
94 </div>
95 </div>[% END %]
96 </div>
97 [% INCLUDE 'opac-bottom.inc' %]