displaying button Renew All only if syspref OpacRenewalAllowed is set.
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
a552277978
commit
7e5bfb9d29
|
|
@ -189,14 +189,16 @@
|
|||
</tr>
|
||||
<!-- /TMPL_LOOP -->
|
||||
</table>
|
||||
<form action="/cgi-bin/koha/opac-renew.pl" method="post">
|
||||
<input type="hidden" name="from" value="opac_user" />
|
||||
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
|
||||
<!-- TMPL_LOOP NAME="ISSUES" -->
|
||||
<input type="hidden" name="item" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
|
||||
<!-- /TMPL_LOOP -->
|
||||
<input type="submit" value="Renew All" />
|
||||
</form>
|
||||
<!--TMPL_IF Name="OpacRenewalAllowed"-->
|
||||
<form action="/cgi-bin/koha/opac-renew.pl" method="post">
|
||||
<input type="hidden" name="from" value="opac_user" />
|
||||
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
|
||||
<!-- TMPL_LOOP NAME="ISSUES" -->
|
||||
<input type="hidden" name="item" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
|
||||
<!-- /TMPL_LOOP -->
|
||||
<input type="submit" value="Renew All" />
|
||||
</form>
|
||||
<!--/TMPL_IF-->
|
||||
<!-- TMPL_ELSE -->
|
||||
<table>
|
||||
<tr><td>You have nothing checked out</td></tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue