first go at moving templates to a modules/ dir
[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 <!-- 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                 <!-- TMPL_IF NAME="NoZebra" -->
105                 <!-- FACETS START -->
106                 <!-- TMPL_IF NAME="opacfacets" -->
107                     <dt id="facets1" onclick="var Elt=document.getElementById('facets_list');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
108                     Refine Your Search
109                     </dt>
110                     <dd id="facets_list" style="display:none;">
111                     <ul>
112                     <!-- TMPL_LOOP NAME="facets_loop" -->
113                     <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
114                         <ul>
115                         <!-- TMPL_LOOP NAME="facets" -->
116                             <li>
117                                 <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" -->">
118                                     <!-- TMPL_VAR NAME="facet_label_value" -->
119                                 </a> (<!-- TMPL_VAR NAME="facet_count" -->)
120                             </li>
121                         <!-- /TMPL_LOOP -->
122                         <!-- TMPL_IF NAME="expandable" -->
123                             <li class="showmore">
124                                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
125                                     Show More
126                                 </a>
127                             </li>
128                         <!-- /TMPL_IF -->
129                         </ul>
130                     </li>
131                     <!-- /TMPL_LOOP -->
132                     </ul>
133                     </dd>
134                 <!-- /TMPL_IF -->
135                 <!-- FACETS END -->
136                 <!-- /TMPL_IF --> <!-- NoZebra -->
137                 <!-- BULKEDIT START -->
138                 <!--TMPL_IF Name="bulkedit"--> 
139                     <dt id="hbulkedit" onclick="var Elt=document.getElementById('parambulkedit');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
140                     Bulk edit
141                     </dt>
142                     <dd id="parambulkedit" style="display:none;">
143                     <form name="bulkedit" action="search.pl">
144                         <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" -->" />
145                         <input type="hidden" name="operation" value="bulkedit" />
146                         Search for Value :<input type="text" name="inputvalue" value=""/><br/>
147                         Subfield       <select name="tagsubfield">
148                         <!--TMPL_LOOP Name="tagsubfields"-->
149                             <option value="<!--TMPL_VAR Name="tagsubfield"-->"> <!--TMPL_VAR Name="tagsubfield"-->
150                             <!-- --<TMPL_VAR Name="tagdesc">--<TMPL_VAR Name="subfielddesc">-->
151                             </option>
152                         <!--/TMPL_LOOP -->
153                         </select><br/>
154                         Change to : <input type="text" name="targetvalue" value=""/><br/>
155                         Test only : <input type="checkbox" name="test" value="1"/><br/>
156                         <input type="Submit" name="Edit" value="Edit"/>
157                     </form>
158                     </dd>
159                     <!-- TMPL_IF NAME="bulkeditresults" -->
160                     <dd><em>
161                         tagsubfield : <!-- TMPL_VAR NAME="countchanged" --> Change <!-- TMPL_VAR NAME="countchanged" --> To <!-- TMPL_VAR NAME="countchanged" --><br />
162                         <!-- TMPL_VAR NAME="countchanged" --> biblios changed <br />
163                         <!--TMPL_VAR Name="countunchanged"--> biblios unchanged<br />
164                         <em>
165                     </dd>
166                     <!-- /TMPL_IF -->
167                 <!--/TMPL_IF--> 
168                 <!-- BULKEDIT END -->
169                 </dl>
170             </div>
171             <!-- ######### -->
172
173             <div id="searchresults">
174               <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="myform" id="mainform">
175                 <!-- TMPL_IF NAME="searchdesc" -->
176                     <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
177                 <!-- /TMPL_IF -->
178                     <!-- RE-SORT START -->
179                     <p>
180                     Re-sort results
181                     <select id="sort_by" name="sort_by" onChange="document.myform.submit();">
182                         <option value="">Field-weighted, Relevance Ranked</option>
183         <!--TMPL_IF Name="9523a"-->
184           <option value="1=9523 &gt;i" selected>Popularity (Most to Least)</option>
185         <!--TMPL_ELSE -->
186           <option value="1=9523 &gt;i">Popularity (Most to Least)</option>
187         <!--/TMPL_IF-->
188         <!--TMPL_IF Name="9523d"-->
189           <option value="1=9523 &lt;i" selected>Popularity (Least to Most)</option>
190         <!--TMPL_ELSE -->
191           <option value="1=9523 &lt;i">Popularity (Least to Most)</option>
192         <!--/TMPL_IF-->
193         <!--TMPL_IF Name="1003d"-->
194           <option value="1=1003 &lt;i" selected>Author (A-Z)</option>
195         <!--TMPL_ELSE -->
196           <option value="1=1003 &lt;i">Author (A-Z)</option>
197         <!--/TMPL_IF-->
198         <!--TMPL_IF Name="1003a"-->
199          <option value="1=1003 &gt;i" selected>Author (Z-A)</option>
200         <!--TMPL_ELSE -->
201          <option value="1=1003 &gt;i">Author (Z-A)</option>
202         <!--/TMPL_IF-->
203         <!--TMPL_IF Name="20d"-->
204           <option value="1=20 &lt;i" selected>Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
205         <!--TMPL_ELSE -->
206           <option value="1=20 &lt;i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
207         <!--/TMPL_IF-->
208         <!--TMPL_IF Name="20a"-->
209           <option value="1=20 &gt;i" selected>Call Number (Fiction Z-A to Non-fiction 9-0)</option>
210         <!--TMPL_ELSE -->
211           <option value="1=20 &gt;i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
212         <!--/TMPL_IF-->
213         <!--TMPL_IF Name="31a"-->
214           <option value="1=31 &gt;i" selected>Dates</option>
215         <!--TMPL_ELSE -->
216           <option value="1=31 &gt;i">Dates</option>
217         <!--/TMPL_IF-->
218         <!--TMPL_IF Name="31a"-->
219           <option value="1=31 &gt;i" selected>&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
220         <!--TMPL_ELSE -->
221           <option value="1=31 &gt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
222         <!--/TMPL_IF-->
223         <!--TMPL_IF Name="31d"-->
224           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
225         <!--TMPL_ELSE -->
226           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
227         <!--/TMPL_IF-->
228         <!--TMPL_IF Name="32a"-->
229           <option value="1=32 &gt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
230         <!--TMPL_ELSE -->
231           <option value="1=32 &gt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
232         <!--/TMPL_IF-->
233         <!--TMPL_IF Name="32d"-->
234           <option value="1=32 &lt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
235         <!--TMPL_ELSE -->
236           <option value="1=32 &lt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
237         <!--/TMPL_IF-->
238         <!--TMPL_IF Name="4d"-->
239           <option value="1=4 &lt;i" selected>Title (A-Z)</option>
240         <!--TMPL_ELSE -->
241           <option value="1=4 &lt;i">Title (A-Z)</option>
242         <!--/TMPL_IF-->
243         <!--TMPL_IF Name="4a"-->
244           <option value="1=4 &gt;i" selected>Title (Z-A)</option>
245         <!--TMPL_ELSE -->
246           <option value="1=4 &gt;i">Title (Z-A)</option>
247         <!--/TMPL_IF-->
248                     </select>
249                     </p>
250                     <!-- RESORT END -->
251               </form>
252                     <!-- TABLE RESULTS START -->
253
254                 <table>
255                     <tr>
256                         <th>&nbsp;</th>
257                         <th>Title</th>
258                         <th>Location</th>
259                         <th>&nbsp;</th>
260                     </tr>
261                         <!-- Actual Search Results -->
262                         <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
263                             <!-- TMPL_IF name="even" -->
264                                 <tr class="highlight">
265                             <!-- TMPL_ELSE -->
266                                 <tr>
267                             <!-- /TMPL_IF -->
268                                 <td>
269                             <!-- TMPL_IF NAME="AmazonContent" -->
270                                     <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
271                                         <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" />
272                                     </a>
273                             <!-- TMPL_ELSE -->
274                                 <!-- TMPL_IF name="imageurl" -->
275                                     <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
276                                 <!-- TMPL_ELSE -->
277                                     <!-- TMPL_VAR name="description" -->
278                                 <!-- /TMPL_IF -->
279                             <!-- /TMPL_IF -->
280                                 </td>
281                             <td>
282                                 <p>
283                                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
284                                         <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
285                                             <b><!-- TMPL_VAR NAME="title" --></b>
286                                         </a> <!-- TMPL_VAR NAME="subtitle" -->
287 <!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
288                                     <!-- TMPL_ELSE -->
289                                         <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
290                                             <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
291                                                 <!-- TMPL_VAR NAME="title" --> 
292                                             </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 -->
293                                         <!-- TMPL_ELSE -->
294                                             <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
295                                                 <!-- TMPL_VAR NAME="title" --> 
296                                             </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 -->
297                                         <!-- /TMPL_IF -->
298                                     <!-- /TMPL_IF -->
299                                 </p>
300                                 <!-- TMPL_IF name="summary" -->
301                                     <p><!-- TMPL_VAR name="summary" --></p>
302                                 <!-- TMPL_ELSE -->
303                                     <p>
304                                         <!-- TMPL_IF NAME="author" -->
305                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
306                                         <!-- TMPL_ELSE -->
307                                             &nbsp;
308                                         <!-- /TMPL_IF -->
309                                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
310                                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
311                                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
312                                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
313                                         <!-- TMPL_IF name="volume" --> vol <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
314                                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
315                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
316                                     </p>
317                                 <!-- /TMPL_IF -->
318                                 </td>
319                                 <td>
320                                     <!-- TMPL_IF NAME="items_loop" -->
321                                         <span class="available">
322                                         <!-- TMPL_LOOP NAME="items_loop" -->
323                                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
324                                             <i>
325                                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
326                                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
327                                          <!-- TMPL_IF name="classification" -->
328                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
329                                                 <!-- TMPL_VAR NAME="classification" -->
330                                             </a>
331                                         <!-- /TMPL_IF -->
332                                         </i>
333                                          <br />
334                                         <!-- /TMPL_LOOP -->
335                                         </span>
336                                     <!-- /TMPL_IF -->
337                                     <span class="unavailable">
338                                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
339                                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
340                                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
341                                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
342                                     </span>
343                                 </td>
344                                 <td>
345                                     <!-- TMPL_IF NAME="norequests" -->
346                                         Not Reserveable
347                                     <!-- TMPL_ELSE -->
348                                         <a class="reserve" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
349                                             Reserves
350                                         </a>
351                                     <!-- /TMPL_IF -->
352                                 </td>
353                             </tr>
354                         <!-- /TMPL_LOOP -->
355                 </table>
356                 </div>
357         <!-- /TMPL_IF -->
358     
359        <div class="pages">
360            <!-- TMPL_VAR NAME='pagination_bar'-->
361        </div>
362     
363         <!-- TMPL_IF NAME="outer_sup_results_loop" -->
364             <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
365                 <!-- TMPL_IF NAME="inner_sup_results_loop" -->
366                 <!-- TMPL_VAR NAME="servername" -->
367                 <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
368                     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
369                 <!-- /TMPL_LOOP -->
370                 <!-- /TMPL_IF -->
371             <!-- /TMPL_LOOP -->
372     <!-- /TMPL_IF -->
373     
374     <!-- TMPL_ELSE -->
375     
376     
377     <!-- /TMPL_IF -->
378
379 </div>
380 </div>
381
382 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->