adding volume and volumeddesc field in the result list. Kados, pls check that it...
[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             
83             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
84             <table>
85                 <tr>
86                     <th>Term/Phrase</th>
87                     <th>Count</th>
88                 </tr>
89                 <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
90                     <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
91                         <td>
92                             <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>
93                         </td>
94                         <td>
95                             <!-- TMPL_VAR NAME="subtitle" -->
96                         </td>
97                     </tr>
98                 <!-- /TMPL_LOOP -->
99             </table>
100             </form>
101         <!-- TMPL_ELSE -->
102             <!-- ######### -->
103             <div id="facets">
104                 <dl>
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                 <!-- BULKEDIT START -->
137                 <!--TMPL_IF Name="bulkedit"--> 
138                     <dt id="hbulkedit" onclick="var Elt=document.getElementById('parambulkedit');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
139                     Bulk edit
140                     </dt>
141                     <dd id="parambulkedit" style="display:none;">
142                     <form name="bulkedit" action="search.pl">
143                         <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" -->" />
144                         <input type="hidden" name="operation" value="bulkedit" />
145                         Search for Value :<input type="text" name="inputvalue" value=""/><br/>
146                         Subfield       <select name="tagsubfield">
147                         <!--TMPL_LOOP Name="tagsubfields"-->
148                             <option value="<!--TMPL_VAR Name="tagsubfield"-->"> <!--TMPL_VAR Name="tagsubfield"-->
149                             <!-- --<TMPL_VAR Name="tagdesc">--<TMPL_VAR Name="subfielddesc">-->
150                             </option>
151                         <!--/TMPL_LOOP -->
152                         </select><br/>
153                         Change to : <input type="text" name="targetvalue" value=""/><br/>
154                         Test only : <input type="checkbox" name="test" value="1"/><br/>
155                         <input type="Submit" name="Edit" value="Edit"/>
156                     </form>
157                     </dd>
158                     <!-- TMPL_IF NAME="bulkeditresults" -->
159                     <dd><em>
160                         tagsubfield : <!-- TMPL_VAR NAME="countchanged" --> Change <!-- TMPL_VAR NAME="countchanged" --> To <!-- TMPL_VAR NAME="countchanged" --><br />
161                         <!-- TMPL_VAR NAME="countchanged" --> biblios changed <br />
162                         <!--TMPL_VAR Name="countunchanged"--> biblios unchanged<br />
163                         <em>
164                     </dd>
165                     <!-- /TMPL_IF -->
166                 <!--/TMPL_IF--> 
167                 <!-- BULKEDIT END -->
168                 </dl>
169             </div>
170             <!-- ######### -->
171
172             <div id="searchresults">
173               <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="myform" id="mainform">
174                 <!-- TMPL_IF NAME="searchdesc" -->
175                     <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
176                 <!-- /TMPL_IF -->
177                     <!-- RE-SORT START -->
178                     <!-- TMPL_IF NAME="sort_by_loop" -->
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_LOOP NAME="sort_by_loop" -->
184                             <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="label" --></option>
185                         <!-- /TMPL_LOOP -->
186                     </select>
187                     </p>
188                     <!-- /TMPL_IF -->
189                     <!-- RESORT END -->
190               </form>
191                     <!-- TABLE RESULTS START -->
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                                             <!-- TMPL_VAR NAME="title" -->
224                                         </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 -->
225                                     <!-- TMPL_ELSE -->
226                                         <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
227                                             <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
228                                                 <!-- TMPL_VAR NAME="title" --> 
229                                             </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 -->
230                                         <!-- TMPL_ELSE -->
231                                             <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
232                                                 <!-- TMPL_VAR NAME="title" --> 
233                                             </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 -->
234                                         <!-- /TMPL_IF -->
235                                     <!-- /TMPL_IF -->
236                                 </p>
237                                 <!-- TMPL_IF name="summary" -->
238                                     <p><!-- TMPL_VAR name="summary" --></p>
239                                 <!-- TMPL_ELSE -->
240                                     <p>
241                                         <!-- TMPL_IF NAME="author" -->
242                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
243                                         <!-- TMPL_ELSE -->
244                                             &nbsp;
245                                         <!-- /TMPL_IF -->
246                                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
247                                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
248                                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
249                                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
250                                         <!-- TMPL_IF name="volume" --> vol <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
251                                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
252                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
253                                     </p>
254                                 <!-- /TMPL_IF -->
255                                 </td>
256                                 <td>
257                                     <!-- TMPL_IF NAME="items_loop" -->
258                                         <span class="available">
259                                         <!-- TMPL_LOOP NAME="items_loop" -->
260                                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
261                                             <i>
262                                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
263                                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
264                                          <!-- TMPL_IF name="classification" -->
265                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
266                                                 <!-- TMPL_VAR NAME="classification" -->
267                                             </a>
268                                         <!-- /TMPL_IF -->
269                                         </i>
270                                          <br />
271                                         <!-- /TMPL_LOOP -->
272                                         </span>
273                                     <!-- /TMPL_IF -->
274                                     <span class="unavailable">
275                                         <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
276                                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
277                                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
278                                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
279                                     </span>
280                                 </td>
281                                 <td>
282                                     <!-- TMPL_IF NAME="norequests" -->
283                                         Not Reserveable
284                                     <!-- TMPL_ELSE -->
285                                         <a class="reserve" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
286                                             Reserves
287                                         </a>
288                                     <!-- /TMPL_IF -->
289                                 </td>
290                             </tr>
291                         <!-- /TMPL_LOOP -->
292                 </table>
293                 </div>
294         <!-- /TMPL_IF -->
295     
296         <!-- TMPL_IF NAME="PAGE_NUMBERS" -->
297             <div class="pages">
298                 <!-- Row of numbers corresponding to search result pages -->
299                 <!-- TMPL_IF NAME="previous_page_offset" -->
300                     <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="previous_page_offset" -->">
301                         &lt;&lt; Previous
302                     </a>
303                 <!-- /TMPL_IF -->
304                 <!-- TMPL_LOOP NAME="PAGE_NUMBERS" -->
305                     <!-- TMPL_IF NAME="highlight" -->
306                         <span class="current"><!-- TMPL_VAR NAME="pg" --></span>
307                     <!-- TMPL_ELSE -->
308                         <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="offset" --><!-- TMPL_IF NAME="sort_by" -->&amp;sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->">
309                             <!-- TMPL_VAR NAME="pg" -->
310                         </a>
311                     <!-- /TMPL_IF -->
312                 <!-- /TMPL_LOOP -->
313                 <!-- TMPL_IF NAME="next_page_offset" -->
314                     <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="next_page_offset" -->">
315                         Next &gt;&gt;
316                     </a>
317                 <!-- /TMPL_IF -->
318             </div>
319         <!-- /TMPL_IF -->
320     
321         <!-- TMPL_IF NAME="outer_sup_results_loop" -->
322             <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
323                 <!-- TMPL_IF NAME="inner_sup_results_loop" -->
324                 <!-- TMPL_VAR NAME="servername" -->
325                 <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
326                     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
327                 <!-- /TMPL_LOOP -->
328                 <!-- /TMPL_IF -->
329             <!-- /TMPL_LOOP -->
330     <!-- /TMPL_IF -->
331     
332     <!-- TMPL_ELSE -->
333     
334     
335     <!-- /TMPL_IF -->
336
337 </div>
338 </div>
339
340 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->