Merge remote-tracking branch 'origin/new/bug_5327'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / authorities / searchresultlist-auth.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Cataloging Authority Plugin</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <style type="text/css">
5 #custom-doc { width:51.46em;*width:50.17em;min-width:675px; margin:auto; text-align:left; } 
6 </style>
7 <script type="text/javascript">
8
9 function jumpfull(page)
10 {       
11     window.open(page,'','fullscreen,scrollbars');
12 }
13 </script>
14 </head>
15 <body>
16 <div id="custom-doc" class="yui-t7">
17
18    <div id="bd">
19            <div id="yui-main">
20                    <div class="yui-b"><div class="yui-g">
21
22         <h1>Authority search results</h1>
23         [% INCLUDE 'auth-finder-search.inc' %]
24         [% IF ( total ) %]<div id="resultnumber">
25             [% IF ( displayprev ) %]
26                     <a href="auth_finder.pl?startfrom=[% startfromprev %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
27                         &lt;&lt;
28                     </a>
29                 [% END %]
30                 [% FOREACH number IN numbers %]
31                     [% IF ( number.highlight ) %]
32                         [% number.number %]
33                     [% ELSE %]
34                         <a href="auth_finder.pl?startfrom=[% number.startfrom %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
35                             [% number.number %]</a>
36                     [% END %]
37                 [% END %]
38                 [% IF ( displaynext ) %]
39                     <a href="auth_finder.pl?startfrom=[% startfromnext %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
40                         &gt;&gt;</a>
41                 [% END %]
42             <div>
43                 
44                     <p><b>Results [% from %] to [% to %] of [% total %]</b></p>
45                 [% ELSE %]
46                     
47                 
48             </div><p>No results found</p>[% END %]
49         </div>
50         [% IF ( result ) %]<div id="resultlist">
51             <table>
52                 <tr>
53                     <th>Summary</th>
54                     <th>Used</th>
55                     <th>Get It!</th>
56                     <th>Other action</th>
57                 </tr>
58                 <tr>
59                     <td>&nbsp;</td>
60                     <td>&nbsp;</td>
61                     <td>
62                         <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=[% index %]')" class="button">
63                             Clear
64                         </a>
65                     </td>
66                     <td>&nbsp;</td>
67                 </tr>
68                 [% FOREACH resul IN result %]
69                     <tr>
70                         <td>[% resul.summary %]</td>
71                         <td>[% resul.used %] times</td>
72                         <td>
73                           [% IF ( resul.repets ) %]
74                             [% FOREACH repet IN resul.repets %]
75                               <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=[% resul.authid %]&amp;index=[% repet.index %]&amp;repet=[% repet.repet %]')" title="[% repet.value %]">[% repet.repet %]</a>
76                             [% END %]
77                           [% ELSE %]
78                             <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=[% resul.authid %]&amp;index=[% index %]')">choose</a>
79                           [% END %]
80                         </td>
81                         <td><a href="authorities.pl?authid=[% resul.authid %]">Edit authority</a></td>
82                     </tr>
83                 [% END %]
84             </table>
85     
86         </div>
87         <div id="resultnumber">
88             [% IF ( displayprev ) %]
89                     <a href="auth_finder.pl?startfrom=[% startfromprev %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranetamp;&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
90                         &lt;&lt;
91                     </a>
92                 [% END %]
93                 [% FOREACH number IN numbers %]
94                     [% IF ( number.highlight ) %]
95                         [% number.number %]
96                     [% ELSE %]
97                         <a href="auth_finder.pl?startfrom=[% number.startfrom %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
98                             [% number.number %]</a>
99                     [% END %]
100                 [% END %]
101                 [% IF ( displaynext ) %]
102                     <a href="auth_finder.pl?startfrom=[% startfromnext %]&amp;authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term %]=[% searchdat.val %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index %]&amp;tagid=[% tagid %]&amp;orderby=[% orderby %]">
103                         &gt;&gt;</a>
104                 [% END %]
105         </div>[% END %]
106 </div>
107 </div>
108 </div>
109 </div>
110 </div>
111 [% INCLUDE 'popup-bottom.inc' %]