First draft of programmer's templates: a stripped-down version of the templates for use by programmers in adding and testing new functionality. Template-authors can use these templates to track changes that need to be incorporated into their custom templates.

This commit is contained in:
oleonard 2005-07-19 21:03:33 +00:00
parent f1c85801de
commit 79f14c1f15
4 changed files with 625 additions and 0 deletions

View file

@ -0,0 +1,135 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Circulation: Transfers<!-- TMPL_INCLUDE NAME="doc-head-circ-close.inc" -->
<h1>Circulation: Transfers</h1>
<!-- TMPL_IF Name="found" -->
<h3>Reserve Found</h3>
<table>
<caption><!-- TMPL_IF Name="reserved" -->Reserve found for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/moremember.pl?bornum=<!-- TMPL_VAR Name="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a>).<!-- /TMPL_IF -->
<!-- TMPL_IF Name="waiting" -->
Item is marked waiting at <!-- TMPL_VAR Name="branchname" --> for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/moremember.pl?bornum=<!-- TMPL_VAR Name="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a>).<!-- /TMPL_IF --></caption>
<tr><th>
<!-- TMPL_IF Name="reserved" -->Set reserve to waiting and transfer book to <!-- TMPL_VAR Name="branchname" -->: <!-- /TMPL_IF -->
<!-- TMPL_IF Name="waiting" -->Cancel reservation and then attempt transfer: <!-- /TMPL_IF -->
</th>
<td>
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
<!-- TMPL_LOOP Name="trsfitemloop" -->
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- TMPL_IF Name="waiting" --><input type="hidden" name="barcode" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="request" value="KillWaiting" />
<input type="submit" value="Cancel" />
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="reserved" --><input type="hidden" name="request" value="SetWaiting" />
<input type="submit" value="Waiting" /><!-- /TMPL_IF -->
</form>
</td></tr>
<!-- TMPL_IF Name="reserved" --><tr><th>Cancel reservation and then attempt transfer:</th>
<td>
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
<!-- TMPL_LOOP Name="trsfitemloop" -->
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR Name="biblionumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="bornum" -->" />
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobranchcd" -->" />
<input type="hidden" name="barcode" value=<!-- TMPL_VAR Name="barcode" --> />
<input type="hidden" name="request" value="KillReserved" />
<input type="submit" value="Cancel" />
</form>
<!-- /TMPL_IF -->
</td></tr>
<tr><th>Ignore and return to transfers: </th>
<td>
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
<input type="hidden" name="tobranchcd" value=<!-- TMPL_VAR Name="tobranchcd" --> />
<input type="hidden" name="barcode" />
<!-- TMPL_LOOP Name="trsfitemloop" -->
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
<!-- /TMPL_LOOP -->
<input type="submit" value="Ignore" />
</form>
</td>
</tr></table>
<!-- TMPL_ELSE -->
<table>
<caption>Messages</caption>
<tr><td>
<!-- TMPL_IF Name="reqmessage" -->
<!-- TMPL_IF Name="cancelled" -->
Reserve Cancelled<br>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="setwaiting" -->
Item should now be waiting at branch: <!-- TMPL_VAR Name="reqbrchname" --><br>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="errmsgloop" -->
<!-- TMPL_IF Name="errbadcode" -->
No Item with barcode: <!-- TMPL_VAR Name="msg" -->
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="errispermanent" -->
Please return item to home branch: <!-- TMPL_VAR Name="msg" -->
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="errdesteqholding" -->
Item is already at destination branch.
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="errwasreturned" -->
Item was on loan to <a href="/cgi-bin/koha/moremember.pl?bornum=<!-- TMPL_VAR Name="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a>
<!-- TMPL_VAR Name="name" --> and has been returned.
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</td></tr></table>
<form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
<table>
<caption>Transfer</caption>
<tr><th scope="row">Destination Branch:</th><td><select name="tobranchcd">
<!-- TMPL_LOOP Name="branchoptionloop" -->
<option value="<!-- TMPL_VAR Name="code" -->" <!-- TMPL_VAR Name="selected" -->><!-- TMPL_VAR Name="name" --></option>
<!-- /TMPL_LOOP -->
</select></td></tr>
<tr><th scope="row">Enter Book Barcode</th><td><input name="barcode" size="15" /></td></tr>
</table>
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobrancd" -->" />
<!-- TMPL_LOOP Name="trsfitemloop" -->
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
<!-- /TMPL_LOOP -->
<input type="submit" value="Transfer" />
</form>
<!-- TMPL_IF Name="transferred" -->
<table>
<caption>Transfered Items</caption>
<tr><th>Bar Code</th><th>Title</th><th>Author</th><th>Type</th><th>From</th><th>To</th></tr>
<!-- TMPL_LOOP Name="trsfitemloop" -->
<tr><td>
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR Name="barcode" --></a></td>
<td><!-- TMPL_VAR Name="title" --></td>
<td><!-- TMPL_VAR Name="author" --></td>
<td><!-- TMPL_VAR Name="itemtype" --></td>
<td><!-- TMPL_VAR Name="frbrname" --></td>
<td><!-- TMPL_VAR Name="tobrname" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->

View file

@ -0,0 +1,304 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Circulation<!-- TMPL_IF Name="borrowernumber" -->: Issuing to <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR name="firstname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-circ-close.inc" -->
<h1>Circulation: Issues</h1>
<!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
<h5>Circulation Parameters</h5>
<ul>
<li>Branch: <!-- TMPL_VAR NAME="branchname" --></li>
<li>Printer: <!-- TMPL_VAR NAME="printername" --></li>
<li><a href="selectbranchprinter.pl">Change Settings</a></li>
</ul>
<!-- RESULT OF ISSUING REQUEST -->
<!-- TMPL_IF NAME="IMPOSSIBLE" -->
<h3>Error Issuing Item:</h3>
<ul>
<!-- TMPL_IF NAME="INVALID_DATE" -->
<li>The due date is invalid</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
<li>The barcode was not found</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
<li>Item not for loan</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="WTHDRAWN" -->
<li>Item is cancelled</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="GNA" -->
<li>Patron's address is in doubt</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CARD_LOST" -->
<li>Patron's card is lost</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="DEBARRED" -->
<li>Patron is debarred</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
<li>No more renewals possible</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="EXPIRED" -->
<li>Patron's card is expired</li>
<!-- /TMPL_IF -->
</ul>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
<h3>Please Confirm Issue:</h3>
<!-- TMPL_IF NAME="DEBT" -->
<p>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="RENEW_ISSUE" -->
<p>Item is currently issued to this patron. Renew?</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="RESERVE_WAITING" -->
<p>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="RESERVED" -->
<p>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
<p>Item issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="TOO_MANY" -->
<p>Too many issues (already issued / max : <!-- TMPL_VAR name="TOO_MANY" -->)</p>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="IMPOSSIBLE" -->
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<!-- TMPL_IF NAME="RESERVED" -->
<p><input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" /><label for="cancelreserve">Cancel Reserve</label></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="RESERVE_WAITING" -->
<p><input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" /><label for="cancelreserve">Cancel Reserve</label></p>
<!-- /TMPL_IF -->
<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="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="submit" value="Confirm Issue (Y)" accesskey="y" /></form><form method="get" action="/cgi-bin/koha/circ/circulation.pl"><input type="hidden" name="borrnumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /><input type="submit" value="Don't Issue (N)" accesskey="n" /></form>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="issued" -->
<p>Item issued</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="message" -->
No patron matched <!-- TMPL_VAR name="message" --> <a href="/cgi-bin/koha/members/memberentry.pl?actionType=Add">Add a new patron</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CGIselectborrower" -->
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
<label for="borrnumber">Select a borrower: </label>
<p><!-- TMPL_VAR name="CGIselectborrower" --></p>
<p><input type="submit" value="Select" /></p>
<p>Patron not found? <a href="/cgi-bin/koha/members/memberentry.pl?actionType=Add">Add a new patron</a></p>
</form>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="borrowernumber" -->
<h3><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h3>
<h4> &nbsp; &nbsp; <!-- TMPL_VAR NAME="issuecount" --> out<!-- TMPL_IF NAME="overduecount" -->, <!-- TMPL_VAR name="overduecount" --> overdue<!-- /TMPL_IF --></h4>
<ul>
<li><!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="city" --></li>
<li><!-- TMPL_VAR NAME="phone" --></li>
<!-- TMPL_IF NAME="emailaddress" --><li><a href="mailto:<!-- TMPL_VAR NAME="emailaddress" -->"><!-- TMPL_VAR NAME="emailaddress" --></a></li><!-- /TMPL_IF -->
<li>Category: <!-- TMPL_VAR name="categorycode" --></li>
<li>(<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->">details</a> / <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&amp;modify=edit&amp;destination=circ">edit</a>)</li>
</ul>
<!-- TMPL_IF NAME="flagged" -->
<ul>
<!-- TMPL_IF NAME="gna" -->
<li>Address: Patron's address in doubt</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="lost" -->
<li>Lost: Patron's card is lost</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="dbarred" -->
<li>Debarred: Patron is debarred <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post"><input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /><input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" value="circ" name="destination" /><input type="hidden" name="status" value="0" /><input type="submit" value="Lift Debarment" /></form></li>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="odues" --> <li><!-- TMPL_IF name="nonreturns" -->
Overdues: Patron has ITEMS OVERDUE See highlighted items <a href="#previous">below</a>
<!-- /TMPL_IF --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="noissues" -->
<!-- TMPL_IF NAME="charges" --><li>Fines: Patron has <a href="/cgi-bin/koha/boraccount.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->">outstanding fines</a>. Make <a href="/cgi-bin/koha/pay.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li><!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="charges" --><li>Fines: Patron has <a href="/cgi-bin/koha/boraccount.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->">outstanding fines</a>. Make <a href="/cgi-bin/koha/pay.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</ul>
<!-- TMPL_IF name="waiting" -->
<ul><li>Reserves waiting:
<ul><!-- TMPL_LOOP name="itemswaiting" -->
<li><a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR name="title" --></a> (<!-- TMPL_VAR name="barcode" --> -- <!-- TMPL_VAR name="branchname" -->)</li>
<!-- /TMPL_LOOP -->
</ul></ul></ul>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" -->
<ul><li>Notes: <!-- TMPL_VAR name="notesmsg" --></li></ul>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- No card entered yet -->
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform" id="mainform">
<label for="findborrower">Enter borrower card number or partial last name: </label>
<input name="findborrower" type="text" size="40" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
<input type="submit" value="Submit" />
</form>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- BARCODE ENTRY -->
<!-- TMPL_IF NAME="borrowernumber" -->
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
<label for="barcode">Enter Item Barcode: </label><input name="barcode" size="14" /> <input type="submit" value="Issue" /><input type="hidden" name="day" value="0" /><input type="hidden" name="month" value="0" /><input type="hidden" name="year" value="0" />
<p>
<label for="day">Specify Due Date: </label><select name="day" id="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>
<label for="stickyduedate">Remember for Session:</label><input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> />
<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>
<!-- /TMPL_IF -->
<!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
<!-- TMPL_IF NAME="borrowernumber" -->
<form action="/cgi-bin/koha/renewscript.pl" method="post"><input type="hidden" value="circ" name="destination" /><input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
<table>
<caption>Issues <span><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page">(Print Page)</a> <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip">(Print Slip)</a></caption>
<tr>
<th>Due Date</th>
<th>Title</th>
<th>Author</th>
<th>Call No</th>
<th>Barcode</th>
<th>Renew?</th>
</tr>
<!-- TMPL_IF NAME="todayissues" -->
<!-- TMPL_LOOP NAME="todayissues" -->
<!-- TMPL_IF NAME="togglecolor" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="dd" --></td>
<td><a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a><br/><!-- TMPL_VAR name="itemnotes" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="classification" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><input type="checkbox" name="renew_item_<!-- TMPL_VAR NAME="itemnumber" -->" value="y"<!-- TMPL_IF NAME="od" --> checked="checked"<!-- /TMPL_IF --> /></td>
</tr>
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="previssues" -->
<tr><th colspan="6"><a name="previous" id="previous">Previous Issues</a></th></tr>
<!-- TMPL_LOOP NAME="previssues" -->
<!-- TMPL_IF NAME="togglecolor" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
<td><!-- TMPL_IF NAME="od" --><!-- /TMPL_IF --><!-- TMPL_VAR NAME="dd" --><!-- TMPL_IF NAME="od" --><!-- /TMPL_IF --></td>
<td><a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a><br/><!-- TMPL_VAR name="itemnotes" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="classification" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><input type="checkbox" name="renew_item_<!-- TMPL_VAR NAME="itemnumber" -->" value="y"<!-- TMPL_IF NAME="od" --> checked="checked"<!-- /TMPL_IF --> /></td></tr>
<!-- /TMPL_LOOP -->
</table>
<p><input type="submit" value="Renew Checked Items" /></p>
</form>
<!-- TMPL_IF name="previssues" --><form action="/cgi-bin/koha/renewscript.pl" method="post"><input type="hidden" value="circ" name="destination" /><input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /><!-- TMPL_LOOP NAME="previssues" --><input type="hidden" name="renew_item_<!-- TMPL_VAR NAME="itemnumber" -->" value="y" /><!-- /TMPL_LOOP --><input type="submit" value="Renew All" /></form><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

View file

@ -0,0 +1,154 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Circulation: Returns<!-- TMPL_IF Name="returned" -->: <!-- TMPL_VAR Name="itemtitle" --><!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-circ-close.inc" -->
<!-- TMPL_IF Name="found" -->
<h3>Reserve Found<!-- TMPL_IF Name="waiting" --> (item is already consigned) <!-- /TMPL_IF --></h3>
<!-- TMPL_IF Name="waiting" -->
<table>
<caption><a href="/cgi-bin/koha/detail.pl?type=intra&bib=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="itemtitle" --></a></caption>
<tr><th>Patron: </th><td>
<ul>
<li><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a></li>
<li><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --> </li>
<li><!-- TMPL_VAR Name="borstraddress" --><br />
<!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
<li><!-- TMPL_VAR Name="borphone" --></li>
</ul></td></tr>
<tr><th>Transfer to:</th><td><!-- TMPL_VAR Name="branchname" --></td></tr>
</table><form method="post" action="returns.pl" name="mainform" id="mainform">
<input type="submit" value="Confirm" /><!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="barcode" value="0" />
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="diffbranch" -->
<h3>Item Consigned:</h3>
<table>
<caption><a href="/cgi-bin/koha/detail.pl?type=intra&bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR Name="itemtitle" --></a></caption>
<tr><th>Patron:</th><td><!-- TMPL_VAR Name="name" --></td></tr>
</table><form method="post" action="returns.pl" name="mainform" id="mainform"><input type="submit" value="OK" />
<!-- TMPL_LOOP Name="inputloop" -->
<!-- TMPL_UNLESS Name="first" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- /TMPL_UNLESS -->
<!-- /TMPL_LOOP -->
<input type="hidden" name="barcode" value="0" />
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="reserved" -->
<table>
<caption><a href="/cgi-bin/koha/detail.pl?type=intra&bib=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="itemtitle" --></a></caption>
<tr><th>Patron: </th><td>
<ul>
<li><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a></li>
<li><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --> </li>
<li><!-- TMPL_VAR Name="borstraddress" --><br />
<!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
<li><!-- TMPL_VAR Name="borphone" --></li>
</ul></td></tr>
<tr><th>Transfer to: </th><td><!-- TMPL_VAR Name="branchname" --></td></tr></table>
<form method="post" action="returns.pl" name="mainform" id="mainform">
<input type="submit" value="Confirm" />
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="bornum" -->" />
<input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" /></form>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<h1>Circulation: Returns</h1>
<form method="post" action="/cgi-bin/koha/circ/returns.pl" name="mainform" id="mainform">
<label for="barcode">Enter Item Barcode</label>
<input name="barcode" id="barcode" size="14" maxlength="14" />
<input type="submit" value="Submit" />
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- /TMPL_LOOP -->
</form><!-- TMPL_IF NAME="errmsgloop" --><!-- TMPL_LOOP Name="errmsgloop" -->
<!-- TMPL_IF Name="badbarcode" -->
No Item with barcode: <!-- TMPL_VAR Name="msg" -->
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="ispermanent" -->
Please return to <!-- TMPL_VAR Name="msg" -->
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="notissued" -->
Not On Issue.
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="waslost" -->
Item was lost, now found.
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="withdrawn" -->
Item Cancelled
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP --><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="returned" -->
<table>
<tr><th>Item Information</th><th>Patron Information</th></tr>
<tr><td><!-- TMPL_VAR Name="itemtitle" -->
</td><td>
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR Name="ribornum" -->"><!-- TMPL_VAR Name="riborcnum" --></a>
<!-- TMPL_VAR Name="riborsurname" -->, <!-- TMPL_VAR Name="ribortitle" --> <!-- TMPL_VAR Name="riborfirstname" -->
<!-- TMPL_IF Name="flagset" -->
(<!-- TMPL_LOOP Name="flagloop" -->
<!-- TMPL_VAR Name="flag" -->,
<!-- /TMPL_LOOP -->)<!-- /TMPL_IF -->
</td></tr></table>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="riloop" -->
<table>
<caption>Returned Items</caption>
<tr><th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Type</th><th>Patron</th></tr>
<!-- TMPL_LOOP Name="riloop" -->
<tr><td><!-- TMPL_IF Name="duedate" --><!-- TMPL_IF Name="early" --><!-- /TMPL_IF --><!-- TMPL_VAR Name="month" -->/<!-- TMPL_VAR Name="day" -->/<!-- TMPL_VAR Name="year" --><!-- TMPL_IF Name="early" --></span><!-- /TMPL_IF --><!-- TMPL_ELSE -->Not on Issue.<!-- /TMPL_IF --></td>
<td>
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name="itembiblionumber" -->&type=intra"><!-- TMPL_VAR Name="barcode" --></a></td>
<td><!-- TMPL_VAR Name="itemtitle" --></td>
<td><!-- TMPL_VAR Name="itemauthor" --></td>
<td><!-- TMPL_VAR Name="itemtype" --></td>
<td>
<!-- TMPL_IF Name="duedate" -->Yes, duedate
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR Name="bornum" -->">
<!-- TMPL_VAR Name="borcnum" -->
</a><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
<!-- TMPL_ELSE -->
Not on issue.
<!-- /TMPL_IF -->
</td></tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->

View file

@ -0,0 +1,32 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Circulation: Select Your Home Branch<!-- TMPL_INCLUDE NAME="doc-head-circ-close.inc" -->
<h1>Circulation: Select Your Home Branch</h1>
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<!-- TMPL_VAR NAME="branch" -->
<label for="branch">Choose your Branch:</label>
<!--branchselection-->
<select name="branch" id="branch">
<!-- TMPL_LOOP Name="branchloop" -->
<option value="<!-- TMPL_VAR Name="value" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR Name="name" --></option>
<!-- /TMPL_LOOP -->
</select>
<label for="printer">Choose a Network Printer:</label>
<!--printerselection-->
<select name="printer" id="printer">
<!-- TMPL_LOOP Name="printerloop" -->
<option value="<!-- TMPL_VAR Name="value" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR Name="name" -->
<!-- /TMPL_LOOP -->
</select>
<input type="hidden" name="setcookies" value="1" />
<input type="submit" value="Submit" name="changesettings" />
</form>
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->