[Koha-cvs] CVS: koha-html/intranet-html/includes/templates/default/catalogue detail.tmpl,1.4.4.3,1.4.4.4

Finlay Thompson finlayt at users.sourceforge.net
Mon Aug 19 07:39:03 CEST 2002


Update of /cvsroot/koha/koha-html/intranet-html/includes/templates/default/catalogue
In directory usw-pr-cvs1:/tmp/cvs-serv20654

Modified Files:
      Tag: rel-1-2
	detail.tmpl 
Log Message:

Added an if loop to check the "norequests" variable so as to decide whether to put the Requests button. See detail.pl



Index: detail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha-html/intranet-html/includes/templates/default/catalogue/detail.tmpl,v
retrieving revision 1.4.4.3
retrieving revision 1.4.4.4
diff -C2 -r1.4.4.3 -r1.4.4.4
*** detail.tmpl	31 Jul 2002 04:59:13 -0000	1.4.4.3
--- detail.tmpl	19 Aug 2002 05:39:01 -0000	1.4.4.4
***************
*** 1,4 ****
  <TMPL_INCLUDE NAME="cat-top.inc">
- <TMPL_LOOP NAME="BIBLIO_RESULTS">
  
  <TMPL_IF NAME="loggedinuser">
--- 1,3 ----
***************
*** 9,15 ****
  
  
! 
  <a href=request.pl?bib=<TMPL_VAR NAME="biblionumber">><img height=42  WIDTH=120 BORDER="0"
  src="/images/requests.gif" align="right" border="0"></a>
  <font SIZE=6><em><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author">)
  <TMPL_VAR NAME="class"></em></font><p>
--- 8,18 ----
  
  
! <TMPL_IF NAME="norequests">
! <TMPL_ELSE>
  <a href=request.pl?bib=<TMPL_VAR NAME="biblionumber">><img height=42  WIDTH=120 BORDER="0"
  src="/images/requests.gif" align="right" border="0"></a>
+ </TMPL_IF>
+ <TMPL_LOOP NAME="BIBLIO_RESULTS">
+ 
  <font SIZE=6><em><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author">)
  <TMPL_VAR NAME="class"></em></font><p>
***************
*** 20,23 ****
--- 23,29 ----
  <td bgcolor="#cccc99" background="/images/background-mem.gif">
  <b>BIBLIO RECORD</b>
+ 
+ 
+ 
  
  <TMPL_VAR NAME="biblionumber">





More information about the Koha-cvs mailing list