[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple isbnsearch.tmpl,1.3,1.4

Ambrose Li acli at users.sourceforge.net
Mon Feb 3 06:23:18 CET 2003


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple
In directory sc8-pr-cvs1:/tmp/cvs-serv2203/en/acqui.simple

Modified Files:
	isbnsearch.tmpl 
Log Message:
The "count" parameter has disappared; removing the reference

Added TMPL_IF's to show "Nothing found" if nothing is found in the Koha
database and/or the breeding farm


Index: isbnsearch.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/isbnsearch.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** isbnsearch.tmpl	23 Jan 2003 12:27:05 -0000	1.3
--- isbnsearch.tmpl	3 Feb 2003 05:23:16 -0000	1.4
***************
*** 4,9 ****
  <CENTER>
  You searched on <b><TMPL_IF name="isbn">ISBN <TMPL_VAR name="isbn"></TMPL_IF><TMPL_IF name="title">title <TMPL_VAR name="title"></TMPL_IF></b><br />
! 						<TMPL_VAR name="count"> results found <br />
  Results <TMPL_VAR name="showoffset"> to <TMPL_VAR name="total"> displayed
  <p />
  
--- 4,10 ----
  <CENTER>
  You searched on <b><TMPL_IF name="isbn">ISBN <TMPL_VAR name="isbn"></TMPL_IF><TMPL_IF name="title">title <TMPL_VAR name="title"></TMPL_IF></b><br />
! <TMPL_IF name="total">
  Results <TMPL_VAR name="showoffset"> to <TMPL_VAR name="total"> displayed
+ </TMPL_IF>
  <p />
  
***************
*** 20,23 ****
--- 21,25 ----
  		<td>&nbsp;</td>
  	</tr>
+ 	<TMPL_IF name="loop">
  	<TMPL_LOOP name="loop">
  		<tr valign="top" bgcolor="<TMPL_VAR name="toggle">">
***************
*** 28,31 ****
--- 30,36 ----
  		</tr>
  	</TMPL_LOOP>
+ 	<TMPL_ELSE>
+ 	<tr><td colspan=4>Nothing found</td></tr>
+ 	</TMPL_IF>
  </table>
  <br />
***************
*** 44,47 ****
--- 49,53 ----
  		<td>&nbsp;</td>
  	</tr>
+ 	<TMPL_IF name="breeding_loop">
  	<TMPL_LOOP name="breeding_loop">
  		<tr valign="top" bgcolor="<TMPL_VAR name="toggle">">
***************
*** 53,56 ****
--- 59,65 ----
  		</tr>
  	</TMPL_LOOP>
+ 	<TMPL_ELSE>
+ 	<tr><td colspan=6>Nothing found</td></tr>
+ 	</TMPL_IF>
  	<tr>
  		<td>&nbsp;</td>





More information about the Koha-cvs mailing list