[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple additem-nomarc.tmpl,1.1,1.2

Steve Tonnesen tonnesen at users.sourceforge.net
Mon May 26 22:12:40 CEST 2003


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

Modified Files:
	additem-nomarc.tmpl 
Log Message:
Fix for branch selection options (replaced perl hash variables with appropriate
TMPL_VAR variables) in additem-nomarc.tmpl


Index: additem-nomarc.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem-nomarc.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** additem-nomarc.tmpl	11 May 2003 06:59:11 -0000	1.1
--- additem-nomarc.tmpl	26 May 2003 20:12:37 -0000	1.2
***************
*** 54,58 ****
  <tr valign="top" bgcolor="#FFFFCC">
  <td><b>Item:</b> <TMPL_VAR NAME="barcode"><br>
! <b>Home Branch:</b> $branchnames{$items[$j]->{'homebranch'}}<br>
  <b>Notes:</b> <TMPL_VAR NAME="itemnotes"></td>
  </tr>
--- 54,58 ----
  <tr valign="top" bgcolor="#FFFFCC">
  <td><b>Item:</b> <TMPL_VAR NAME="barcode"><br>
! <b>Home Branch:</b> <TMPL_VAR NAME="homebranch"><br>
  <b>Notes:</b> <TMPL_VAR NAME="itemnotes"></td>
  </tr>
***************
*** 66,70 ****
  
  <form action="saveitem.pl" method="post">
! <input type="hidden" name="biblionumber" value="$biblionumber">
  <table border="1" cellspacing="0" cellpadding="5">
  <tr valign="top" bgcolor="#CCCC99">
--- 66,70 ----
  
  <form action="saveitem.pl" method="post">
! <input type="hidden" name="biblionumber" value="<TMPL_VAR NAME="biblionumber">">
  <table border="1" cellspacing="0" cellpadding="5">
  <tr valign="top" bgcolor="#CCCC99">
***************
*** 81,85 ****
  <td><select name="homebranch">
  <TMPL_LOOP NAME="BRANCHES">
! <option value="$branches[$i]->{'branchcode'}">$branches[$i]->{'branchname'}</option>
  </TMPL_LOOP>
  </select></td>
--- 81,85 ----
  <td><select name="homebranch">
  <TMPL_LOOP NAME="BRANCHES">
! <option value="<TMPL_VAR NAME="branchcode">"><TMPL_VAR NAME="branchname"></option>
  </TMPL_LOOP>
  </select></td>





More information about the Koha-cvs mailing list