[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] Circulation.pl crash
From: |
paul POULAIN |
Subject: |
Re: [Koha-devel] Circulation.pl crash |
Date: |
Tue Jun 3 06:21:14 2003 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425 |
Chris Cormack wrote:
Chris, from katipo, NZ, worked on it a few days ago.
Seems he made something wrong... but at the moment, he's sleeping :-)
Hi All
What you'll need to do is update your circulation.tmpl file as well.
The file is in cvs but perhaps you didnt update the directory where the
templates are in your website?
I did some work shifting html out of circulation.pl into circulation.tmpl as
a result you need to update both.
Hope this helps
Chris
Note this does not help if they use FRENCH templates, as I didn't
upgrade them for instance. However, that may be the best reason. Jerome
: it would be a good job to report the diffs into french and commit
them as you've an accound iirc :-)
ah. i forget : good morning chris.
As reminder : cc from chris recent commit :
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ
In directory sc8-pr-cvs1:/tmp/cvs-serv9201/koha-tmpl/intranet-tmpl/default/en/circ
Modified Files:
circulation.tmpl
Log Message:
Shifted the todays issues and previous issues html out into the template
And fixed a bug that was causing the enter a borrowers card or surname box
to show. Even if you were currently issuing to a borrower
Index: circulation.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ/circulation.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** circulation.tmpl 26 Apr 2003 04:57:54 -0000 1.6
--- circulation.tmpl 30 May 2003 20:37:09 -0000 1.7
***************
*** 142,145 ****
--- 142,148 ----
</table>
<TMPL_ELSE>
+ <TMPL_IF NAME="borrowernumber">
+
+ <TMPL_ELSE>
<form method=post action=""
<table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
***************
*** 158,163 ****
--- 161,168 ----
</table>
</form>
+ </TMPL_IF>
</TMPL_IF>
<TMPL_IF name="borrowernumber">
+
<TMPL_VAR name="patrontable">
<TMPL_VAR name="flaginfotable">
***************
*** 230,234 ****
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
! <TMPL_VAR name="todayissues">
</table>
</TMPL_IF>
--- 235,246 ----
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
! <TMPL_LOOP name="todayissues">
! <tr><td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dd"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor"> align=center>
! <a href=""biblionumber">&type=intra" ><TMPL_VAR NAME="barcode"></a></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="title"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="author"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
! </TMPL_LOOP>
</table>
</TMPL_IF>
***************
*** 245,249 ****
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
! <TMPL_VAR name="previssues">
</table>
</TMPL_IF>
--- 257,269 ----
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
! <TMPL_LOOP name="previssues">
! <tr><td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dd"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor"> align=center>
! <a href=""biblionumber">&type=intra" ><TMPL_VAR NAME="barcode"></a></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="title"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="author"></td>
! <td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
! </TMPL_LOOP>
!
</table>
</TMPL_IF>
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)