[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc dictionary.tmpl,1.1,1.2

Henri-Damien LAURENT hdl at users.sourceforge.net
Mon May 2 17:39:33 CEST 2005


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25849/koha-tmpl/intranet-tmpl/default/en/search.marc

Modified Files:
	dictionary.tmpl 
Log Message:
Improving output:
Should be a good start point for choosing what to display.

Index: dictionary.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc/dictionary.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** dictionary.tmpl	2 May 2005 06:25:01 -0000	1.1
--- dictionary.tmpl	2 May 2005 15:39:28 -0000	1.2
***************
*** 67,74 ****
  	<div class="bloc100">
  		<h2 class="catalogue">Dictionary Search results</h2>
  		<div id="resultlist">
  			<table>
  				<tr>
! 					<th colspan="2">Authorities</th>
  				</tr>
  				<tr>
--- 67,96 ----
  	<div class="bloc100">
  		<h2 class="catalogue">Dictionary Search results</h2>
+ 		<!-- TMPL_IF NAME="authresult" -->
+ 		<div id="resultnumber">
+ 			<p><!-- TMPL_IF NAME="displayprev" --> 
+ 					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">&lt;&lt;Previous</a>
+ 				<!-- /TMPL_IF -->
+ 				<!-- TMPL_LOOP NAME="numbers" -->
+ 					<!-- TMPL_IF NAME="highlight" -->
+ 						<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
+ 					<!-- TMPL_ELSE --> 
+ 						<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR NAME="number" --></a>
+ 					<!-- /TMPL_IF -->
+ 				<!-- /TMPL_LOOP --> 
+ 				<!-- TMPL_IF NAME="displaynext" -->
+ 					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">Next&gt;&gt;</a>
+ 				<!-- /TMPL_IF -->
+ 			</p>
+ 			<p class="resultcount">
+ 			<!-- TMPL_IF NAME="nbresults" -->
+ 					Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --><!-- TMPL_ELSE -->No results found.
+ 			<!-- /TMPL_IF -->
+ 			</p>
+ 		</div>
  		<div id="resultlist">
  			<table>
  				<tr>
! 					<th colspan="2" class="authority">Authorities</th>
  				</tr>
  				<tr>
***************
*** 79,102 ****
  					<tr>
  						<td><!-- TMPL_VAR NAME="summary" --></td>
! 						<td><!-- TMPL_VAR NAME="used" --> times</td>
  					</tr>
  				<!-- /TMPL_LOOP -->
  			</table>
  		</div>
  		<div id="resultnumber">
- 			<p><!-- TMPL_IF NAME="displayprev" --> 
- 					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">&lt;&lt;Previous</a>
- 				<!-- /TMPL_IF -->
- 				<!-- TMPL_LOOP NAME="numbers" -->
- 					<!-- TMPL_IF NAME="highlight" -->
- 						<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
- 					<!-- TMPL_ELSE --> 
- 						<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR NAME="number" --></a>
- 					<!-- /TMPL_IF -->
- 				<!-- /TMPL_LOOP --> 
- 				<!-- TMPL_IF NAME="displaynext" -->
- 					<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">Next&gt;&gt;</a>
- 				<!-- /TMPL_IF -->
- 			</p>
  			<p class="resultcount">
  			<!-- TMPL_IF NAME="total" -->
--- 101,115 ----
  					<tr>
  						<td><!-- TMPL_VAR NAME="summary" --></td>
! 						<td>
! 							<a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)
! 						</td>
  					</tr>
  				<!-- /TMPL_LOOP -->
  			</table>
  		</div>
+ 		<!-- TMPL_ELSE -->
+ 			<h3 class="authority">No results in Authorities</h3>
+ 		<!-- /TMPL_IF -->
  		<div id="resultnumber">
  			<p class="resultcount">
  			<!-- TMPL_IF NAME="total" -->
***************
*** 158,161 ****
--- 171,193 ----
  				</tr>
  				<!-- /TMPL_LOOP -->
+ 				<!-- TMPL_LOOP NAME="catresult" -->
+ 				<tr>
+ 					<td<!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
+ 								<!-- TMPL_IF name="MARC_ON" -->
+ 									<a class="transparent resultlist" href="search.pl?type=<!-- TMPL_VAR NAME="type" ESCAPE="URL" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL" -->&amp;operator=contains&amp;op=do_search&amp;and_or=and&amp;value='<!-- TMPL_VAR Name=value ESCAPE="URL" -->'&amp;excluding="><!-- TMPL_VAR NAME="value" --></a>
+ 								<!-- TMPL_ELSE -->
+ 									<a class="transparent resultlist" href="search.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="value" --></a>				<!-- /TMPL_IF -->
+ 					</td>
+ 					<td align="center" <!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
+ 						<!-- TMPL_VAR NAME="count" -->
+ 					</td>
+ 					<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ 						&nbsp;
+ 					</td>
+ 					<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ 						&nbsp;
+ 					</td>
+ 				</tr>
+ 				<!-- /TMPL_LOOP -->
  			</table>
  		</div>
***************
*** 183,187 ****
  		
  	</div>
! <!-- /TMPL_IF -->	
  
  </div>
--- 215,219 ----
  		
  	</div>
! <!-- /TMPL_IF -->
  
  </div>





More information about the Koha-cvs mailing list