patches for members and resultlists.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / 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 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="doc3" class="yui-t2">
10    
11    <div id="bd">
12         <div id="yui-main">
13         <div class="yui-b">
14
15     <!-- TMPL_IF NAME="koha_spsuggest" -->
16         <div style="font-size: 12px;">Did you mean: 
17             <ul style="list-style: none;">
18             <!-- TMPL_LOOP NAME="SPELL_SUGGEST" -->
19             <li>
20                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="spsuggestion" -->"><!-- TMPL_VAR NAME="spsuggestion" --></a>
21             </li>
22             <!-- /TMPL_LOOP -->
23             </ul>
24         </div>
25     <!-- /TMPL_IF -->
26     <!-- TMPL_IF NAME="total" -->
27     <h3>
28         <!-- TMPL_VAR NAME="total" --> results found for '<!-- TMPL_VAR NAME="searchdesc" -->'
29         <a href="/cgi-bin/koha/catalogue/search.pl">Perform a new search</a>
30     </h3>
31     <!-- TMPL_ELSE -->
32         <!-- TMPL_IF NAME="searchdesc" -->
33             <h3> No Result found !</h3>
34             <p>
35                 No results match your search for <span style="font-weight: bold;">&ldquo;<!-- TMPL_VAR NAME="searchdesc" -->&rdquo;</span> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog.
36             </p>
37             <a href="/cgi-bin/koha/catalogue/search.pl" title="New search">Perform a new search</a>
38         <!-- TMPL_ELSE -->
39             <h3> No result found !</h3>
40             <p>
41             You did not specify any search criteria.
42             </p>
43             <a href="/cgi-bin/koha/catalogue/search.pl" title="New search">Perform a new search</a>
44         <!-- /TMPL_IF -->
45     <!-- /TMPL_IF -->
46     
47     <!-- TMPL_IF NAME="query_error" -->
48         <br /><br />
49         Error : 
50         <span  class="problem">
51             <!-- TMPL_VAR NAME="query_error" -->
52         </span>
53     <!-- /TMPL_IF -->
54     
55     <!-- Search Results Table -->
56     <!-- TMPL_IF NAME="total" -->
57         <!-- TMPL_IF NAME="scan" -->
58             <h1>Scan Index:</h1>
59             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
60             <table>
61                 <tr>
62                     <td>
63                         Scan Index for: <input type="text" name="qf" id="scan-index" size="35" value="" />
64                     </td>
65                 </tr>
66                 <tr>
67                     <td>
68                         <label for="scan-index">Indexed in:</label>
69                         <select name="idx" id="scan-index">
70                             <option value="">Any Word</option>
71                             <option value="any/phr:">Any Phrase</option>
72                             <option value="ti:">Title</option>
73                             <option value="ti,phr:">Title Phrase</option>
74                             <option value="au,phr:">Author</option>
75                             <option value="su:">Subject</option>
76                             <option value="su,phr:">Subject Phrase</option>
77                             <option value="se:">Series</option>
78                             <option value="pb:">Publisher</option>
79                             <option value="nt:">Notes</option>
80                             <option value="se:">Series Title</option>
81                             <option value="sn:">ISBN</option>
82                             <option value="ss:">ISSN</option>
83                         </select>
84                         <input type="hidden" name="scan" value="1" />
85                     </td>
86                 </tr>
87             </table>
88             </form>
89             
90             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
91             <table>
92                 <tr>
93                     <th>Term/Phrase</th>
94                     <th>Count</th>
95                 </tr>
96                 <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
97                     <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
98                         <td>
99                             <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>
100                         </td>
101                         <td>
102                             <!-- TMPL_VAR NAME="subtitle" -->
103                         </td>
104                     </tr>
105                 <!-- /TMPL_LOOP -->
106             </table>
107             </form>
108         <!-- TMPL_ELSE -->
109             <!-- ######### -->
110             <div id="facets">
111                 <dl>
112                 <!-- TMPL_IF NAME="NoZebra" -->
113                 <!-- FACETS START -->
114                 <!-- TMPL_IF NAME="opacfacets" -->
115                     <dt id="facets1" onclick="var Elt=document.getElementById('facets_list');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
116                     Refine Your Search
117                     </dt>
118                     <dd id="facets_list" style="display:none;">
119                     <ul>
120                     <!-- TMPL_LOOP NAME="facets_loop" -->
121                     <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
122                         <ul>
123                         <!-- TMPL_LOOP NAME="facets" -->
124                             <li>
125                                 <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" -->">
126                                     <!-- TMPL_VAR NAME="facet_label_value" -->
127                                 </a> (<!-- TMPL_VAR NAME="facet_count" -->)
128                             </li>
129                         <!-- /TMPL_LOOP -->
130                         <!-- TMPL_IF NAME="expandable" -->
131                             <li class="showmore">
132                                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
133                                     Show More
134                                 </a>
135                             </li>
136                         <!-- /TMPL_IF -->
137                         </ul>
138                     </li>
139                     <!-- /TMPL_LOOP -->
140                     </ul>
141                     </dd>
142                 <!-- /TMPL_IF -->
143                 <!-- FACETS END -->
144                 <!-- /TMPL_IF --> <!-- NoZebra -->
145                 <!-- BULKEDIT START -->
146                 <!--TMPL_IF Name="bulkedit"--> 
147                     <dt id="hbulkedit" onclick="var Elt=document.getElementById('parambulkedit');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
148                     Bulk edit
149                     </dt>
150                     <dd id="parambulkedit" style="display:none;">
151                     <form name="bulkedit" action="search.pl">
152                         <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" -->" />
153                         <input type="hidden" name="operation" value="bulkedit" />
154                         Search for Value :<input type="text" name="inputvalue" value="" /><br />
155                         Subfield       <select name="tagsubfield">
156                         <!--TMPL_LOOP Name="tagsubfields"-->
157                             <option value="<!--TMPL_VAR Name="tagsubfield"-->"> <!--TMPL_VAR Name="tagsubfield"-->
158                             <!-- --<TMPL_VAR Name="tagdesc">--<TMPL_VAR Name="subfielddesc">-->
159                             </option>
160                         <!--/TMPL_LOOP -->
161                         </select><br />
162                         Change to : <input type="text" name="targetvalue" value="" /><br />
163                         Test only : <input type="checkbox" name="test" value="1" /><br />
164                         <input type="Submit" name="Edit" value="Edit" />
165                     </form>
166                     </dd>
167                     <!-- TMPL_IF NAME="bulkeditresults" -->
168                     <dd><em>
169                         tagsubfield : <!-- TMPL_VAR NAME="countchanged" --> Change <!-- TMPL_VAR NAME="countchanged" --> To <!-- TMPL_VAR NAME="countchanged" --><br />
170                         <!-- TMPL_VAR NAME="countchanged" --> biblios changed <br />
171                         <!--TMPL_VAR Name="countunchanged"--> biblios unchanged<br />
172                         <em>
173                     </dd>
174                     <!-- /TMPL_IF -->
175                 <!--/TMPL_IF--> 
176                 <!-- BULKEDIT END -->
177                 </dl>
178             </div>
179             <!-- ######### -->
180
181             <div id="searchresults">
182               <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="myform" id="mainform">
183                 <!-- TMPL_IF NAME="searchdesc" -->
184                     <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
185                 <!-- /TMPL_IF -->
186                     <!-- RE-SORT START -->
187                     <p>
188                     Re-sort results
189                     <select id="sort_by" name="sort_by" onchange="document.myform.submit();">
190                         <option value="">Field-weighted, Relevance Ranked</option>
191         <!--TMPL_IF Name="9523a"-->
192           <option value="1=9523 &gt;i" selected="selected">Popularity (Most to Least)</option>
193         <!--TMPL_ELSE -->
194           <option value="1=9523 &gt;i">Popularity (Most to Least)</option>
195         <!--/TMPL_IF-->
196         <!--TMPL_IF Name="9523d"-->
197           <option value="1=9523 &lt;i" selected="selected">Popularity (Least to Most)</option>
198         <!--TMPL_ELSE -->
199           <option value="1=9523 &lt;i">Popularity (Least to Most)</option>
200         <!--/TMPL_IF-->
201         <!--TMPL_IF Name="1003d"-->
202           <option value="1=1003 &lt;i" selected="selected">Author (A-Z)</option>
203         <!--TMPL_ELSE -->
204           <option value="1=1003 &lt;i">Author (A-Z)</option>
205         <!--/TMPL_IF-->
206         <!--TMPL_IF Name="1003a"-->
207          <option value="1=1003 &gt;i" selected="selected">Author (Z-A)</option>
208         <!--TMPL_ELSE -->
209          <option value="1=1003 &gt;i">Author (Z-A)</option>
210         <!--/TMPL_IF-->
211         <!--TMPL_IF Name="20d"-->
212           <option value="1=20 &lt;i" selected="selected">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
213         <!--TMPL_ELSE -->
214           <option value="1=20 &lt;i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
215         <!--/TMPL_IF-->
216         <!--TMPL_IF Name="20a"-->
217           <option value="1=20 &gt;i" selected="selected">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
218         <!--TMPL_ELSE -->
219           <option value="1=20 &gt;i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
220         <!--/TMPL_IF-->
221         <!--TMPL_IF Name="31a"-->
222           <option value="1=31 &gt;i" selected="selected">Dates</option>
223         <!--TMPL_ELSE -->
224           <option value="1=31 &gt;i">Dates</option>
225         <!--/TMPL_IF-->
226         <!--TMPL_IF Name="31a"-->
227           <option value="1=31 &gt;i" selected="selected">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
228         <!--TMPL_ELSE -->
229           <option value="1=31 &gt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
230         <!--/TMPL_IF-->
231         <!--TMPL_IF Name="31d"-->
232           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
233         <!--TMPL_ELSE -->
234           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
235         <!--/TMPL_IF-->
236         <!--TMPL_IF Name="32a"-->
237           <option value="1=32 &gt;i" selected="selected">&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
238         <!--TMPL_ELSE -->
239           <option value="1=32 &gt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
240         <!--/TMPL_IF-->
241         <!--TMPL_IF Name="32d"-->
242           <option value="1=32 &lt;i" selected="selected">&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
243         <!--TMPL_ELSE -->
244           <option value="1=32 &lt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
245         <!--/TMPL_IF-->
246         <!--TMPL_IF Name="4d"-->
247           <option value="1=4 &lt;i" selected="selected">Title (A-Z)</option>
248         <!--TMPL_ELSE -->
249           <option value="1=4 &lt;i">Title (A-Z)</option>
250         <!--/TMPL_IF-->
251         <!--TMPL_IF Name="4a"-->
252           <option value="1=4 &gt;i" selected="selected">Title (Z-A)</option>
253         <!--TMPL_ELSE -->
254           <option value="1=4 &gt;i">Title (Z-A)</option>
255         <!--/TMPL_IF-->
256                     </select>
257                     </p>
258                     <!-- RESORT END -->
259               </form>
260                     <!-- TABLE RESULTS START -->
261
262                 <table>
263                     <tr>
264                         <th>&nbsp;</th>
265                         <th>Title</th>
266                         <th>Location</th>
267                         <th>&nbsp;</th>
268                     </tr>
269                         <!-- Actual Search Results -->
270                         <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
271                             <!-- TMPL_IF name="even" -->
272                                 <tr class="highlight">
273                             <!-- TMPL_ELSE -->
274                                 <tr>
275                             <!-- /TMPL_IF -->
276                                 <td>
277                             <!-- TMPL_IF NAME="AmazonContent" -->
278                                     <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
279                                         <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" />
280                                     </a>
281                             <!-- TMPL_ELSE -->
282                                 <!-- TMPL_IF name="imageurl" -->
283                                     <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" />
284                                 <!-- TMPL_ELSE -->
285                                     <!-- TMPL_VAR name="description" -->
286                                 <!-- /TMPL_IF -->
287                             <!-- /TMPL_IF -->
288                                 </td>
289                             <td>
290                                 <p>
291                                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
292                                         <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
293                                             <b><!-- TMPL_VAR NAME="title" --></b>
294                                         </a> <!-- TMPL_VAR NAME="subtitle" -->
295 <!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
296                                     <!-- TMPL_ELSE -->
297                                         <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
298                                             <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
299                                                 <!-- TMPL_VAR NAME="title" --> 
300                                             </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 -->
301                                         <!-- TMPL_ELSE -->
302                                             <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
303                                                 <!-- TMPL_VAR NAME="title" --> 
304                                             </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 -->
305                                         <!-- /TMPL_IF -->
306                                     <!-- /TMPL_IF -->
307                                 </p>
308                                 <!-- TMPL_IF name="summary" -->
309                                     <p><!-- TMPL_VAR name="summary" --></p>
310                                 <!-- TMPL_ELSE -->
311                                     <p>
312                                         <!-- TMPL_IF NAME="author" -->
313                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
314                                         <!-- TMPL_ELSE -->
315                                             &nbsp;
316                                         <!-- /TMPL_IF -->
317                                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
318                                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
319                                         Description: 
320                                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
321                                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
322                                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
323                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
324                                     </p>
325                                 <!-- /TMPL_IF -->
326                                 </td>
327                                 <td>
328                                     <!-- TMPL_IF NAME="items_loop" -->
329                                         
330                                         <!-- TMPL_LOOP NAME="items_loop" -->
331                                         <!--TMPL_IF Name="unavailable"-->
332                                         <span class="unavailable">
333                                         <!--TMPL_ELSE-->
334                                         <span class="available">
335                                         <!--/TMPL_IF -->
336                                         
337                                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
338                                             <i>
339                                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
340                                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
341                                          <!-- TMPL_IF name="classification" -->
342                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
343                                                 <!-- TMPL_VAR NAME="classification" -->
344                                             </a>
345                                         <!-- /TMPL_IF -->
346                                         </i>
347                                         <!-- TMPL_IF NAME="onloancount" -->, On loan until <!-- TMPL_VAR NAME="due_date" --><!-- /TMPL_IF -->
348                                         <!-- TMPL_IF NAME="wthdrawncount" -->, Withdrawn<!-- /TMPL_IF -->
349                                         <!-- TMPL_IF NAME="itemlostcount" -->, Lost<!-- /TMPL_IF -->
350                                         <!-- TMPL_IF NAME="orderedcount" -->, On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
351                                          <br />
352                                         </span>
353                                         <!-- /TMPL_LOOP -->
354                                     <!-- /TMPL_IF -->
355                                 </td>
356                                 <td>
357                                     <!-- TMPL_IF NAME="norequests" -->
358                                         Not Reserveable
359                                     <!-- TMPL_ELSE -->
360                                         <a class="reserve" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
361                                             Reserves
362                                         </a>
363                                     <!-- /TMPL_IF -->
364                                 </td>
365                             </tr>
366                         <!-- /TMPL_LOOP -->
367                 </table>
368                 </div>
369         <!-- /TMPL_IF -->
370     
371        <div class="pages">
372            <!-- TMPL_VAR NAME='pagination_bar'-->
373        </div>
374     
375         <!-- TMPL_IF NAME="outer_sup_results_loop" -->
376             <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
377                 <!-- TMPL_IF NAME="inner_sup_results_loop" -->
378                 <!-- TMPL_VAR NAME="servername" -->
379                 <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
380                     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
381                 <!-- /TMPL_LOOP -->
382                 <!-- /TMPL_IF -->
383             <!-- /TMPL_LOOP -->
384     <!-- /TMPL_IF -->
385     
386     <!-- TMPL_ELSE -->
387     
388     
389     <!-- /TMPL_IF -->
390
391 </div>
392 </div>
393 <div class="yui-b">
394 <!-- TMPL_INCLUDE NAME="cat-menu.inc" -->
395 </div>
396 </div>
397 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->