<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
<h2>Hello, <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
+ <!-- TMPL_IF NAME="patronupdate" --><div class="dialog message"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div><!-- /TMPL_IF -->
+
<!-- TMPL_IF NAME="opacnote"-->
<h3>Message from the library</h3>
<p><!-- TMPL_VAR name="opacnote" --></p>
<th colspan="2">Title</th>
<th>Call No.</th>
<th>Due</th>
+ <!-- TMPL_IF name="OpacRenewalAllowed" -->
<!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_UNLESS -->
+ <!-- /TMPL_IF -->
<th>Fines</th>
</tr>
<!-- TMPL_LOOP NAME="ISSUES" -->
<!-- TMPL_ELSE -->
<td><!-- TMPL_VAR NAME="date_due" --></td>
<!-- /TMPL_IF -->
- <!-- TMPL_UNLESS name="patron_flagged" -->
- <td>
- <!-- TMPL_IF NAME="status" -->
- <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR NAME="itemnumber" -->&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
- <!-- TMPL_ELSE -->
- Not renewable
- <!-- /TMPL_IF -->
- </td>
- <!-- /TMPL_UNLESS -->
+ <!-- TMPL_IF name="OpacRenewalAllowed" -->
+ <!-- TMPL_UNLESS name="patron_flagged" -->
+ <td>
+ <!-- TMPL_IF NAME="status" -->
+ <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR NAME="itemnumber" -->&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
+ <!-- TMPL_ELSE -->
+ Not renewable
+ <!-- /TMPL_IF -->
+ </td>
+ <!-- /TMPL_UNLESS -->
+ <!-- /TMPL_IF -->
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
</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>
</tr>
<!-- /TMPL_LOOP -->
</table></div>
-<!-- /TMPL_IF --><!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reserves_count" -->