Changes to fix link, clarify text, make more valid
[srvgit] / koha-tmpl / intranet-tmpl / default / en / circ / circulation.tmpl
index b9c5805..09c1abf 100644 (file)
-<TMPL_INCLUDE NAME="circulation-top.inc">
+<!-- TMPL_INCLUDE NAME="circulation-top.inc" -->
+ <div id="mainbloc">
+       <h1 class="circulation">Circulation: Issues</h1>
 
-<TMPL_IF name="borrowernumber">
-       <table align="right">
-               <tr>
-                       <td>
-                               <a href=circulation.pl?borrnumber=<TMPL_VAR name="borrowernumber">&branch=<TMPL_VAR name="branch">&printer=<TMPL_VAR name="printer">&print=yes>
-                               <img src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/2rightarrow.png" border="0" alt="Next Borrower"></a> &nbsp;
-                               <a href=returns.pl>
-                               <img src="<TMPL_VAR name="themelang">/images/button-returns.gif" width="110" height="42" border="0" alt="Returns"></a>
-                               &nbsp;<a href=branchtransfers.pl><img src="<TMPL_VAR name="themelang">/images/button-transfers.gif" width="127" height="42" border="0" alt="Transfers"></a>
-                       </td>
-               </tr>
-       </table>
-       <h1>Circulation: Issues</h1><br>
-       <b>Branch:</b> <TMPL_VAR name="branchname"><br>
-       <b>Printer:</b> <TMPL_VAR name="printername"><br>
-       <a href=selectbranchprinter.pl>Change Settings</a></td>
-       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-       <p>
-<TMPL_ELSE>
-       <table align="right">
-               <tr>
-                       <td>
-                               <a href=returns.pl class="button">
-                                       Returns
-                               </a>
-                               <a href=branchtransfers.pl class="button">
-                                       Transfers
+<!--
+
+ INITIAL BLOC : PARAMETERS & BORROWER INFO
+-->
+       <div id="bloc25">
+               <h2 class="circulation">Parameters</h2>
+               <p>
+                       <b>Branch:</b> <!-- TMPL_VAR name="branchname" -->, 
+                       <b>Printer:</b> <!-- TMPL_VAR name="printername" --> 
+                       <a href="selectbranchprinter.pl" class="button circulation">Change Settings</a>
+               </p>
+       
+       <!-- TMPL_IF name="message" -->
+               <h2 class="circulation">Messages</h2>
+                       <p>No borrower matched  <!-- TMPL_VAR name="message" --></p>
+       <!-- /TMPL_IF -->
+       
+       <!-- TMPL_IF name="CGIselectborrower" -->
+               <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
+               <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->">
+               <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->">
+               <h2 class="circulation">Select a borrower</h2>
+               <!-- TMPL_VAR name="CGIselectborrower" -->
+               <input type="submit" value="OK" class="button circulation">
+       <!-- TMPL_ELSE -->
+               <!-- TMPL_IF NAME="borrowernumber" -->
+                       <h2 class="circulation">Borrower information</h2>
+                       <p>
+                               <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->" onclick="openWindow(this,'Member', 480, 640)">
+                                       <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
                                </a>
-                       </td>
-               </tr>
-       </table>
-       <h1>Circulation: Issues</h1><br>
-       <b>Branch:</b> <TMPL_VAR name="branchname"> <br>
-       <b>Printer:</b> <TMPL_VAR name="printername"><br>
-       <a href=selectbranchprinter.pl>Change Settings</a></td>
-       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-       <p>
-</TMPL_IF>
+                       </p>
+                       <p>
+                               <!-- TMPL_VAR name="streetaddress" --> <!-- TMPL_VAR name="city" -->
+                       </p>
+                       <p>
+                               <!-- TMPL_VAR name="phone" -->
+                       </p>
+                       <p>Category: <!-- TMPL_VAR name="categorycode" --></p>
+               <!-- TMPL_ELSE -->
+                               <h2 class="circulation">
+                                       Enter borrower card number or partial last name
+                               </h2>
+                               <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
+                                       <input name="findborrower">
+                                       <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->">
+                                       <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->">
+                                       <input type="submit" value="OK" class="button circulation">
+                               </form>
+               <!-- /TMPL_IF -->
+       <!-- /TMPL_IF -->
+       </div>
 
-<TMPL_IF name="question">
-       <table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
-               <tr>
-                       <th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                               <font size=+2 color=red><b>Issuing Question</b></font>
-                       </th>
-               </tr>
-               <tr>
-                       <td>
-                               <table border=0 cellpadding=10>
-                                       <tr>
-                                               <td>
-                                                       Attempting to issue <TMPL_VAR name="title">
-                                                       by <TMPL_VAR name="author"> to <TMPL_VAR name="firstname"> <TMPL_VAR name="surname">.
-                                                       <p><TMPL_VAR name="question">
-                                               </td>
-                                       </tr>
-                               </table>
-                       </td>
-               </tr>
-               <tr>
-                       <td align=center>
-                               <table border=0>
-                                       <tr>
-                                               <td>
-                                                       <form method=get>
-                                                       <input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
-                                                       <input type=hidden name=barcode value=<TMPL_VAR name="barcode">>
-                                                       <input type=hidden name=questionnumber value=<TMPL_VAR name="questionnumber">>
-                                                       <input type=hidden name=day value=<TMPL_VAR name="day">>
-                                                       <input type=hidden name=month value=<TMPL_VAR name="month">>
-                                                       <input type=hidden name=year value=<TMPL_VAR name="year">>
-                                                       <input type=hidden name=stickyduedate value=<TMPL_VAR name="stickyduedate">>
-                                                       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-                                                       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-                                                       <TMPL_VAR name="responsesform">
-                                                       <input type=hidden name=answer value=Y>
-                                                       <input type=submit value=Yes>
-                                                       </form>
-                                               </td>
-                                               <td>
-                                                       <form method=get>
-                                                       <input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
-                                                       <input type=hidden name=barcode value=<TMPL_VAR name="barcode">>
-                                                       <input type=hidden name=questionnumber value=<TMPL_VAR name="questionnumber">>
-                                                       <input type=hidden name=day value=<TMPL_VAR name="day">>
-                                                       <input type=hidden name=month value=<TMPL_VAR name="month">>
-                                                       <input type=hidden name=year value=<TMPL_VAR name="year">>
-                                                       <input type=hidden name=stickyduedate value=<TMPL_VAR name="stickyduedate">>
-                                                       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-                                                       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-                                                       <TMPL_VAR name="responsesform">
-                                                       <input type=hidden name=answer value=N>
-                                                       <input type=submit value=No>
-                                                       </form>
-                                               </td>
-                                       </tr>
-                               </table>
-                       </td>
-               </tr>
-       </table>
-       </td>
-</TMPL_IF>
+<!--
+       BARCODE ENTRY
+-->
 
-<TMPL_IF name="rejected">
-       <table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
-               <tr><th><font color=black size=5>Error Issuing Book</font></th></tr>
-               <tr><td><font color=red size=5><TMPL_VAR name="rejected"></font></td></tr>
-       </table>
-       <br>
-</TMPL_IF>
+<!-- TMPL_IF name="borrowernumber" -->
+       <div id="bloc25">
+       <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
+               <h2 class="circulation">Enter Book Barcode</h2>
+               <p>Item Barcode:<input name="barcode" size="10"> <input type="submit" value="Issue" class="button circulation"></p>
+               <p>
+                       <select name="day">
+                               <option value="0">Day</option>
+                               <option value="1"<!-- TMPL_IF name="day1" --> selected="selected"<!-- /TMPL_IF -->>1</option>
+                               <option value="2"<!-- TMPL_IF name="day2" --> selected="selected"<!-- /TMPL_IF -->>2</option>
+                               <option value="3"<!-- TMPL_IF name="day3" --> selected="selected"<!-- /TMPL_IF -->>3</option>
+                               <option value="4"<!-- TMPL_IF name="day4" --> selected="selected"<!-- /TMPL_IF -->>4</option>
+                               <option value="5"<!-- TMPL_IF name="day5" --> selected="selected"<!-- /TMPL_IF -->>5</option>
+                               <option value="6"<!-- TMPL_IF name="day6" --> selected="selected"<!-- /TMPL_IF -->>6</option>
+                               <option value="7"<!-- TMPL_IF name="day7" --> selected="selected"<!-- /TMPL_IF -->>7</option>
+                               <option value="8"<!-- TMPL_IF name="day8" --> selected="selected"<!-- /TMPL_IF -->>8</option>
+                               <option value="9"<!-- TMPL_IF name="day9" --> selected="selected"<!-- /TMPL_IF -->>9</option>
+                               <option value="10"<!-- TMPL_IF name="day10" --> selected="selected"<!-- /TMPL_IF -->>10</option>
+                               <option value="11"<!-- TMPL_IF name="day11" --> selected="selected"<!-- /TMPL_IF -->>11</option>
+                               <option value="12"<!-- TMPL_IF name="day12" --> selected="selected"<!-- /TMPL_IF -->>12</option>
+                               <option value="13"<!-- TMPL_IF name="day13" --> selected="selected"<!-- /TMPL_IF -->>13</option>
+                               <option value="14"<!-- TMPL_IF name="day14" --> selected="selected"<!-- /TMPL_IF -->>14</option>
+                               <option value="15"<!-- TMPL_IF name="day15" --> selected="selected"<!-- /TMPL_IF -->>15</option>
+                               <option value="16"<!-- TMPL_IF name="day16" --> selected="selected"<!-- /TMPL_IF -->>16</option>
+                               <option value="17"<!-- TMPL_IF name="day17" --> selected="selected"<!-- /TMPL_IF -->>17</option>
+                               <option value="18"<!-- TMPL_IF name="day18" --> selected="selected"<!-- /TMPL_IF -->>18</option>
+                               <option value="19"<!-- TMPL_IF name="day19" --> selected="selected"<!-- /TMPL_IF -->>19</option>
+                               <option value="20"<!-- TMPL_IF name="day20" --> selected="selected"<!-- /TMPL_IF -->>20</option>
+                               <option value="21"<!-- TMPL_IF name="day21" --> selected="selected"<!-- /TMPL_IF -->>21</option>
+                               <option value="22"<!-- TMPL_IF name="day22" --> selected="selected"<!-- /TMPL_IF -->>22</option>
+                               <option value="23"<!-- TMPL_IF name="day23" --> selected="selected"<!-- /TMPL_IF -->>23</option>
+                               <option value="24"<!-- TMPL_IF name="day24" --> selected="selected"<!-- /TMPL_IF -->>24</option>
+                               <option value="25"<!-- TMPL_IF name="day25" --> selected="selected"<!-- /TMPL_IF -->>25</option>
+                               <option value="26"<!-- TMPL_IF name="day26" --> selected="selected"<!-- /TMPL_IF -->>26</option>
+                               <option value="27"<!-- TMPL_IF name="day27" --> selected="selected"<!-- /TMPL_IF -->>27</option>
+                               <option value="28"<!-- TMPL_IF name="day28" --> selected="selected"<!-- /TMPL_IF -->>28</option>
+                               <option value="29"<!-- TMPL_IF name="day29" --> selected="selected"<!-- /TMPL_IF -->>29</option>
+                               <option value="30"<!-- TMPL_IF name="day30" --> selected="selected"<!-- /TMPL_IF -->>30</option>
+                               <option value="31"<!-- TMPL_IF name="day31" --> selected="selected"<!-- /TMPL_IF -->>31</option>
+                       </select>
+                       <select name="month">
+                               <option value="0">Month</option>
+                               <option value="1"<!-- TMPL_IF name="month1" --> selected="selected"<!-- /TMPL_IF -->>Jan</option>
+                               <option value="2"<!-- TMPL_IF name="month2" --> selected="selected"<!-- /TMPL_IF -->>Feb</option>
+                               <option value="3"<!-- TMPL_IF name="month3" --> selected="selected"<!-- /TMPL_IF -->>Mar</option>
+                               <option value="4"<!-- TMPL_IF name="month4" --> selected="selected"<!-- /TMPL_IF -->>Apr</option>
+                               <option value="5"<!-- TMPL_IF name="month5" --> selected="selected"<!-- /TMPL_IF -->>May</option>
+                               <option value="6"<!-- TMPL_IF name="month6" --> selected="selected"<!-- /TMPL_IF -->>Jun</option>
+                               <option value="7"<!-- TMPL_IF name="month7" --> selected="selected"<!-- /TMPL_IF -->>Jul</option>
+                               <option value="8"<!-- TMPL_IF name="month8" --> selected="selected"<!-- /TMPL_IF -->>Aug</option>
+                               <option value="9"<!-- TMPL_IF name="month9" --> selected="selected"<!-- /TMPL_IF -->>Sep</option>
+                               <option value="10"<!-- TMPL_IF name="month10" --> selected="selected"<!-- /TMPL_IF -->>Oct</option>
+                               <option value="11"<!-- TMPL_IF name="month11" --> selected="selected"<!-- /TMPL_IF -->>Nov</option>
+                               <option value="12"<!-- TMPL_IF name="month12" --> selected="selected"<!-- /TMPL_IF -->>Dec</option>
+                       </select>
+                       <select name="year">
+                               <option value="0">Year</option>
+                               <option value="2004"<!-- TMPL_IF name="year2004" --> selected="selected"<!-- /TMPL_IF -->>2004</option>
+                               <option value="2005"<!-- TMPL_IF name="year2005" --> selected="selected"<!-- /TMPL_IF -->>2005</option>
+                               <option value="2006"<!-- TMPL_IF name="year2006" --> selected="selected"<!-- /TMPL_IF -->>2006</option>
+                               <option value="2007"<!-- TMPL_IF name="year2007" --> selected="selected"<!-- /TMPL_IF -->>2007</option>
+                               <option value="2008"<!-- TMPL_IF name="year2008" --> selected="selected"<!-- /TMPL_IF -->>2008</option>
+                       </select>
+               </p>
+               <p>
+               <input type="checkbox" name="stickyduedate" <!-- TMPL_VAR name="selected" -->> Sticky Due Date
+               <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->">
+               <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->">
+               <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->">
+               <input type="hidden" name="print" value="maybe">
+               <!-- TMPL_IF name="CHARGES" -->
+                       <input type="hidden" name="charges" value="yes">
+                       <input type="hidden" name="oldamount" value="<!-- TMPL_VAR name="amountold" -->">
+               <!-- /TMPL_IF -->
+               </p>
+       </form>
+       </div>
 
-<TMPL_IF name="message">
-       <table border=1 cellpadding=5 cellspacing=0 bgcolor='#dddddd'>
-               <tr><th background="<TMPL_VAR name="themelang">/images/background-mem.gif">Messages</th></tr>
-               <tr><td><TMPL_VAR name="message"></td></tr>
-       </table>
-</TMPL_IF>
 
-<TMPL_IF name="CGIselectborrower">
-       <form method=post action=/cgi-bin/koha/circ/circulation.pl>
-       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-       <table border=1 cellspacing=0 cellpadding=5 bgcolor="#dddddd">
+
+<!--
+       RESULT OF ISSUING REQUEST
+-->
+       <div id="bloc25">
+               <!-- TMPL_IF name="IMPOSSIBLE" -->
+               <h2 class="problem">Issuing impossible</h2>
+                       <!-- TMPL_IF name="INVALID_DATE" -->
+                               <p class="problem">The due date is invalid</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="UNKNOWN_BARCODE" -->
+                               <p class="problem">The barcode is unknown</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="NOT_FOR_LOAN" -->
+                               <p class="problem">Item not for loan</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="WTHDRAWN" -->
+                               <p class="problem">Item withdrawn</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="GNA" -->
+                               <p class="problem">Borrower is gone with no address</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF NAME="CARD_LOST" -->
+                               <p class="problem">Borrower's card is lost</p>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF NAME="DEBARRED" -->
+                               <p class="problem">Borrower is debarred</p>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="NO_MORE_RENEWALS" -->
+                               <p class="problem">No more renewals possible</p>
+                       <!-- /TMPL_IF -->
+                       <br/>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="NEEDSCONFIRMATION" -->
+               <h2 class="problem">I need confirmation before issuing</h2>
+                       <!-- TMPL_IF name="DEBT" -->
+                               <p>The borrower has debts</p>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="RENEW_ISSUE" -->
+                               <p>Not an issue but a renewal</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="RESERVE_WAITING" -->
+                               <p>Reserve waiting</p>
+                       <!-- /TMPL_IF -->       
+                       <!-- TMPL_IF name="ISSUED_TO_ANOTHER" -->
+                               <p>Item issued to <!-- TMPL_VAR name="ISSUED_TO_ANOTHER" -->. Return &amp; issue?</p>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="TOO_MANY" -->
+                               <p class="problem">Too many issues!</p>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_UNLESS name="IMPOSSIBLE" -->
+                       <form method="post">
+                               <input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->">
+                               <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber">">
+                               <input type="hidden" name="issueconfirmed" value="1">
+                               <input type="submit" value="Confirm issue" class="button circulation">
+                       </form>
+                       <!-- /TMPL_UNLESS -->
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="issued" -->
+                       <p>Item issued</p>
+               <!-- /TMPL_IF -->
+       </div>
+<!-- /TMPL_IF -->
+
+
+
+<!--
+SUMMARY : TODAY & PREVIOUS ISSUES
+-->
+
+<!-- TMPL_IF name="todayissues" -->
+<div id="bloc25">
+       <h2 class="circulation">Todays Issues</h2>
+       <table>
                <tr>
-                       <th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                               <font color=black><b>Select a borrower</b></font>
-                       </th>
+                       <th class="circulation">Due Date</th>
+                       <th class="circulation">Bar Code</th>
+                       <th class="circulation">Title</th>
+                       <th class="circulation">Author</th>
+                       <th class="circulation">Class</th>
                </tr>
+               <!-- TMPL_LOOP name="todayissues" -->
                <tr>
-                       <td align=center>
-                               <TMPL_VAR name="CGIselectborrower">
-                               <br>
-                               <input type=submit>
+                       <td><!-- TMPL_VAR NAME="dd" --></td>
+                       <td>
+                               <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcode" --></a>
+                       </td>
+                       <td>
+                               <!-- TMPL_VAR NAME="title" -->
                        </td>
-               </tr>
-       </table>
-<TMPL_ELSE>
-       <form method=post action=/cgi-bin/koha/circ/circulation.pl>
-       <table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
-               <tr>
-                       <th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                               <font color=black><b>Enter borrower card number<br> or partial last name</b></font>
-                       </th>
-               </tr>
-               <tr>
                        <td>
-                               <input name=findborrower>
-                               <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-                               <input type=hidden name=printer value=<TMPL_VAR name="printer">>
+                               <!-- TMPL_VAR NAME="author" -->
+                       </td>
+                       <td>
+                               <!-- TMPL_VAR NAME="dewey" --> <!-- TMPL_VAR NAME="subclass" -->
                        </td>
                </tr>
+               <!-- /TMPL_LOOP -->
        </table>
-       </form>
-</TMPL_IF>
-<TMPL_IF name="borrowernumber">
-       <TMPL_VAR name="patrontable">
-       <TMPL_VAR name="flaginfotable">
-</TMPL_IF>
-
-<TMPL_IF name="borrowernumber">
-<form method=post action=/cgi-bin/koha/circ/circulation.pl>
-<table border=1 cellpadding=5>
-       <tr>
-       <td align=center valign=top>
-               <table border=0 cellspacing=0 cellpadding=5>
-                       <tr>
-                               <th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                                       <font color=black><b>Enter Book Barcode</b></font>
-                               </th>
-                       </tr>
-                       <tr>
-                               <td align=center>
-                                       <table border=0>
-                                               <tr>
-                                                       <td>Item Barcode:</td>
-                                                       <td><input name=barcode size=10></td>
-                                                       <td><input type=submit value=Issue></td>
-                                               </tr>
-                                               <tr>
-                                                       <td colspan=3 align=center>
-                                                               <table border=0 cellpadding=0 cellspacing=0>
-                                                                       <tr>
-                                                                               <td>
-                                                                                       <select name=day><option value=0>Day<TMPL_VAR name="dayoptions"></select>
-                                                                               </td>
-                                                                               <td>
-                                                                                       <select name=month><option value=0>Month<TMPL_VAR name="monthoptions"></select>
-                                                                               </td>
-                                                                               <td>
-                                                                                       <select name=year><option value=0>Year<TMPL_VAR name="yearoptions"></select>
-                                                                               </td>
-                                                                       </tr>
-                                                               </table>
-                                                               <input type=checkbox name=stickyduedate <TMPL_VAR name="selected">> Sticky Due Date
-                                                       </td>
-                                               </tr>
-                                       </table>
-                                       <input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
-                                       <input type=hidden name=branch value=<TMPL_VAR name="branch">>
-                                       <input type=hidden name=printer value=<TMPL_VAR name="printer">>
-                                       <input type=hidden name=print value=maybe>
-                                       <TMPL_IF name="CHARGES">
-                                               <input type=hidden name=charges value=yes>
-                                               <input type=hidden name=oldamount value=<TMPL_VAR name="amountold">>
-                                       </TMPL_IF>
-                               </td>
-                       </tr>
-               </table>
-       </td>
-       </tr>
-</table>
-</form>
-</TMPL_IF>
-<p clear=all><br><br>
-<TMPL_IF name="todayissues">
-<table border=1 cellpadding=5 cellspacing=0 width=80%>
-       <tr>
-               <th colspan=5 background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                       <font color=black>
-                       <b>Todays Issues</b></font>
-               </th>
-       </tr>
-       <tr>
-               <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>
+</div>
+<!-- /TMPL_IF -->
 
-<TMPL_IF name="previssues">
-       <table border=1 cellpadding=5 cellspacing=0 width=80%>
-               <tr>
-                       <th colspan=5  background="<TMPL_VAR name="themelang">/images/background-mem.gif">
-                               <font color=black>
-                               <b>Previous Issues</b></font>
-                       </th>
-               </tr>
+<!-- TMPL_IF name="previssues" -->
+<div id="bloc25">
+       <h2 class="circulation">Previous Issues</h2>
+       <table>
                <tr>
-                       <th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
+                       <th class="circulation">Due Date</th>
+                       <th class="circulation">Bar Code</th>
+                       <th class="circulation">Title</th>
+                       <th class="circulation">Author</th>
+                       <th class="circulation">Class</th>
                </tr>
-               <TMPL_VAR name="previssues">
+               <!-- TMPL_LOOP name="previssues" -->
+                       <tr>
+                               <!-- TMPL_IF NAME="od" -->
+                                       <td class="problem">
+                                               <!-- TMPL_VAR NAME="dd" -->
+                                       </td>
+                                       <td class="problem">
+                                               <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcode" --></a>
+                                       </td>
+                                       <td class="problem"><!-- TMPL_VAR NAME="title" --></td>
+                                       <td class="problem"><!-- TMPL_VAR NAME="author" --></td>
+                                       <td class="problem"><!-- TMPL_VAR NAME="dewey" --> <!-- TMPL_VAR NAME="subclass" --></td>
+                               <!-- TMPL_ELSE -->
+                                       <td>
+                                               <!-- TMPL_VAR NAME="dd" -->
+                                       </td>
+                                       <td>
+                                               <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcode" --></a>
+                                       </td>
+                                       <td><!-- TMPL_VAR NAME="title" --></td>
+                                       <td><!-- TMPL_VAR NAME="author" --></td>
+                                       <td><!-- TMPL_VAR NAME="dewey" --> <!-- TMPL_VAR NAME="subclass" --></td>
+                               <!-- /TMPL_IF -->
+                       </tr>
+               <!-- /TMPL_LOOP -->
        </table>
-</TMPL_IF>
+</div>
+<!-- /TMPL_IF -->
+</div>
+<!-- TMPL_INCLUDE name="circulation-bottom.inc" -->