adding a pagination bar
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / catalogue / results.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalog &rsaquo; <!-- TMPL_IF NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="searchdesc" -->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="menus.inc" -->
5 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
6
7     <!-- TMPL_IF NAME="koha_spsuggest" -->
8         <div style="font-size: 12px;">Did you mean: 
9             <ul style="list-style: none;">
10             <!-- TMPL_LOOP NAME="SPELL_SUGGEST" -->
11             <li>
12                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="spsuggestion" -->"><!-- TMPL_VAR NAME="spsuggestion" --></a>
13             </li>
14             <!-- /TMPL_LOOP -->
15             </ul>
16         </div>
17     <!-- /TMPL_IF -->
18     <!-- TMPL_IF NAME="total" -->
19     <h3>
20         <!-- TMPL_VAR NAME="total" --> results found for '<!-- TMPL_VAR NAME="searchdesc" -->'
21         <a href="/cgi-bin/koha/catalogue/search.pl">Perform a new search</a>
22     </h3>
23     <!-- TMPL_ELSE -->
24         <!-- TMPL_IF NAME="searchdesc" -->
25             <h3> No Result found !</h3>
26             <p>
27                 No results match your search for <span style="font-weight: bold;">&ldquo;<!-- TMPL_VAR NAME="searchdesc" -->&rdquo;</span> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog.
28             </p>
29             <a href="/cgi-bin/koha/catalogue/search.pl" title="New search">Perform a new search</a>
30         <!-- TMPL_ELSE -->
31             <h3> No result found !</h3>
32             <p>
33             You did not specify any search criteria.
34             </p>
35             <a href="/cgi-bin/koha/catalogue/search.pl" title="New search">Perform a new search</a>
36         <!-- /TMPL_IF -->
37     <!-- /TMPL_IF -->
38     
39     <!-- TMPL_IF NAME="query_error" -->
40         <br /><br />
41         Error : 
42         <span  class="problem">
43             <!-- TMPL_VAR NAME="query_error" -->
44         </span>
45     <!-- /TMPL_IF -->
46     
47     <!-- Search Results Table -->
48     <!-- TMPL_IF NAME="total" -->
49         <!-- TMPL_IF NAME="scan" -->
50             <h1>Scan Index:</h1>
51             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
52             <table>
53                 <tr>
54                     <td>
55                         Scan Index for: <input type="text" name="qf" id="scan-index" size="35" value="" />
56                     </td>
57                 </tr>
58                 <tr>
59                     <td>
60                         <label for="scan-index">Indexed in:</label>
61                         <select name="idx" id="scan-index">
62                             <option value="">Any Word</option>
63                             <option value="any/phr:">Any Phrase</option>
64                             <option value="ti:">Title</option>
65                             <option value="ti,phr:">Title Phrase</option>
66                             <option value="au,phr:">Author</option>
67                             <option value="su:">Subject</option>
68                             <option value="su,phr:">Subject Phrase</option>
69                             <option value="se:">Series</option>
70                             <option value="pb:">Publisher</option>
71                             <option value="nt:">Notes</option>
72                             <option value="se:">Series Title</option>
73                             <option value="sn:">ISBN</option>
74                             <option value="ss:">ISSN</option>
75                         </select>
76                         <input type="hidden" name="scan" value="1" />
77                     </td>
78                 </tr>
79             </table>
80             </form>
81             
82             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
83             <table>
84                 <tr>
85                     <th>Term/Phrase</th>
86                     <th>Count</th>
87                 </tr>
88                 <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
89                     <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
90                         <td>
91                             <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="scan_use" escape="url" -->&quot;<!-- TMPL_VAR NAME="title" -->&quot;"><!-- TMPL_VAR NAME="title" --></a>
92                         </td>
93                         <td>
94                             <!-- TMPL_VAR NAME="subtitle" -->
95                         </td>
96                     </tr>
97                 <!-- /TMPL_LOOP -->
98             </table>
99             </form>
100         <!-- TMPL_ELSE -->
101             <!-- ######### -->
102             <div id="facets">
103                 <dl>
104                 <!-- FACETS START -->
105                 <!-- TMPL_IF NAME="opacfacets" -->
106                     <dt id="facets1" onclick="var Elt=document.getElementById('facets_list');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
107                     Refine Your Search
108                     </dt>
109                     <dd id="facets_list" style="display:none;">
110                     <ul>
111                     <!-- TMPL_LOOP NAME="facets_loop" -->
112                     <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
113                         <ul>
114                         <!-- TMPL_LOOP NAME="facets" -->
115                             <li>
116                                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" --> and <!-- TMPL_VAR NAME="type_link_value" -->:<!-- TMPL_VAR NAME="facet_link_value" -->" title="<!-- TMPL_VAR NAME="facet_title_value" -->">
117                                     <!-- TMPL_VAR NAME="facet_label_value" -->
118                                 </a> (<!-- TMPL_VAR NAME="facet_count" -->)
119                             </li>
120                         <!-- /TMPL_LOOP -->
121                         <!-- TMPL_IF NAME="expandable" -->
122                             <li class="showmore">
123                                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
124                                     Show More
125                                 </a>
126                             </li>
127                         <!-- /TMPL_IF -->
128                         </ul>
129                     </li>
130                     <!-- /TMPL_LOOP -->
131                     </ul>
132                     </dd>
133                 <!-- /TMPL_IF -->
134                 <!-- FACETS END -->
135                 <!-- BULKEDIT START -->
136                 <!--TMPL_IF Name="bulkedit"--> 
137                     <dt id="hbulkedit" onclick="var Elt=document.getElementById('parambulkedit');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
138                     Bulk edit
139                     </dt>
140                     <dd id="parambulkedit" style="display:none;">
141                     <form name="bulkedit" action="search.pl">
142                         <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" -->" />
143                         <input type="hidden" name="operation" value="bulkedit" />
144                         Search for Value :<input type="text" name="inputvalue" value=""/><br/>
145                         Subfield       <select name="tagsubfield">
146                         <!--TMPL_LOOP Name="tagsubfields"-->
147                             <option value="<!--TMPL_VAR Name="tagsubfield"-->"> <!--TMPL_VAR Name="tagsubfield"-->
148                             <!-- --<TMPL_VAR Name="tagdesc">--<TMPL_VAR Name="subfielddesc">-->
149                             </option>
150                         <!--/TMPL_LOOP -->
151                         </select><br/>
152                         Change to : <input type="text" name="targetvalue" value=""/><br/>
153                         Test only : <input type="checkbox" name="test" value="1"/><br/>
154                         <input type="Submit" name="Edit" value="Edit"/>
155                     </form>
156                     </dd>
157                     <!-- TMPL_IF NAME="bulkeditresults" -->
158                     <dd><em>
159                         tagsubfield : <!-- TMPL_VAR NAME="countchanged" --> Change <!-- TMPL_VAR NAME="countchanged" --> To <!-- TMPL_VAR NAME="countchanged" --><br />
160                         <!-- TMPL_VAR NAME="countchanged" --> biblios changed <br />
161                         <!--TMPL_VAR Name="countunchanged"--> biblios unchanged<br />
162                         <em>
163                     </dd>
164                     <!-- /TMPL_IF -->
165                 <!--/TMPL_IF--> 
166                 <!-- BULKEDIT END -->
167                 </dl>
168             </div>
169             <!-- ######### -->
170
171             <div id="searchresults">
172               <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="myform" id="mainform">
173                 <!-- TMPL_IF NAME="searchdesc" -->
174                     <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
175                 <!-- /TMPL_IF -->
176                     <!-- RE-SORT START -->
177                     <!-- TMPL_IF NAME="sort_by_loop" -->
178                     <p>
179                     Re-sort results
180                     <select id="sort_by" name="sort_by" onChange="document.myform.submit();">
181                         <option value="">Field-weighted, Relevance Ranked</option>
182                         <!-- TMPL_LOOP NAME="sort_by_loop" -->
183                             <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="label" --></option>
184                         <!-- /TMPL_LOOP -->
185                     </select>
186                     </p>
187                     <!-- /TMPL_IF -->
188                     <!-- RESORT END -->
189               </form>
190                     <!-- TABLE RESULTS START -->
191
192                 <table>
193                     <tr>
194                         <th>&nbsp;</th>
195                         <th>Title</th>
196                         <th>Location</th>
197                         <th>&nbsp;</th>
198                     </tr>
199                         <!-- Actual Search Results -->
200                         <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
201                             <!-- TMPL_IF name="even" -->
202                                 <tr class="highlight">
203                             <!-- TMPL_ELSE -->
204                                 <tr>
205                             <!-- /TMPL_IF -->
206                                 <td>
207                             <!-- TMPL_IF NAME="AmazonContent" -->
208                                     <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
209                                         <img src="<!-- TMPL_IF NAME="isbn" -->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.TZZZZZZZ.jpg<!-- TMPL_ELSE -->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!-- /TMPL_IF -->" alt="image" class="thumbnail" />
210                                     </a>
211                             <!-- TMPL_ELSE -->
212                                 <!-- TMPL_IF name="imageurl" -->
213                                     <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
214                                 <!-- TMPL_ELSE -->
215                                     <!-- TMPL_VAR name="description" -->
216                                 <!-- /TMPL_IF -->
217                             <!-- /TMPL_IF -->
218                                 </td>
219                             <td>
220                                 <p>
221                                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
222                                         <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
223                                             <b><!-- TMPL_VAR NAME="title" --></b>
224                                         </a> <!-- TMPL_VAR NAME="subtitle" -->
225 <!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
226                                     <!-- TMPL_ELSE -->
227                                         <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
228                                             <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
229                                                 <!-- TMPL_VAR NAME="title" --> 
230                                             </a> <!-- TMPL_VAR NAME="subtitle" --><!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
231                                         <!-- TMPL_ELSE -->
232                                             <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
233                                                 <!-- TMPL_VAR NAME="title" --> 
234                                             </a> <!-- TMPL_VAR NAME="subtitle" --><!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
235                                         <!-- /TMPL_IF -->
236                                     <!-- /TMPL_IF -->
237                                 </p>
238                                 <!-- TMPL_IF name="summary" -->
239                                     <p><!-- TMPL_VAR name="summary" --></p>
240                                 <!-- TMPL_ELSE -->
241                                     <p>
242                                         <!-- TMPL_IF NAME="author" -->
243                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
244                                         <!-- TMPL_ELSE -->
245                                             &nbsp;
246                                         <!-- /TMPL_IF -->
247                                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
248                                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
249                                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
250                                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
251                                         <!-- TMPL_IF name="volume" --> vol <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
252                                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
253                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
254                                     </p>
255                                 <!-- /TMPL_IF -->
256                                 </td>
257                                 <td>
258                                     <!-- TMPL_IF NAME="items_loop" -->
259                                         <span class="available">
260                                         <!-- TMPL_LOOP NAME="items_loop" -->
261                                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
262                                             <i>
263                                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
264                                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
265                                          <!-- TMPL_IF name="classification" -->
266                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
267                                                 <!-- TMPL_VAR NAME="classification" -->
268                                             </a>
269                                         <!-- /TMPL_IF -->
270                                         </i>
271                                          <br />
272                                         <!-- /TMPL_LOOP -->
273                                         </span>
274                                     <!-- /TMPL_IF -->
275                                     <span class="unavailable">
276                                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
277                                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
278                                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
279                                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
280                                     </span>
281                                 </td>
282                                 <td>
283                                     <!-- TMPL_IF NAME="norequests" -->
284                                         Not Reserveable
285                                     <!-- TMPL_ELSE -->
286                                         <a class="reserve" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
287                                             Reserves
288                                         </a>
289                                     <!-- /TMPL_IF -->
290                                 </td>
291                             </tr>
292                         <!-- /TMPL_LOOP -->
293                 </table>
294                 </div>
295         <!-- /TMPL_IF -->
296     
297        <div class="pages">
298            <!-- TMPL_VAR NAME='pagination_bar'-->
299        </div>
300     
301         <!-- TMPL_IF NAME="outer_sup_results_loop" -->
302             <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
303                 <!-- TMPL_IF NAME="inner_sup_results_loop" -->
304                 <!-- TMPL_VAR NAME="servername" -->
305                 <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
306                     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
307                 <!-- /TMPL_LOOP -->
308                 <!-- /TMPL_IF -->
309             <!-- /TMPL_LOOP -->
310     <!-- /TMPL_IF -->
311     
312     <!-- TMPL_ELSE -->
313     
314     
315     <!-- /TMPL_IF -->
316
317 </div>
318 </div>
319
320 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->