[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] circulation.tmpl and 'noissues'
From: |
Owen Leonard |
Subject: |
[Koha-devel] circulation.tmpl and 'noissues' |
Date: |
Tue Nov 4 13:02:23 2003 |
I'm trying to understand a bit of logic in the circulation template dealing
with how messages are displayed. Here's the section, edited for (hopefully)
clarity:
<TMPL_IF name="noissues">
<TMPL_IF name="charges">
[CHARGES...]
<TMPL_ELSE>
<TMPL_VAR name="flag"> .. <TMPL_VAR name="message">
</TMPL_IF>
<TMPL_ELSE>
<TMPL_IF name="charges">
[CHARGES...]
</TMPL_IF>
<TMPL_IF name="waiting">
[WAITING...<TMPL_LOOP name="itemswaiting">]
</TMPL_IF>
<TMPL_IF name="odues">
<TMPL_IF name="nonreturns">
[ODUES...]
</TMPL_IF>
</TMPL_IF>
<TMPL_IF name="notes">
[NOTES...]
</TMPL_IF>
</TMPL_IF>
The first IF block says if 'noissues' is set, display ONLY THIS INFORMATION,
which is either about charges or whatever is in "flag" and "message".
What is 'noissues'? When is this set, and what does it mean? Why would you
not want to display information about waiting items, overdues, and notes if
noissues is set?
-- Owen
----
Nelsonville Public Library
Koha 2.0.0-pre-x (CVS)
- [Koha-devel] circulation.tmpl and 'noissues',
Owen Leonard <=