[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/katipo/en/bull bul... [dev_week]
From: |
Robert Lyon |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/katipo/en/bull bul... [dev_week] |
Date: |
Tue, 25 Jul 2006 21:14:21 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Robert Lyon <bob_lyon> 06/07/25 21:14:21
Added files:
koha-tmpl/intranet-tmpl/katipo/en/bull: bull-home.tmpl
claims.tmpl
lateissues.tmpl
member-search.tmpl
order.tmpl result.tmpl
routing-preview-slip.tmpl
routing-preview.tmpl
routing.tmpl
search-supply.tmpl
search.tmpl
serial-issues.tmpl
statecollection.tmpl
subscription-add.tmpl
subscription-bib-search.tmpl
subscription-detail.tmpl
subscription-renew.tmpl
Log message:
Corporate serials templates for katipo template set
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/bull-home.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/claims.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/lateissues.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/member-search.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/order.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/result.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/routing-preview-slip.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/routing-preview.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/routing.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/search-supply.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/search.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/serial-issues.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/statecollection.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/subscription-add.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/subscription-bib-search.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/subscription-detail.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/katipo/en/bull/subscription-renew.tmpl?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
Patches:
Index: bull-home.tmpl
===================================================================
RCS file: bull-home.tmpl
diff -N bull-home.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ bull-home.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,89 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="mainbloc">
+ <h1 class="bull">Serials Management</h1>
+<!-- TMPL_IF NAME="routing" -->
+ <h3 class="bull">Search for Serial Routing List</h3>
+<!-- /TMPL_IF -->
+ <p>
+ <form action="bull-home.pl" method="post">
+ <input type="hidden" name="routing" value="<!-- TMPL_VAR
+NAME="routing" -->" />
+ <input type="hidden" name="searched" value="1" />
+
+ Title: <input type="text" size=20 maxlength=40 name="title" value="<!--
TMPL_VAR name="title" -->"> or ISSN: <input type="text" size=11 maxlength=11
name="ISSN" value="<!-- TMPL_VAR name="ISSN" -->">
+ <input type="submit" value="Search" class="button">
+ </p>
+
+ <!-- TMPL_IF name="subscriptions" -->
+ <table cellpadding="0" cellspacing="0" border="0" class="collapse">
+ <tr>
+ <th class="cell-header">Title</th>
+ <th class="cell-header">ISSN</th>
+ <th class="cell-header"
+ <!-- TMPL_IF NAME="routing" -->
+
+ <!-- TMPL_ELSE -->
+ colspan="2"
+ <!-- /TMPL_IF -->
+ > </th>
+ </tr>
+ <!-- TMPL_LOOP name="subscriptions" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="title" --> <!--
TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="ISSN" -->
+ </td>
+ <!-- TMPL_IF NAME="routing" -->
+ <td class="cell">
+ <a
+href="bull/routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid"
+--><!-- TMPL_UNLESS NAME="routingedit" -->&op=new<!-- /TMPL_UNLESS
-->">Routing List</a>
+ </td>
+ <!-- TMPL_ELSE -->
+ <td class="cell">
+ <a
href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR
name="subscriptionid" -->">Detail</a>
+ </td>
+ <td class="cell">
+ <a
href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR
name="subscriptionid" -->">Receive</a>
+ </td>
+ <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <!-- TMPL_IF NAME="done_searched" -->
+ <p><b>Item not in subscriptions yet - please click 'Add
a Subscription'</b></p>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+
+<br />
+<!-- TMPL_IF NAME="routing" -->
+<!-- TMPL_ELSE -->
+<p>Search for serials subscriptions first before adding a new one.</p>
+<p>
+ <a href="/cgi-bin/koha/bull/subscription-add.pl" class="button
bull">Add subscription</a>
+</p>
+<h4 class="bull">
+ Notes:
+</h4>
+<ul>
+ <li>
+ The serials subscriptions module allows you to manage
subscription arrivals and scheduling.
+ </li>
+ <li>
+ <b>Before</b> each item can be issued, it must be entered into
Koha through the Acquisitions process.
+ </li>
+</ul>
+<!-- /TMPL_IF -->
+</div>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: claims.tmpl
===================================================================
RCS file: claims.tmpl
diff -N claims.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ claims.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,166 @@
+<!-- TMPL_UNLESS NAME="preview" -->
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+<div id="mainbloc">
+<!-- TMPL_ELSE -->
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div class="popup-block">
+<!-- /TMPL_UNLESS -->
+
+<!-- TMPL_UNLESS NAME="preview" -->
+ <h1 class="bull">Claims</h1>
+
+ <p>
+ <form action="claims.pl" method="post">
+ <input type="hidden" name="claimletter" value="<!-- TMPL_VAR
NAME="claimletter"-->">
+ <!-- TMPL_VAR name="CGIsupplier" -->
+ <input type="submit" value="Filter by Supplier" class="button bull">
+ </form>
+ </p>
+<!--
+ <p>
+ <form action="claims.pl" method="post">
+ <input type="hidden" name="supplierid" value="<!-- TMPL_VAR
NAME="supplierid"-->">
+ <!-- TMPL_VAR name="CGIletter" -->
+ <input type="submit" value="Choose Claim Form" class="button bull">
+ </form>
+ </p> -->
+
+<form method="post" action="lateissues-excel.pl">
+<input type="hidden" name="op" value="claims" />
+
+ <!-- TMPL_IF NAME="missingissues" -->
+ <h3 class="bull">Missing Issues</h3>
+ <table cellpadding="0" cellspacing="0" border="0"
class="collapse">
+ <tr>
+ <th class="cell-header"> </th>
+ <th class="cell-header">Supplier</th>
+ <th class="cell-header">Title</th>
+ <th class="cell-header">Issue number</th>
+ <th class="cell-header">Missing since</th>
+ <th class="cell-header">Began Claim</th>
+ <th class="cell-header"> </th>
+ </tr>
+ <!-- TMPL_LOOP name="missingissues" -->
+ <tr>
+ <td class="cell">
+ <input type="checkbox" name="serialid"
value="<!-- TMPL_VAR NAME="serialid"-->">
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="claimdate" -->
+ </td>
+ <td class="cell">
+ <a
href="lateissues-excel.pl?supplierid=<!--TMPL_VAR
NAME="supplierid"-->&serialid=<!-- TMPL_VAR name="serialid"
-->&op=claims" class="button bull">Export Item Data</a>
+ <!--
+ <a href="claims.pl?serialid=<!--
TMPL_VAR name="serialid" -->&supplierid=<!-- TMPL_VAR name="supplierid"
-->&op=preview" onclick="popup(<!-- TMPL_VAR name="supplierid" -->,<!--
TMPL_VAR name="serialid" -->); return false">Claim Letter</a> -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <p>There are no missing issues to claim</p>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF Name="singlesupplier"-->
+<input type="hidden" name="supplierid" value="<!--TMPL_VAR
NAME="supplierid"-->" />
+
+ <!--
+ <a href="claims.pl?supplierid=<!-- TMPL_VAR name="supplierid"
-->&op=preview" onclick="popup(<!-- TMPL_VAR name="supplierid" -->,'');
return false" class="bull button">Supplier Group Claim Letter</a></p> -->
+ <!-- /TMPL_IF -->
+<p><br/>
+ <input type="submit" name="submit" class="button bull"
value="Export Selected Data" />
+
+</form>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF Name="supplierloop"-->
+ <!-- TMPL_LOOP Name="supplierloop"-->
+ <!-- TMPL_IF NAME="name" -->
+ <p><b><!-- TMPL_VAR NAME="name" --></b><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="postal" -->
+ <!-- TMPL_VAR NAME="postal" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contphone" -->
+ Ph: <!-- TMPL_VAR NAME="contphone" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contfax" -->
+ Fax: <!-- TMPL_VAR NAME="contfax" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contemail" -->
+ Email: <!-- TMPL_VAR NAME="contemail" --><br />
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="accountnumber" -->
+ A/C: <!-- TMPL_VAR NAME="accountnumber"></p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="contact" -->
+ <p>Dear <!-- TMPL_VAR NAME="contact" --></p>
+ <!-- TMPL_ELSE -->
+ <p>To whom it may concern</p>
+ <!-- /TMPL_IF -->
+ <p>The following items have not been received from you and are
now considered missing:</p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="missingissues" -->
+ <h3 class="bull">Missing Issues</h3>
+ <table cellpadding="0" cellspacing="4" border="0" width="550"
class="collapse">
+ <tr>
+ <td class="cell"><b>Supplier<b></td>
+ <td class="cell"><b>Title</b></td>
+ <td class="cell"><b>Issue number</b></td>
+ <td class="cell"><b>Missing since</b></td>
+ </tr>
+ <!-- TMPL_LOOP name="missingissues" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- /TMPL_IF -->
+<br />
+<p class="noprint"><a href="javascript:window.print()"
class="button">Print</a> <a href="javascript:window.close()"
class="button">Close</a></p>
+<!-- /TMPL_UNLESS -->
+
+</div>
+<script type="text/javascript">
+<!--
+
+function popup(supplierid,serialid){
+ window.open('claims.pl?supplierid='+ supplierid +'&serialid='+
serialid +'&op=preview' ,'popup',
'width=600,height=400,toolbar=no,scrollbars=yes');
+}
+//-->
+</script>
+<!-- TMPL_UNLESS NAME="preview" -->
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
+<!-- TMPL_ELSE -->
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
+<!-- /TMPL_UNLESS -->
+
+
Index: lateissues.tmpl
===================================================================
RCS file: lateissues.tmpl
diff -N lateissues.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lateissues.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,88 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+<div id="mainbloc">
+ <h1 class="bull">Late Issues</h1>
+
+ <form action="lateissues.pl" method="post">
+ <table>
+ <tr>
+ <td><!-- TMPL_VAR name="CGIsupplier" --></td>
+ <td><input type="submit" value="Filter by Supplier"
class="button bull"></td>
+ <td><a
href="lateissues-excel.pl?supplierid=<!--TMPL_VAR NAME="supplierid"-->"
class="button bull">Export Data</a></td>
+ </tr>
+ </table>
+ </form>
+
+ <!-- TMPL_IF NAME="lateissues" -->
+ <table cellpadding="0" cellspacing="0" border="0" class="collapse">
+ <tr>
+ <th class="cell-header">Supplier</th>
+ <th class="cell-header">Title</th>
+ <th class="cell-header">Issue number</th>
+ <th class="cell-header">Late since</th>
+ <th class="cell-header"> </th>
+ </tr>
+ <!-- TMPL_LOOP name="lateissues" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ <td class="cell">
+ <!-- <a
href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid"
-->">Detail</a> -->
+ <a
href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid"
-->">Recieve</a>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <p>There are currently no outstanding issues.</p>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF NAME="missingissues" -->
+ <h1 class="bull">Missing Issues</h1>
+ <table cellpadding="0" cellspacing="0" border="0" class="collapse">
+ <tr>
+ <th class="cell-header">Supplier</th>
+ <th class="cell-header">Title</th>
+ <th class="cell-header">Issue number</th>
+ <th class="cell-header">Missing since</th>
+ <th class="cell-header"> </th>
+ </tr>
+ <!-- TMPL_LOOP name="missingissues" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="name" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="Title" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ <td class="cell">
+ <a
href="statecollection.pl?op=found&planneddate=<!-- TMPL_VAR
name="planneddate" -->&missingissue=<!-- TMPL_VAR name="serialseq"
-->&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Recieve</a>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- /TMPL_IF -->
+
+</div>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: member-search.tmpl
===================================================================
RCS file: member-search.tmpl
diff -N member-search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ member-search.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,44 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<script type="text/javascript">
+<!--
+
+function add_member(subscriptionid,bornum){
+ var myurl =
"routing.pl?subscriptionid="+subscriptionid+"&bornum="+bornum+"&op=add";
+ window.opener.location.href = myurl;
+}
+
+//-->
+</script>
+
+<div class="popup-block">
+<h1 class="bull">Member Search</h1>
+
+<p>
+<form name="search" action="/cgi-bin/koha/bull/member-search.pl" method="post">
+<input type="text" name="member" size="30" />
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->">
+<input type="submit" class="button" value="Search" />
+</form>
+</p>
+<!-- TMPL_IF NAME="memberloop" -->
+<table cellspacing="0" cellpadding="0" border="0" width="480" class="collapse">
+<tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td>
+ <td class="cell-header">Add</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+<tr><td class="cell"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR
NAME="surname" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="streetaddress" --></td>
+ <td class="cell"><a onclick="add_member(<!-- TMPL_VAR
NAME="subscriptionid" -->,<!-- TMPL_VAR NAME="borrowernumber" -->); return
false" href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber"
-->&op=add">Add</a></td></tr>
+<!-- /TMPL_LOOP -->
+ </table></td></tr>
+</table>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF NAME="member" -->
+ <p>No results found</p>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+<br />
+<p><a href="javascript:self.close()" class="button">Close</a></p>
+</div>
+
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
\ No newline at end of file
Index: order.tmpl
===================================================================
RCS file: order.tmpl
diff -N order.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ order.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,35 @@
+<!-- TMPL_INCLUDE name="popup-top.inc" -->
+<div id="mainbloc">
+ <h1>Supplier Search Results</h1>
+ <div id="bloc100">
+ <h2>You searched on <b>supplier <!-- TMPL_VAR name="supplier"
-->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
+ <!-- TMPL_IF NAME="loop_suppliers" -->
+ <table>
+ <tr>
+ <th>Book seller</th>
+ <th>Select</th>
+ </tr>
+ <!-- TMPL_LOOP name="loop_suppliers" -->
+ <tr>
+ <td><!-- TMPL_VAR name="name" --></td>
+ <td><a href="#"
onclick="javascript:GetIt(<!-- TMPL_VAR name="aqbooksellerid" -->,'<!--
TMPL_VAR name="name" -->')">Get It !</td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- TMPL_ELSE -->
+ <p><a href="acqui-search.pl">Search again?</a> | <a
href="javascript:self.close()">Close</a></p>
+ <!-- /TMPL_IF -->
+
+ </div>
+</div>
+
+<script language="Javascript">
+
+function GetIt(aqbooksellerid,name)
+{
+ opener.document.f.aqbooksellerid.value = aqbooksellerid;
+ opener.document.f.aqbooksellername.value = name;
+ self.close();
+}
+</script>
+<!-- TMPL_INCLUDE name="popup-bottom.inc" -->
Index: result.tmpl
===================================================================
RCS file: result.tmpl
diff -N result.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ result.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,102 @@
+ <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div id="popup-block">
+ <h1 class="catalogue">Search results</h1>
+ <div>
+ <p>
+ <!-- TMPL_IF NAME=displayprev -->
+ <a
href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev"
-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search>
+ <img src="<!-- TMPL_VAR
name="themelang"-->/images/prev.gif" border=0>
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME=numbers -->
+ <!-- TMPL_IF NAME=highlight -->
+ <span class="resulthighlight"><!--
TMPL_VAR NAME=number --></span>
+ <!-- TMPL_ELSE -->
+ <a class="resultnumber"
href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom
-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><!--
TMPL_VAR NAME=number --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME=displaynext -->
+ <a
+href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext"
+-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
+TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
+-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
+-->&type=intranet&op=do_search><img src="<!-- TMPL_VAR
+name="themelang"-->/images/next.gif" border=0></a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p>
+ <!-- TMPL_IF name=total -->
+ <b>Results <!-- TMPL_VAR name="from" --> to <!--
TMPL_VAR name="to" --> of <!-- TMPL_VAR name="total" --></b><br><br>
+ <!-- TMPL_ELSE -->
+ No results found.<br>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+
+ <table width="460">
+ <tr>
+ <th class="catalogue" colspan="2">Summary</th>
+ </tr>
+ <!-- TMPL_LOOP name="result" -->
+ <!-- TMPL_IF name="even" -->
+ <tr class="hilighted">
+ <!-- TMPL_ELSE -->
+ <tr class="hilighted2">
+ <!-- /TMPL_IF -->
+ <td class="cell">
+ <input type="checkbox" name="<!--
TMPL_VAR NAME="biblionumber" -->" value="<!-- TMPL_VAR name="title"
escape="URL" -->" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!--
TMPL_VAR name="title" escape="URL" -->','<!-- TMPL_VAR NAME="dewey" -->') ">
+ </td>
+
+ <td class="cell">
+ <p><b><!-- TMPL_VAR NAME="title"
--></b></p>
+ <p><!-- TMPL_VAR NAME="author" -->
+ <!-- TMPL_IF name="publishercode" -->-
<!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="place" --> ; <!--
TMPL_VAR name="place" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="pages" --> - <!--
TMPL_VAR name="pages" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --> : <!--
TMPL_VAR name="notes" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="size" --> ; <!--
TMPL_VAR name="size" --><!-- /TMPL_IF -->
+ </p>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+
+ <div>
+ <p>
+ <!-- TMPL_IF NAME=displayprev -->
+ <a
href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev"
-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search>
+ <img src="<!-- TMPL_VAR
name="themelang"-->/images/prev.gif" border=0>
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME=numbers -->
+ <!-- TMPL_IF NAME=highlight -->
+ <span class="resulthighlight"><!--
TMPL_VAR NAME=number --></span>
+ <!-- TMPL_ELSE -->
+ <a class="resultnumber"
href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom
-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!--
TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><!--
TMPL_VAR NAME=number --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME=displaynext -->
+ <a
+href=subscription-bib-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext"
+-->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!--
+TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP
+-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
+-->&type=intranet&op=do_search><img src="<!-- TMPL_VAR
+name="themelang"-->/images/next.gif" border=0></a>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+</div>
+
+
+<script language="Javascript" type="text/javascript">
+
+function GetIt(bibno,title,callnumber)
+{
+ opener.document.f.biblionumber.value = bibno;
+ opener.document.f.title.value = title;
+ opener.document.f.callnumber.value = callnumber;
+ self.close();
+}
+</script>
Index: routing-preview-slip.tmpl
===================================================================
RCS file: routing-preview-slip.tmpl
diff -N routing-preview-slip.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing-preview-slip.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,23 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+
+<div id="slip-block">
+<table cellspacing="0" cellpadding="0" border="0" class="collapse routingslip">
+<tr><td class="cell" colspan="3"><h3>Opus International Consultants -
Information Centre</h3></td></tr>
+<tr><td class="cell" colspan="3"><b>Title:</b> <!-- TMPL_VAR NAME="title"
--><br />
+<!-- TMPL_VAR NAME="issue" --></td></tr>
+<tr><td class="cell"><b>Name/Location</b></td>
+ <td class="cell"><b>Date Due</b></td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="name"><b><!-- TMPL_VAR NAME="name" --></b> <!--
TMPL_VAR NAME="location" --></td>
+ <td class="date"> </td></tr>
+<!-- /TMPL_LOOP -->
+</table>
+<p><b>Notes:</b> Please return this journal
+promptly as others are waiting.
+<br /><!-- TMPL_VAR NAME="routingnotes" --></p>
+ <div id="slip-block-links">
+ <a class="button" href="javascript:window.print();self.close()">Print</a>
<a class="button" href="javascript:self.close()">Close</a>
+ </div>
+</div>
+
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
Index: routing-preview.tmpl
===================================================================
RCS file: routing-preview.tmpl
diff -N routing-preview.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing-preview.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,48 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+
+<div id="mainbloc">
+<h1 class="bull">Preview Routing List</h1>
+
+<form method="post" action="routing-preview.pl">
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->" />
+<p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
+<p><b>Issue:</b> <!-- TMPL_VAR NAME="issue" --></p>
+
+<table border="0" cellspacing="0" cellpadding="0">
+<tr valign="top"><td style="padding-top: 5px;"><b>List Member:</b> </td>
+ <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="location" --></td></tr>
+<!-- /TMPL_LOOP -->
+ </table></td></tr>
+<tr valign="top"><td colspan="2"> </td></tr>
+<tr valign="top"><td><b>Notes:</b></td>
+ <td><!-- TMPL_VAR NAME="routingnotes" --></td></tr>
+</table>
+<p>
+<input type="submit" name="ok" class="button" value="OK, Preview Routing Slip"
onclick="print_slip(<!-- TMPL_VAR NAME="subscriptionid" -->,'<!-- TMPL_VAR
NAME="issue" -->'); return false" />
+<input type="submit" name="edit" class="button" value="Edit" />
+<input type="submit" name="delete" class="button" value="Delete" /></p>
+</form>
+</div>
+
+<script type="text/javascript">
+<!--
+
+function print_slip(subscriptionid,issue){
+ var myurl =
'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue;
+window.open(myurl,'PrintSlip','width=400,height=500,toolbar=no,scrollbars=yes');
+ window.location.href='../bull-home.pl';
+}
+//-->
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: routing.tmpl
===================================================================
RCS file: routing.tmpl
diff -N routing.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ routing.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,79 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+
+<script language="javascript" type="text/javascript">
+<!--
+
+function reorder_item(sid,rid,rank){
+ var mylocation =
'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank;
+ window.location.href=mylocation;
+}
+//-->
+</script>
+
+<div id="mainbloc">
+<!-- TMPL_IF NAME="op" -->
+<h1 class="bull">Create Routing List</h1>
+<!-- TMPL_ELSE -->
+<h1 class="bull">Edit Routing List</h1>
+<!-- /TMPL_IF -->
+
+<form method="post" action="routing.pl">
+<input type="hidden" name="op" value="save" />
+<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
NAME="subscriptionid" -->" />
+<p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
+<p><b>Issue:</b>
+
+<select name="date_selected">
+<!-- TMPL_LOOP NAME="dates" -->
+<option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR
NAME="planneddate" -->)" <!-- TMPL_IF NAME="selected" --> selected="SELECTED"
<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR
NAME="planneddate" -->)</option>
+<!-- /TMPL_LOOP -->
+</select>
+
+
+<!-- TMPL_VAR NAME="issue" --></p>
+
+<!-- TMPL_IF NAME="memberloop" -->
+<table border="0" cellspacing="0" cellpadding="0">
+<tr valign="top"><td style="padding-top:5px;"><b>List Member:</b> </td>
+ <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr><td class="cell-header">Name</td>
+ <td class="cell-header">Location</td>
+ <td class="cell-header">Rank</td>
+ <td class="cell-header">Delete</td></tr>
+<!-- TMPL_LOOP NAME="memberloop" -->
+ <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="location" --></td>
+ <td class="cell"><!-- TMPL_VAR NAME="routingbox" --></td>
+ <td class="cell"><a
href="/cgi-bin/koha/bull/routing.pl?routingid=<!-- TMPL_VAR NAME="routingid"
-->&subscriptionid=<!-- TMPL_VAR NAME="subscriptionid"
-->&op=delete">Delete</a></td></tr>
+<!-- /TMPL_LOOP -->
+ <tr><td colspan="4"><br /><a onclick="search_member(<!-- TMPL_VAR
NAME="subscriptionid" -->); return false"
href="/cgi-bin/koha/bull/member-search.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->" class="button bull">Add List Member</a> <a
href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->&op=delete" class="button bull">Delete
All</a></td></tr>
+ </table></td></tr>
+
+<!-- TMPL_ELSE -->
+<table border="0" cellspacing="0" cellpadding="0">
+<tr><td><b>List Member: </b></td>
+ <td><p><a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid" -->);
return false" href="/cgi-bin/koha/bull/member-search.pl?subscriptionid=<!--
TMPL_VAR NAME="subscriptionid" -->" class="button bull">Add List
Member</a></p></td></tr>
+<!-- /TMPL_IF -->
+<tr><td valign="top" colspan="2"> </td></tr>
+<tr><td valign="top"><b>Notes:</b></td>
+ <td><textarea name="notes" rows="3" cols="50"><!-- TMPL_VAR
NAME="routingnotes" --></textarea></td></tr>
+<tr><td></td>
+ <td><input type="submit" name="submit" class="button" value="Save"
/></td></tr>
+</table>
+</form>
+</div>
+<script type="text/javascript">
+<!--
+
+function search_member(subscriptionid){
+ var myurl = 'member-search.pl?subscriptionid='+subscriptionid;
window.open(myurl,'FindAMember','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+//-->
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: search-supply.tmpl
===================================================================
RCS file: search-supply.tmpl
diff -N search-supply.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ search-supply.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,11 @@
+<!-- TMPL_INCLUDE name="popup-top.inc" -->
+
+<div id="mainbloc">
+<h1 class="bull">Search supplier for serial subscription</h1>
+<div id="bloc25">
+ <form action="/cgi-bin/koha/bull/order.pl" method=post>
+ Supplier name : <input type="text" size="25" name="supplier">
+ <input type="submit" class="button bull" value="OK">
+ </form>
+</div>
+<!-- TMPL_INCLUDE name="popup-bottom.inc" -->
\ No newline at end of file
Index: search.tmpl
===================================================================
RCS file: search.tmpl
diff -N search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ search.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,93 @@
+ <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div class="popup-block">
+
+<h1 class="catalogue">Catalogue Biblio Search</h1>
+
+<form name="f" method="post">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="intranet">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR
NAME="nbstatements" -->">
+
+ <h2 class="catalogue">Search on</h2>
+ <table cellpadding="0" cellspacing="5" border="0">
+ <tr><td>
+ <label class="label20">Title</label>
+ </td>
+ <td>
+ <input type="hidden" name="marclist" value="biblio.title">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <input type="hidden" name="operator" value="contains">
+ <input type="text" name="value" onchange="sql_update()"
class="form-box-small">
+ </td></tr>
+ <tr><td>
+ <label class="label20">ISSN</label>
+ </td>
+ <td>
+ <input type="hidden" name="marclist" value="biblioitems.issn">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <input type="hidden" name="operator" value="=">
+ <input type="text" name="value" id="issn"
onchange="sql_update()" class="form-box-small">
+ </td></tr>
+ <tr><td>
+ Results per page:
+ </td>
+ <td>
+ <select align="right" name="resultsperpage" size="1">
+ <option value="20">20</option>
+ <option value="50">50</option>
+ <option value="100">100</option>
+ </select>
+ Ordered by
+ <select name="orderby" size="1">
+ <option value="biblio.title">Title</option>
+ <option value="biblio.author">Author</option>
+ <option value="biblioitems.dewey">Dewey</option>
+ <option value="biblioitems.publicationyear">Publication
Year</option>
+ <option
value="biblioitems.publishercode">Publisher</option>
+ </select>
+ </td></tr>
+ <tr><td>
+
+ </td>
+ <td>
+ <input type="submit" value="Start search" class="button
catalogue">
+ <!-- <a href="javascript:PopupSuggestion()" class="button
catalogue">Suggestions</a> -->
+ </td></tr>
+ </table>
+</form>
+
+<script>
+function sql_update() {
+document.f.sql.value="";
+ for (i=0 ; i<document.f.marclist.length ; i++) {
+ if (document.f.value[i].value.length>0) {
+ document.f.sql.value = document.f.sql.value+
+
document.f.and_or[i].value + ' (' +
+
document.f.excluding[i].value + ' ' +
+
document.f.marclist[i].value + ' ' +
+
document.f.operator[i].value + ' ' +
+
'\''+document.f.value[i].value + '\') ';
+ }
+ }
+}
+
+function AddStatement() {
+
+ document.forms[0].op.value="AddStatement";
+ document.f.submit();
+}
+
+function PopupSuggestion() {
+ var strQuery="";
+ for (i=0 ; i<document.f.marclist.length ; i++) {
+ if (document.f.value[i].value.length>0) {
+ strQuery += " "+document.f.value[i].value;
+ }
+ }
+
newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');
+}
+
+</script>
+</div>
Index: serial-issues.tmpl
===================================================================
RCS file: serial-issues.tmpl
diff -N serial-issues.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ serial-issues.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,93 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="mainbloc">
+<h1 class="catalogue">Issues for a subscription</h1>
+<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber"
-->" class="button catalogue">Biblio</a>
+<form method="post" name="f">
+<div id="bloc25">
+ <h2 class="catalogue">Subscription information</h2>
+ <p>For <b><!-- TMPL_VAR name="bibliotitle" --></b> that began
on <b><!-- TMPL_VAR name="startdate" --></b> and is issued every
+ <b>
+ <!--TMPL_IF name="periodicity1" -->
+ day
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity2" -->
+ week
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity3" -->
+ 2 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity4" -->
+ 3 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity5" -->
+ month
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity6" -->
+ 2 monthes
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity7" -->
+ 3 Monthes
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity8" -->
+ quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity9" -->
+ 2 quarters
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity10" -->
+ year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity11" -->
+ 2 years
+ <!-- /TMPL_IF -->
+ </b>
+ on
+ <b>
+ <!--TMPL_IF name="arrival1" -->
+ Monday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival2" -->
+ Tuesday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival3" -->
+ Wednesday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival4" -->
+ Thursday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival5" -->
+ Friday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival6" -->
+ Saturday
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="arrival7" -->
+ Sunday
+ <!-- /TMPL_IF -->
+ </b>
+ </p>
+ <p>(subscription for
+ <!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR
name="numberlength" --> issues<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR
name="weeklength" --> weeks<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR
name="monthlength" --> months<!-- /TMPL_IF -->
+ )
+ </p>
+ <p><!-- TMPL_VAR name="notes" --></p>
+</div>
+<div id="bloc25">
+ <h2 class="catalogue">Issues summary</h2>
+ <p>
+ <!-- TMPL_VAR name="librariannote" -->
+ </p>
+</div>
+
+</div>
+
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: statecollection.tmpl
===================================================================
RCS file: statecollection.tmpl
diff -N statecollection.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ statecollection.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,295 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="mainbloc">
+<h1>Check In</h1>
+<h3 class="bull">Subscription for: <!-- TMPL_VAR name="bibliotitle" --></h3>
+<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR
name="subscriptionid" -->" class="button bull" title="detail of the
subscription">Subscription Details</a>
+<!-- <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR
name="biblionumber" -->" class="button bull" title="all subscriptions on <!--
TMPL_VAR name="bibliotitle" -->">Search All Subscriptions</a> -->
+<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"
class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show
Biblio</a>
+<!-- TMPL_IF NAME="routing" -->
+<a href="routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->"
class="button bull" title="subscription routing list">Routing list</a>
+<!-- /TMPL_IF -->
+
+<div id="bloc25">
+<h2 class="bull">waited or late numbers</h2>
+ <form method="post" name="f" action="statecollection.pl"
onsubmit="return barcode_check()">
+ <input type="hidden" name="op" value="serialchangestatus">
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR
name="serial" -->">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
name="subscriptionid" -->">
+ <input type="hidden" name="user" value="<!-- TMPL_VAR
name="user" -->">
+ <table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr>
+ <td class="cell-header">
+ Numbered
+ </td>
+ <td class="cell-header">
+ planned for
+ </td>
+ <td class="cell-header">
+ Status
+ </td>
+ <td class="cell-header">
+ Notes
+ </td>
+ </tr>
+ <!-- TMPL_LOOP name="serialslist" -->
+ <tr>
+ <td class="cell">
+ Issue <input type="text" name="serialseq"
value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ Callnumber <input type="text"
name="itemcallnumber" value="<!--TMPL_VAR NAME="callnumber"-->" size=15
maxlength=100>
+ Barcode <input type="text" name="barcode"
value="<!-- TMPL_VAR NAME="barcode"-->" id="barcode<!-- TMPL_VAR NAME="num"
-->" size=20 maxlength=20>
+ <!--/TMPL_IF -->
+ </td>
+ <td class="cell">
+ <input type="text" name="planneddate"
value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <select name="branch" size="1">
+ <option value="">Branch</option>
+ <!-- TMPL_LOOP name="branchloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->"
<!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR
name="branchname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF -->
+ </td>
+ <td class="cell">
+ <input type="hidden" name="serialid"
value="<!-- TMPL_VAR name="serialid" -->">
+ <select name="status" size="1" id="status<!--
TMPL_VAR NAME="num" -->">
+ <!--TMPL_IF name="status1" -->
+ <option value="1"
selected>Waited</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status2" -->
+ <option value="2"
selected>Arrived</option>
+ <!-- TMPL_ELSE -->
+ <option
value="2">Arrived</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status3" -->
+ <option value="3"
selected>Late</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Late</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status4" -->
+ <option value="4"
selected>Missing</option>
+ <!-- TMPL_ELSE -->
+ <option
value="4">Missing</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status5" -->
+ <option value="5" selected>Not
Available</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Not
Available</option>
+ <!-- /TMPL_IF -->
+<!--
+ <!--TMPL_IF name="status6" -->
+ <option value="6"
selected>Delete</option>
+ <!-- TMPL_ELSE -->
+ <option
value="6">Delete</option>
+ <!-- /TMPL_IF --> -->
+ </select>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--TMPL_IF Name="itemstatus"-->
+ <!--TMPL_IF Name="choice"-->
+ <!-- TMPL_LOOP
name="itemstatusloop" -->
+ <!-- TMPL_VAR
name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!--
TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!--
/TMPL_IF -->>
+ <!-- /TMPL_LOOP -->
+ <!--TMPL_ELSE-->
+ <select name="itemstatus" size="1">
+ <option value="">Item
Status</option>
+ <!-- TMPL_LOOP
name="itemstatusloop" -->
+ <option value="<!--
TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!--
/TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF-->
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF -->
+
+ </td>
+ <td class="cell">
+ <input type="text" name="notes" value="<!--
TMPL_VAR name="notes" -->" size=20 maxlength=255>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--TMPL_IF Name="itemlocation"-->
+ <select name="location" size="1">
+ <option
value="">Location</option>
+ <!-- TMPL_LOOP
name="itemlocationloop" -->
+ <option value="<!--
TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!--
/TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
+ <tr>
+ <td class="cell">
+ Manual issue <input type="text"
name="serialseq" size=30 maxlength=100 value="<!-- TMPL_VAR NAME="missingseq"
-->">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ Callnumber <input type="text"
name="itemcallnumber" value="" size=10 maxlength=15>
+ Barcode <input type="text" name="barcode"
value="" size=20 maxlength=20>
+ <!--/TMPL_IF-->
+ </td>
+ <td class="cell">
+ <input type="text" name="planneddate" size=10
maxlength=15 value="<!-- TMPL_VAR NAME="missingdate" -->">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <select name="branch" size="1">
+ <option value="">Branch</option>
+ <!-- TMPL_LOOP name="branchloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->"
<!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR
name="branchname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF-->
+ </td>
+ <td class="cell">
+ <!-- TMPL_IF NAME="frommissing" -->
+ <input type="hidden" name="serialid"
value="<!-- TMPL_VAR name="missingid" -->">
+ <!-- TMPL_ELSE -->
+ <input type="hidden" name="serialid" value="0">
+ <!--/TMPL_IF-->
+ <select name="status" size="1">
+ <!-- TMPL_IF NAME="frommissing"
-->
+ <option value="2" selected
>Arrived</option>
+ <!-- TMPL_ELSE -->
+ <option
value="2">Arrived</option>
+
+ <!--/TMPL_IF-->
+ <!-- TMPL_IF NAME="frommissing"
-->
+ <option value="3">Late</option>
+ <!--TMPL_ELSE-->
+ <option value="3"
selected>Late</option>
+ <!--/TMPL_IF-->
+ <option
value="4">Missing</option>
+ <option value="5">Not
Available</option>
+
+
+ </select>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!-- TMPL_IF Name="itemstatus"-->
+ <!--TMPL_IF Name="choice"-->
+ <!-- TMPL_LOOP
name="itemstatusloop" -->
+ <!-- TMPL_VAR
name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!--
TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!--
/TMPL_IF -->>
+ <!-- /TMPL_LOOP -->
+ <!--TMPL_ELSE-->
+ <select name="itemstatus" size="1">
+ <option value="">Item
Status</option>
+ <!-- TMPL_LOOP
name="itemstatusloop" -->
+ <option value="<!--
TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!--
/TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF -->
+ <!--/TMPL_IF-->
+ </td>
+ <td class="cell">
+
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!-- TMPL_IF Name="itemlocation"-->
+ <select name="location" size="1">
+ <option
value="">Location</option>
+ <!-- TMPL_LOOP
name="itemlocationloop" -->
+ <option value="<!--
TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!--
/TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF -->
+ <!--/TMPL_IF-->
+ </td>
+ </tr>
+ <!-- /TMPL_UNLESS -->
+ </table>
+ <input type="submit" value="Save changes" accesskey="w" class="button
bull">
+ <!-- TMPL_IF name="hassubscriptionexpired" -->
+ <h3>Subscription has expired.</h3>
+ <p><b>Waited last issue status can't be changed. <a href="#"
onClick="popup()" class="button bull">Renew</a> your subscription</b></p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="abouttoexpire" -->
+ <h3>Note: Subscription is about to expire next issue.</h3>
+ <script type="text/javascript">
+ <!--
+ alert("Subscription is about to expire next issue");
+ //-->
+ </script>
+ <!-- /TMPL_IF -->
+ </form>
+</div>
+
+<div class="bloc25">
+ <h2 class="bull">Subscription summary</h2>
+ <form method="post" name="f2" action="statecollection.pl">
+ <input type="hidden" name="op" value="modsubscriptionhistory">
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR
name="serial" -->">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
name="subscriptionid" -->">
+ <input type="hidden" name="user" value="<!-- TMPL_VAR
name="user" -->">
+ <p><label class="label100">Librarian</label><!-- TMPL_VAR
name="user" --></p>
+ <p><label class="label100">Beginnning date (*)</label><input
type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate"
-->"></p>
+ <p><label class="label100">End date</label><input type="text"
name="enddate" value="<!-- TMPL_VAR name="enddate" -->"></p>
+ <p>Recieved issues</p>
+ <p> <textarea name="recievedlist" COLS=60 ROWS=5><!--
TMPL_VAR name="recievedlist" --></textarea></p>
+ <p>Missing issues</p>
+ <p> <textarea name="missinglist" COLS=60 ROWS=2><!--
TMPL_VAR name="missinglist" --></textarea></p>
+ <p>Opac's note</p>
+ <p> <textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR
name="opacnote" --></textarea></p>
+ <input type="submit" value="Save changes" class="button bull">
+ </form>
+</div>
+
+</div>
+<script language="JavaScript" type="text/javascript">
+
+function popup() {
+ window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
+name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
+}
+
+function barcode_check(){
+ <!-- TMPL_IF NAME="count" -->
+ var count = '<!-- TMPL_VAR NAME="count" -->';
+ for(var i=1;i<=count;i++){
+
+ var barcodenum = "barcode"+i;
+ var statusnum = "status"+i;
+ var elembarcode = "document.getElementById('"+barcodenum+"')";
+ var elemstatus = "document.getElementById('"+statusnum+"')";
+// alert(elembarcode+"\n"+eval(elembarcode+".value));
+// alert(elemstatus+"\n"+eval(elemstatus+".value"));
+ if(eval(elembarcode+".value") =='' && eval(elemstatus+".value")
== 2){
+ var answer = confirm("Leave barcode blank?\n - Note:
unable to change this later");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ if(eval(elembarcode+".value".indexOf('TEMP')) > 0 &&
eval(elemstatus+".value") == 2){
+ var answer = confirm("A barcode was not entered.\nDo
you want to put in a barcode\nor do you want to use a system generated
barcode?");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ }
+ <!-- /TMPL_IF -->
+}
+</script>
+
+<!-- TMPL_INCLUDE name="bull-bottom.inc" -->
Index: subscription-add.tmpl
===================================================================
RCS file: subscription-add.tmpl
diff -N subscription-add.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ subscription-add.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,997 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+<style type="text/css">
+<!--
+
+#bloc25 {
+ border: 1px solid #666666;
+ margin-bottom: 5px;
+}
+-->
+</style>
+
+<script type="text/javascript" language="javascript">
+<!--
+// the english words used in display purposes
+var text = new Array('Number','Volume','Issue','Month','Week','Starting
with:','Rollover at:','Choose Hemisphere:','Northern','Southern',
+'Autumn','Winter','Spring','Summer','Fall','Season','Year');
+var is_season = 0;
+var is_hemisphere = 1;
+
+// common pre defined number patterns
+function num_pattern() {
+var patternchoice = document.getElementById("numberpattern").value;
+ switch(patternchoice){
+ case "2":
+ document.f.add1.value=1;
+ document.f.add2.value=1;
+ document.f.add3.value=1;
+ document.f.every1.value=12;
+ document.f.every2.value=1;
+ document.f.every3.value=1;
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value=12;
+ document.f.whenmorethan3.value=4;
+ document.f.setto1.value=0;
+ document.f.setto2.value=1;
+ document.f.setto3.value=1;
+ document.f.lastvalue1.value=1;
+ document.f.lastvalue2.value=1;
+ document.f.lastvalue3.value=1;
+ document.f.numberingmethod.value='Vol {X}, No {Y}, Issue {Z}';
+ moreoptions(text[1],text[0],text[2]);
+ display_table(0); // toggle info box on (1) or off (0)
+ break;
+ case "3":
+ document.f.add1.value=1;
+ document.f.add2.value=1;
+ document.f.add3.value='';
+ document.f.every1.value=12;
+ document.f.every2.value=1;
+ document.f.every3.value='';
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value=12;
+ document.f.whenmorethan3.value='';
+ document.f.setto1.value=0;
+ document.f.setto2.value=1;
+ document.f.setto3.value='';
+ document.f.lastvalue1.value=1;
+ document.f.lastvalue2.value=1;
+ document.f.lastvalue3.value='';
+ document.f.numberingmethod.value='Vol {X}, No {Y}';
+ moreoptions(text[1],text[0]);
+ display_table(0);
+ break;
+ case "4":
+ document.f.add1.value=1;
+ document.f.add2.value=1;
+ document.f.add3.value='';
+ document.f.every1.value=12;
+ document.f.every2.value=1;
+ document.f.every3.value='';
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value=12;
+ document.f.whenmorethan3.value='';
+ document.f.setto1.value=0;
+ document.f.setto2.value=1;
+ document.f.setto3.value='';
+ document.f.lastvalue1.value=1;
+ document.f.lastvalue2.value=1;
+ document.f.lastvalue3.value='';
+ document.f.numberingmethod.value='Vol {X}, Issue {Y}';
+ moreoptions(text[1],text[2]);
+ display_table(0);
+ break;
+ case "5":
+ document.f.add1.value=1;
+ document.f.add2.value=1;
+ document.f.add3.value='';
+ document.f.every1.value=12;
+ document.f.every2.value=1;
+ document.f.every3.value='';
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value=12;
+ document.f.whenmorethan3.value='';
+ document.f.setto1.value=0;
+ document.f.setto2.value=1;
+ document.f.setto3.value='';
+ document.f.lastvalue1.value=1;
+ document.f.lastvalue2.value=1;
+ document.f.lastvalue3.value='';
+ document.f.numberingmethod.value='No {X}, Issue {Y}';
+ moreoptions(text[0],text[2]);
+ display_table(0);
+ break;
+ case "6":
+ var d = new Date();
+ var sYear = d.getFullYear();
+ document.f.add1.value=1;
+ document.f.add2.value='1';
+ document.f.add3.value='';
+ document.f.every1.value=4;
+ document.f.every2.value='1';
+ document.f.every3.value='';
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value='4';
+ document.f.whenmorethan3.value='';
+ document.f.setto1.value=0;
+ document.f.setto2.value='1';
+ document.f.setto3.value='';
+ document.f.lastvalue1.value=sYear;
+ document.f.lastvalue2.value='1';
+ document.f.lastvalue3.value='';
+ document.f.periodicity.value='8';
+ document.f.numberingmethod.value='{Y} {X}';
+ moreoptions_seasons(text[15],sYear);
+ display_table(0);
+ is_season = 1;
+ break;
+ case "7":
+ display_table(1);
+ document.f.irreg_check.value=1;
+ break;
+ default:
+ document.f.add1.value=1;
+ document.f.add2.value='';
+ document.f.add3.value='';
+ document.f.every1.value=1;
+ document.f.every2.value='';
+ document.f.every3.value='';
+ document.f.whenmorethan1.value=9999999;
+ document.f.whenmorethan2.value='';
+ document.f.whenmorethan3.value='';
+ document.f.setto1.value=0;
+ document.f.setto2.value='';
+ document.f.setto3.value='';
+ document.f.lastvalue1.value=1;
+ document.f.lastvalue2.value='';
+ document.f.lastvalue3.value='';
+ document.f.numberingmethod.value='{X}';
+ moreoptions_daily_check(text[0]);
+ document.f.irreg_check.value=1;
+ display_table(0);
+ break;
+ }
+}
+
+function display_table(n) {
+ if(n==1){
+ document.getElementById("basetable").style.display = 'block';
+ } else {
+ document.getElementById("basetable").style.display = 'none';
+ }
+}
+
+function modify_num_pattern() {
+ document.getElementById("numberpattern").value = '<!-- TMPL_VAR
NAME="numberpattern" -->';
+ num_pattern();
+
+ document.f.add1.value='<!-- TMPL_VAR NAME="add1" -->';
+ document.f.add2.value='<!-- TMPL_VAR NAME="add2" -->';
+ document.f.add3.value='<!-- TMPL_VAR NAME="add3" -->';
+ document.f.every1.value='<!-- TMPL_VAR NAME="every1" -->';
+ document.f.every2.value='<!-- TMPL_VAR NAME="every2" -->';
+ document.f.every3.value='<!-- TMPL_VAR NAME="every3" -->';
+ document.f.whenmorethan1.value='<!-- TMPL_VAR NAME="whenmorethan1" -->';
+ document.f.whenmorethan2.value='<!-- TMPL_VAR NAME="whenmorethan2" -->';
+ document.f.whenmorethan3.value='<!-- TMPL_VAR NAME="whenmorethan3" -->';
+ document.f.setto1.value='<!-- TMPL_VAR NAME="setto1" -->';
+ document.f.setto2.value='<!-- TMPL_VAR NAME="setto2" -->';
+ document.f.setto3.value='<!-- TMPL_VAR NAME="setto3" -->';
+ document.f.lastvalue1.value='<!-- TMPL_VAR NAME="lastvalue1" -->';
+ document.f.lastvalue2.value='<!-- TMPL_VAR NAME="lastvalue2" -->';
+ document.f.lastvalue3.value='<!-- TMPL_VAR NAME="lastvalue3" -->';
+ document.f.numberingmethod.value='<!-- TMPL_VAR NAME="numberingmethod"
-->';
+
+ var more_strY;
+ var more_strZ;
+ <!-- TMPL_IF NAME="add2" -->
+ if(<!-- TMPL_VAR NAME="add2" --> > 0){
+ more_strY="Y";
+ }
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="add3" -->
+ if(<!-- TMPL_VAR NAME="add3" --> > 0){
+ more_strZ="Z";
+ }
+ <!-- /TMPL_IF -->
+
+ document.f.lastvaluetemp1.value='<!-- TMPL_VAR NAME="lastvalue1" -->';
+ if(more_strY){
+ document.f.lastvaluetemp2.value='<!-- TMPL_VAR
NAME="lastvalue2" -->';
+ document.f.whenmorethantemp2.value='<!-- TMPL_VAR NAME="whenmorethan2"
-->';
+ }
+ if(more_strZ){
+ document.f.lastvaluetemp3.value='<!-- TMPL_VAR
NAME="lastvalue3" -->';
+ document.f.whenmorethantemp3.value='<!-- TMPL_VAR NAME="whenmorethan3"
-->';
+ }
+}
+
+// a pre check with more options to see if 'number' and '1/day' are chosen
+function moreoptions_daily_check(x) {
+ var periodicity = document.f.periodicity.value;
+ var errortext='';
+ if(periodicity == 1){
+ document.getElementById("irregularity").innerHTML = '';
+ document.getElementById("more_options").innerHTML = '';
+ var daynames = new
Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
+ errortext ="Please indicate which days of the week you <b>DO
NOT<\/b> expect to receive issues.<br \/>";
+ for(var j=0;j<daynames.length;j++){
+ errortext +="<input type='checkbox' name='irregular'
id='irregular"+(j+1)+"' value='"+(j+1)+"' />"+daynames[j]+" ";
+ }
+ var error = errortext;
+ document.getElementById("irregularity").innerHTML = error;
+ } else {
+ document.getElementById("irregularity").innerHTML = '';
+ document.getElementById("more_options").innerHTML = '';
+ moreoptions(x);
+ }
+}
+
+// to dispaly the more options section
+function moreoptions(x,y,z){
+document.getElementById("irregularity").innerHTML = '';
+document.getElementById("more_options").innerHTML = '';
+var textbox = '';
+ // alert("X: "+x+"Y: "+y+"Z: "+z);
+ if(x){
+ textbox +="<table>\n<tr><td> <\/td><td>"+x+"<\/td>";
+ if(y){
+ textbox +="<td>"+y+"<\/td>";
+ if(z){
+ textbox +="<td>"+z+"<\/td>";
+ }
+ }
+ textbox +="<\/tr>\n";
+ textbox +="<tr><td>"+text[5]+"<\/td><td><input type='text'
name='lastvaluetemp1' size='4'
onkeyup='moreoptionsupdate(\"lastvalue1\")'><\/td>\n";
+ if(y){
+ textbox +="<td><input type='text' name='lastvaluetemp2'
size='4' onkeyup='moreoptionsupdate(\"lastvalue2\")'><\/td>\n";
+ if(z){
+ textbox +="<td><input type='text'
name='lastvaluetemp3' size='4'
onkeyup='moreoptionsupdate(\"lastvalue3\")'><\/td>\n";
+ }
+ }
+ textbox +="<\/tr>\n";
+ if(y){
+ textbox +="<tr><td>"+text[6]+"<\/td>";
+ textbox +="<td><a
href='javascript:irregularity_check()'>Irregularity?<\/a><\/td>\n";
+ textbox +="<td><input type='text'
name='whenmorethantemp2' size='4'
onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
+ if(z){
+ textbox +="<td><input type='text'
name='whenmorethantemp3' size='4'
onkeyup='moreoptionsupdate(\"whenmorethan3\",1)'><\/td>\n";
+ }
+ textbox +="<\/tr>";
+ }
+ textbox +="<\/table>\n";
+ }
+ document.getElementById("more_options").innerHTML = textbox;
+}
+
+function hemispheres(chosen){
+var selbox = document.getElementById("season1");
+ if(selbox){
+ var selboxselected = selbox.options[selbox.selectedIndex].value;
+ selbox.options.length = 0;
+
+ if (chosen == "1") {
+ selbox.options[selbox.options.length] = new
Option(text[11],'1');
+ selbox.options[selbox.options.length] = new
Option(text[12],'2');
+ selbox.options[selbox.options.length] = new
Option(text[13],'3');
+ selbox.options[selbox.options.length] = new
Option(text[14],'4');
+ is_hemisphere = 1;
+ selbox.options[selboxselected-1].selected = true;
+ }
+
+ if (chosen == "2") {
+ selbox.options[selbox.options.length] = new
Option(text[13],'1');
+ selbox.options[selbox.options.length] = new
Option(text[10],'2');
+ selbox.options[selbox.options.length] = new
Option(text[11],'3');
+ selbox.options[selbox.options.length] = new
Option(text[12],'4');
+ is_hemisphere = 2;
+ selbox.options[selboxselected-1].selected = true;
+ }
+ }
+}
+
+// to dispaly the more options section for seasons
+function moreoptions_seasons(x,y){
+document.getElementById("irregularity").innerHTML = '';
+document.getElementById("more_options").innerHTML = '';
+var textbox = '';
+ // alert("X: "+x+"Year: "+y);
+ if(x){
+ var hemi_select = parseInt('<!-- TMPL_VAR NAME="hemisphere"
-->');
+ textbox +="<table>\n<tr><td>"+ text[7] +"<\/td><td
colspan='2'><select name='hemisphere'
onchange='hemispheres(this.options[this.selectedIndex].value)'>";
+ for(var i = 1; i <= 2; i++){
+ textbox +="<option value='"+i+"'";
+ if(i == hemi_select){
+ textbox += " selected "
+ }
+ textbox +=">"+text[i+7]+"<\/option>";
+ }
+ textbox +="<\/select><\/td><\/tr>\n";
+ textbox +="<tr><td> <\/td><td>"+x+"<\/td>";
+ textbox +="<td>"+text[16]+"<\/td>";
+ textbox +="<\/tr>\n";
+ textbox +="<tr><td>"+text[5]+"<\/td><td><select
name='lastvaluetemp2' id='season1'
onchange='moreoptionsupdate(\"lastvalue2\")'>";
+ for(var j = 1; j <= 4; j++){
+ textbox +="<option
value='"+j+"'>"+text[j+10]+"<\/option>";
+ }
+ textbox +="<\/select><\/td><td><select name='lastvaluetemp1'
onchange='moreoptionsupdate(\"lastvalue1\")'>";
+ for(var k = parseInt(y); k <= parseInt(y)+15; k++){
+ textbox +="<option value='"+k+"'>"+k+"<\/option>";
+ }
+ textbox +="<\/select><\/td><\/tr>\n";
+ textbox +="<tr><td>"+text[6]+"<\/td>";
+ textbox +="<td><a
href='javascript:irregularity_check()'>Irregularity?<\/a><\/td>\n";
+ textbox +="<td><input type='text' name='whenmorethantemp2'
size='4' onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
+ textbox +="<\/tr><\/table>\n";
+ }
+ document.getElementById("more_options").innerHTML = textbox;
+}
+
+function irregularity_check(){
+ document.f.irreg_check.value = 1; // Irregularity button now pushed
+ var periodicity = document.f.periodicity.value;
+ var rollover = document.f.whenmorethantemp2.value;
+ if(document.f.whenmorethantemp3){
+ rollover = document.f.whenmorethantemp3.value;
+ }
+ var error='';
+ var toobig;
+ var expected;
+ var errortext = "<b>Warning irregularity detected<\/b><br \/>";
+ switch(periodicity){
+ case "1":
+ if(rollover < 365) expected =365;
+ if(rollover > 365) {
+ expectedover=365;
+ toobig=1;
+ }
+ break;
+ case "2":
+ if(rollover < 52) expected =52;
+ if(rollover > 52){
+ expectedover=52;
+ toobig=1;
+ }
+ break;
+ case "3":
+ if(rollover < 26) expected =26;
+ if(rollover > 26){
+ expectedover=26;
+ toobig=1;
+ }
+ break;
+ case "4":
+ if(rollover < 17) expected =17;
+ if(rollover > 17){
+ expectedover=17;
+ toobig=1;
+ }
+ break;
+ case "5":
+ if(rollover < 12) expected =12;
+ if(rollover > 12){
+ expectedover=12;
+ toobig=1;
+ }
+ break;
+ case "6":
+ if(rollover < 6) expected =6;
+ if(rollover > 6){
+ expectedover=6;
+ toobig=1;
+ }
+ break;
+ case "7":
+ if(rollover < 4) expected =4;
+ if(rollover > 4){
+ expectedover=4;
+ toobig=1;
+ }
+ break;
+ case "8":
+ if(rollover < 4) expected =4;
+ if(rollover > 4){
+ expectedover=4;
+ toobig=1;
+ }
+ break;
+ case "9":
+ if(rollover < 2) expected =2;
+ if(rollover > 2){
+ expectedover=2;
+ toobig=1;
+ }
+ break;
+ case "10":
+ if(rollover < 1) expected =1;
+ if(rollover > 1){
+ expectedover=1;
+ toobig=1;
+ }
+ break;
+ default:
+ break;
+ }
+ if(expected){
+ if(expected == 365){
+ var daynames = new
Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
+ errortext +="Please indicate which days of the week you
<b>DO NOT<\/b> expect to receive issues.<br \/>";
+ for(var j=0;j<daynames.length;j++){
+ errortext +="<input type='checkbox'
name='irregular' id='irregular"+(j+1)+"' value='"+(j+1)+"' />"+daynames[j]+"
";
+ }
+ error=errortext;
+ } else {
+ errortext +=expected+" issues expected "+rollover+"
were entered. <br \/>Please indicate which date(s) an issue is not expected<br
\/>";
+ var count=0;
+ for(var i=rollover;i<expected;i++){
+ errortext +="<select name='irregular'
id='irregular"+count+"' onchange='display_example(expected)'>\n";
+ errortext +=irregular_options(periodicity);
+ errortext +="<\/select>\n";
+ count++;
+ }
+ error=errortext;
+ }
+ }
+ if(toobig){
+ errortext +=expectedover+" issues expected "+rollover+" were
entered.<br \/> You seem to have indicated more issues per year than expected.";
+ error=errortext;
+ }
+ if(error.length ==0){
+ error='No irregularities noticed';
+ }
+ display_example(expected);
+ document.getElementById("irregularity").innerHTML = error;
+}
+
+function irregular_options(periodicity){
+ var titles;
+ var count;
+<!-- TMPL_IF NAME="weekarrayjs" -->
+ var weeks = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
+<!-- /TMPL_IF -->
+ var months = new
Array('January','February','March','April','May','June','July','August','September','October','November','December');
+ var seasons = new Array('Autumn','Winter','Spring','Summer','Fall');
+ var errortext='';
+ if(periodicity == 1) {
+ expected = 366;
+ titles = "Day";
+ count = 1;
+ }
+ if(periodicity == 2 || periodicity == 3 || periodicity == 4) {
+ expected = 52;
+ <!-- TMPL_IF NAME="weekarrayjs" -->
+ titles = weeks;
+ count = <!-- TMPL_VAR NAME="weekno" -->;
+ <!-- TMPL_ELSE -->
+ titles = "Week";
+ count = 1;
+ <!-- /TMPL_IF -->
+ }
+ if(periodicity == 5 || periodicity == 6 || periodicity == 7 ||
periodicity == 8 || periodicity == 9) {
+ if(periodicity == 8) {
+ is_season = 1; // setting up from edit page
+ }
+ if(is_season){
+ titles = seasons;
+ expected = 4;
+ if(is_hemisphere == 2){
+ count = 2;
+ } else {
+ count = 1;
+ }
+ } else {
+ titles = months;
+ expected = 12;
+ count = 1;
+ }
+ }
+ for(var j=1;j<=expected;j++){
+ if(isArray(titles)){
+ if(count>expected){
+ count = count-expected;
+ }
+ if(is_season && is_hemisphere == 1){
+ errortext +="<option
value='"+((count*3)-2)+"'>"+titles[j]+"<\/option>\n";
+// alert("value: "+((count*3)-2)+" title: "+titles[j]);
+ } else if(is_season && is_hemisphere == 2){
+ errortext +="<option
value='"+((count*3)-2)+"'>"+titles[j-1]+"<\/option>\n";
+// alert("value: "+((count*3)-2)+" title: "+titles[j-1]);
+ } else {
+ errortext +="<option
value='"+count+"'>"+titles[j-1]+"<\/option>\n";
+ }
+ count++;
+ } else {
+ errortext +="<option value='"+j+"'>"+titles+"
"+j+"<\/option>\n";
+ }
+ }
+ return errortext;
+}
+
+function irregular_order(){
+ var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
+ var periodicity = document.f.periodicity.value;
+ var irregarray = irregular.split('|');
+ if(periodicity ==1){
+ for(j=0;j<irregarray.length;j++){
+ document.getElementById("irregular"+irregarray[j]).checked =
true;
+ }
+ } else {
+ for(i=0;i<irregarray.length;i++){
+ document.getElementById("irregular"+i).value =
irregarray[i];
+ }
+ }
+}
+
+function display_example(expected){
+ var startfrom1 = parseInt(document.f.lastvalue1.value);
+ var startfrom2 = parseInt(document.f.lastvalue2.value);
+ var startfrom3 = parseInt(document.f.lastvalue3.value);
+ var every1 = parseInt(document.f.every1.value);
+ var every2 = parseInt(document.f.every2.value);
+ var every3 = parseInt(document.f.every3.value);
+ var numberpattern = document.f.numberingmethod.value;
+ var whenmorethan2 = parseInt(document.f.whenmorethan2.value);
+ var whenmorethan3 = parseInt(document.f.whenmorethan3.value);
+ var setto2 = parseInt(document.f.setto2.value);
+ var setto3 = parseInt(document.f.setto3.value);
+ var displaytext = 'Based on the information<br \/>entered the Numbering
Pattern<br \/>will look like this<br \/>\n';
+ if(startfrom3>0){
+ var count=startfrom3-1;
+ var count2=startfrom2;
+ for(var i=0;i<12;i++){
+ if(count>=whenmorethan3){
+ count=setto3;
+ if(count2>=whenmorethan2){
+ startfrom1++;
+ count2=setto2;
+ } else {
+ count2++;
+ }
+ } else {
+ count++;
+ }
+ displaytext += numberpattern.replace(/{Z}/,count)+'\n';
+ displaytext = displaytext.replace(/{Y}/,count2)+'<br
\/>\n';
+ displaytext =
displaytext.replace(/{X}/,startfrom1)+'<br \/>\n';
+
+ }
+ }
+ if(startfrom2>0 && !startfrom3){
+ var count=startfrom2-1;
+ for(var i=0;i<12;i++){
+ if(count>=whenmorethan2){
+ startfrom1++;
+ count=setto2;
+ } else {
+ count++;
+ }
+
+ if(is_season){
+ if(is_hemisphere == 2){
+ if(count == 1) {
+ displaytext +=
numberpattern.replace(/{Y}/,text[count+12])+'\n';
+ } else {
+ displaytext +=
numberpattern.replace(/{Y}/,text[count+8])+'\n';
+ }
+ } else {
+ displaytext +=
numberpattern.replace(/{Y}/,text[count+10])+'\n';
+ }
+ } else {
+ displaytext +=
numberpattern.replace(/{Y}/,count)+'\n';
+ }
+ displaytext =
displaytext.replace(/{X}/,startfrom1)+'<br \/>\n';
+ }
+ }
+ if(startfrom1>0 && !startfrom2 && !startfrom3){
+ for(var i=startfrom1;i<(startfrom1+12);i=i+(1*every1)){
+ startfrom1 = i;
+ displaytext +=
numberpattern.replace(/{X}/,startfrom1)+'<br \/>\n';
+ }
+ }
+ displaytext = "<div style='padding: 5px; background-color:
#CCCCCC'>"+displaytext+"<\/div>";
+ document.getElementById("displayexample").innerHTML = displaytext;
+}
+
+function isArray(obj) {
+ if (obj.constructor.toString().indexOf("Array") == -1)
+ return false;
+ else
+ return true;
+}
+
+function moreoptionsupdate(fieldnames,rollover){
+ fieldname = fieldnames;
+ fld = fieldname.length;
+ fld = fld-1;
+ fieldnametempnumber = fieldname.substr(fld);
+ //alert(fieldnametempnumber);
+ fieldnametemp = fieldname.slice(0,-1)+"temp"+fieldnametempnumber;
+ // alert(fieldnametemp);
+ eval("document.f."+fieldname+".value =
document.f."+fieldnametemp+".value");
+ if(rollover){
+ eval("document.f.every"+(fieldnametempnumber-1)+".value =
document.f."+fieldnametemp+".value");
+ }
+}
+
+
+function check_input(e){
+ var unicode=e.charCode? e.charCode : e.keyCode
+ if (unicode!=8 && unicode !=46){ // if key isn't backspace or delete
+ if (unicode<48||unicode>57) { // if not a number
+ alert("Needs to be entered in digit form -eg 10");
+ return false // disable key press
+ }
+ }
+}
+
+-->
+</script>
+
+<div id="mainbloc">
+<!-- TMPL_IF name="mod" -->
+ <h1 class="bull">Modify subscription</h1>
+ <form method="post" name="f" action="subscription-detail.pl">
+ <input type="hidden" name="op" value="modsubscription">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
name="subscriptionid" -->">
+<!-- TMPL_ELSE -->
+ <h1 class="bull">Add a subscription (Serial Holdings Record)</h1>
+ <form method="post" name="f">
+ <input type="hidden" name="op" value="addsubscription">
+<!-- /TMPL_IF -->
+ <input type="hidden" name="user" value="<!-- TMPL_VAR
name="loggedinusername" -->">
+ <input type="hidden" name="irreg_check" value="0">
+
+
+<div id="bloc25">
+ <h2 class="bull">Subscription information</h2>
+ <table border="0" cellspacing="5" cellpadding="0">
+ <tr><td>Librarian:</td>
+ <td><!-- TMPL_VAR name="loggedinusername" --></td></tr>
+ <tr><td><label>Supplier:</label></td>
+ <td><input type="text" name="aqbooksellerid" value="<!-- TMPL_VAR
name="aqbooksellerid" -->" size="4"> (<input type="text"
name="aqbooksellername" value="<!-- TMPL_VAR name="aqbooksellername" -->"
disabled readonly>) <a href="#" onClick="FindAcqui(f)">Search for a
Supplier</a></td>
+ <tr><td><label>Biblio</label></td>
+ <td><input type="text" name="biblionumber" value="<!-- TMPL_VAR
name="biblionumber" -->" size="4"> (<input type="text" name="title" value="<!--
TMPL_VAR name="bibliotitle" -->" disabled readonly>) <a href="#"
onClick="Plugin(f)">Search for Biblio</a> | <a
href="/cgi-bin/koha/acqui/acqui-home.pl">Create Biblio</a></td>
+ <tr><td><label>Call Number</label></td>
+ <td><input type="text" name="callnumber" value="<!-- TMPL_VAR
name="callnumber" -->" size="20"></td></tr>
+ <tr><td><label>Notes</label></td>
+ <td><textarea name="notes" cols="30" rows="2"><!-- TMPL_VAR
name="notes" --></textarea></td>
+ <tr><td><b>Warning:</b></td>
+ <td>
+ <ul>
+ <li>Remember you <b>must</b> have created a biblio
<b>before</b> creating a subscription</li>
+ <li>You also must have selected a supplier if you want
to ask for late issues</li>
+ </ul></td></tr>
+ </table>
+</div>
+<div id="bloc25">
+ <h2 class="bull">Planning</h2>
+ <table border="0" cellspacing="5" cellpadding="0">
+ <tr><td><label class="label100">First Issue ETA:</label></td>
+ <td> <img src="<!-- TMPL_VAR Name="themelang"
-->/includes/calendar/cal.gif" id="button2" style="cursor: pointer;" />
+
+<input type="text" name="firstacquidate" value="<!-- TMPL_VAR name="startdate"
-->" size=13 maxlength=10 id="acqui_date" style="border-width: 0px;">
+<!-- both scripts for calendar must follow the input field -->
+ <script type="text/javascript">
+ Calendar.setup({
+ inputField:"acqui_date",
+ ifFormat : "%d/%m/%Y",
+ button : "button2",
+ align : "Tl"
+ });
+ </script>
+ <script type="text/javascript">
+ Calendar.setup({
+ inputField :
"acqui_date",
+ ifFormat : "%d/%m/%Y",
+ button :
"acqui_date",
+ align : "Tl"
+ });
+ </script></td>
+ <td rowspan="5"><div id="displayexample"></div></td></tr>
+ <tr><td><label class="label100">Frequency: (*)</label></td>
+ <td> <select name="periodicity" size="1">
+ <option value="" selected>-- please choose
--</option>
+ <option value="">Unknown</option>
+
+ <!-- TMPL_IF name="periodicity1" -->
+ <option value="1"
selected>1/day</option>
+ <!-- TMPL_ELSE -->
+ <option value="1">1/day</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity2" -->
+ <option value="2"
selected>1/week</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">1/week</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity3" -->
+ <option value="3" selected>1/2 weeks
(2/month)</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">1/2 weeks
(2/months)</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity4" -->
+ <option value="4" selected>1/3
weeks</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">1/3 weeks</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity5" -->
+ <option value="5"
selected>1/month</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">1/month</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity6" -->
+ <option value="6" selected>1/2 months
(6/year)</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">1/2 months
(6/year)</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity7" -->
+ <option value="7" selected>1/3 months
(1/quarter)</option>
+ <!-- TMPL_ELSE -->
+ <option value="7">1/3 months
(1/quarter)</option>
+ <!-- /TMPL_IF -->
+ <!-- periodicity8 is 1/quarter, exactly like
periodicity7 but will use it for seasonal option -->
+ <!-- TMPL_IF name="periodicity8" -->
+ <option value="8" selected>1/quarter
(seasonal)</option>
+ <!-- TMPL_ELSE -->
+ <option value="8">1/quarter
(seasonal)</option>
+ <!-- /TMPL_IF -->
+
+ <!-- TMPL_IF name="periodicity9" -->
+ <option value="9"
selected>2/years</option>
+ <!-- TMPL_ELSE -->
+ <option value="9">2/year</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity10" -->
+ <option value="10"
selected>1/year</option>
+ <!-- TMPL_ELSE -->
+ <option value="10">1/year</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="periodicity11" -->
+ <option value="11" selected>1/2
years</option>
+ <!-- TMPL_ELSE -->
+ <option value="11">1/2 years</option>
+ <!-- /TMPL_IF -->
+ </select>
+ </td></tr>
+ <tr><td><label class="label100">Numbering Pattern:</label></td>
+ <td><select name="numbering_pattern" size="1" id="numberpattern"
onchange="num_pattern()">
+ <option value="" selected>-- please choose --</option>
+ <!-- TMPL_IF name="numberpattern1" -->
+ <option value="1" selected>Number</option>
+ <!-- TMPL_ELSE -->
+ <option value="1">Number</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern2" -->
+ <option value="2" selected>Volume, Number,
Issue</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">Volume, Number, Issue</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern3" -->
+ <option value="3" selected>Volume, Number</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Volume, Number</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern4" -->
+ <option value="4" selected>Volume, Issue</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">Volume, Issue</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern5" -->
+ <option value="5" selected>Number, Issue</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Number, Issue</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern6" -->
+ <option value="6" selected>Seasonal only</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">Seasonal only</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern7" -->
+ <option value="7" selected>None of the above</option>
+ <!-- TMPL_ELSE -->
+ <option value="7">None of the above</option>
+ <!-- /TMPL_IF -->
+
+ </select>
+<div id="more_options"></div>
+<div id="irregularity"></div></td></tr>
+ <tr><td><label class="label100">Begins On: (*)</label></td>
+ <td><img src="<!-- TMPL_VAR Name="themelang"
-->/includes/calendar/cal.gif" id="button1" style="cursor: pointer;" />
+<input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->"
size=13 maxlength=10 id="beginning_date" style="border-width: 0px;">
+<!-- both scripts for calendar must follow the input field -->
+ <script type="text/javascript">
+ Calendar.setup({
+ inputField :
"beginning_date",
+ ifFormat : "%d/%m/%Y",
+ button : "button1",
+ align : "Tl"
+ });
+ </script>
+ <script type="text/javascript">
+ Calendar.setup({
+ inputField :
"beginning_date",
+ ifFormat : "%d/%m/%Y",
+ button :
"beginning_date",
+ align : "Tl"
+ });
+ </script></td></tr>
+</table>
+</div>
+
+<!-- <tr><td><label class="label100">Arrives on</label></td>
+ <td> <select name="dow" size="1">
+ <option value="">None</option>
+ <!-- TMPL_IF name="dow1" -->
+ <option value="1"
selected>Monday</option>
+ <!-- TMPL_ELSE -->
+ <option value="1">Monday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow2" -->
+ <option value="2"
selected>Tuesday</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">Tuesday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow3" -->
+ <option value="3"
selected>Wednesday</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Wednesday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow4" -->
+ <option value="4"
selected>Thursday</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">Thursday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow5" -->
+ <option value="5"
selected>Friday</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Friday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow6" -->
+ <option value="6"
selected>Saturday</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">Saturday</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dow7" -->
+ <option value="7"
selected>Sunday</option>
+ <!-- TMPL_ELSE -->
+ <option value="7">Sunday</option>
+ <!-- /TMPL_IF -->
+ </select></td></tr> -->
+
+<div id="bloc25">
+ <h2 class="bull">Subscription length</h2>
+ <p><select name="subtype">
+<!-- TMPL_LOOP NAME="subtype" -->
+<option value="<!-- TMPL_VAR NAME="name" -->" <!-- TMPL_IF NAME="selected" -->
selected="SELECTED" <!-- /TMPL_IF -->><!-- TMPL_VAR NAME="name" --></option>
+<!-- /TMPL_LOOP -->
+</select> <input type="text" name="sublength" value="<!-- TMPL_VAR
name="sublength" -->" size="3" onkeypress="return check_input(event)"> (*)
(enter amount in numerals)</p>
+
+</div>
+<div id="bloc25">
+ <h2 class="bull">Numbering calculation</h2>
+ <p>Numbering formula: <input type="text" name="numberingmethod"
value="<!-- TMPL_VAR name="numberingmethod" -->"></p>
+ <div id="basetable" style="display: none;">
+ <table class="small">
+ <tr>
+ <th class="bull"> </th>
+ <th class="bull">X</th>
+ <th class="bull">Y</th>
+ <th class="bull">Z</th>
+ </tr>
+ <tr>
+ <td class="bull">Add</td>
+ <td>
+ <input type="text" name="add1"
value="<!-- TMPL_VAR name="add1" -->">
+ </td>
+ <td>
+ <input type="text" name="add2"
value="<!-- TMPL_VAR name="add2" -->">
+ </td>
+ <td>
+ <input type="text" name="add3"
value="<!-- TMPL_VAR name="add3" -->">
+ </td>
+ </tr>
+ <tr>
+ <td class="bull">once every</td>
+ <td><input type="text" name="every1"
value="<!-- TMPL_VAR name="every1" -->"></td>
+ <td><input type="text" name="every2"
value="<!-- TMPL_VAR name="every2" -->"></td>
+ <td><input type="text" name="every3"
value="<!-- TMPL_VAR name="every3" -->"></td>
+ </tr>
+ <tr>
+ <td class="bull">When more than</td>
+ <td><input type="text" name="whenmorethan1"
value="<!-- TMPL_VAR name="whenmorethan1" -->"></td>
+ <td><input type="text" name="whenmorethan2"
value="<!-- TMPL_VAR name="whenmorethan2" -->"></td>
+ <td><input type="text" name="whenmorethan3"
value="<!-- TMPL_VAR name="whenmorethan3" -->"></td>
+ </tr>
+ <!-- TMPL_IF name="mod" -->
+ <tr>
+ <td class="bull">The loop is for instance</td>
+ <td><input type="text" name="innerloop1"
value="<!-- TMPL_VAR name="innerloop1" -->"></td>
+ <td><input type="text" name="innerloop2"
value="<!-- TMPL_VAR name="innerloop2" -->"></td>
+ <td><input type="text" name="innerloop3"
value="<!-- TMPL_VAR name="innerloop3" -->"></td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <tr>
+ <td class="bull">Set back to</td>
+ <td><input type="text" name="setto1"
value="<!-- TMPL_VAR name="setto1" -->"></td>
+ <td><input type="text" name="setto2"
value="<!-- TMPL_VAR name="setto2" -->"></td>
+ <td><input type="text" name="setto3"
value="<!-- TMPL_VAR name="setto3" -->"></td>
+ </tr>
+ <tr>
+ <td class="bull">
+ <!-- TMPL_IF name="mod" -->
+ Last value
+ <!-- TMPL_ELSE -->
+ Begins with
+ <!-- /TMPL_IF -->
+ </td>
+ <td><input type="text" name="lastvalue1"
value="<!-- TMPL_VAR name="lastvalue1" -->"></td>
+ <td><input type="text" name="lastvalue2"
value="<!-- TMPL_VAR name="lastvalue2" -->"></td>
+ <td><input type="text" name="lastvalue3"
value="<!-- TMPL_VAR name="lastvalue3" -->"></td>
+ </tr>
+ </table> </div>
+</div>
+<!-- TMPL_IF name="mod" -->
+ <input type="button" value="Save subscription"
onclick="Check(this.form)" accesskey="w" class="button bull">
+<!-- TMPL_ELSE -->
+ <input type="button" value="Add subscription"
onclick="Check(this.form)" accesskey="w" class="button bull">
+<!-- /TMPL_IF -->
+</form>
+</div>
+
+
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
+
+<script language="JavaScript" type="text/javascript">
+
+function Plugin(f)
+{
+
window.open('subscription-bib-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+
+function FindAcqui(f)
+{
+
window.open('acqui-search.pl','FindASupplier','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+
+function Find_ISSN(f)
+{
+
window.open('issn-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+}
+
+
+function Check(f) {
+ if (f.startdate.value.length != 0 && f.sublength.value > 0) {
+ if (f.irreg_check.value == 1) {
+ document.f.submit();
+ } else {
+ if(f.numbering_pattern.value == ''){
+ alert("need to choose a numbering pattern");
+ } else {
+ alert("need to check for irregularity by
clicking 'Irregularity?'");
+ }
+ }
+ } else {
+ alert('field marked with * are mandatory');
+ }
+ return false;
+}
+</script>
+<!-- TMPL_IF name="mod" -->
+<script type="text/javascript">
+window.onload = modify_num_pattern();
+ <!-- TMPL_IF name="hemisphere" -->
+ window.onload = hemispheres(<!-- TMPL_VAR NAME="hemisphere" -->);
+ <!-- /TMPL_IF -->
+</script>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF name="irregularity" -->
+<script type="text/javascript">
+window.onload = irregularity_check();
+window.onload = irregular_order();
+</script>
+<!-- /TMPL_IF -->
Index: subscription-bib-search.tmpl
===================================================================
RCS file: subscription-bib-search.tmpl
diff -N subscription-bib-search.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ subscription-bib-search.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,33 @@
+ <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div id="mainbloc">
+
+<h1 class="authority">Bib search</h1>
+
+<form name="f" method="post">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="intranet">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR
NAME="nbstatements" -->">
+ <div id="bloc25">
+ <h2 class="authority">Search on</h2>
+ <p>
+ <label class="label100">Name or ISSN</label>
+ <!-- TMPL_VAR name="category" -->
+ </p>
+ <p>
+ <label class="label100">Search value</label>
+ <input type="text" name="value" value="<!-- TMPL_VAR
name="value" -->">
+ <input type="hidden" name="authtypecode" value="<!--
TMPL_VAR name="category" -->">
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <input type="hidden" name="operator" value="contains">
+ <input type="hidden" name="index" value="<!-- TMPL_VAR
name="index" -->">
+ </p>
+ <p>
+ <input type="submit" value="Start search" class="button
authority">
+ </p>
+ </div>
+</form>
+</div>
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
+
Index: subscription-detail.tmpl
===================================================================
RCS file: subscription-detail.tmpl
diff -N subscription-detail.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ subscription-detail.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,399 @@
+<!-- TMPL_INCLUDE NAME="header-start.inc" -->
+Serials
+<!-- TMPL_INCLUDE NAME="header-end.inc" -->
+<!-- TMPL_INCLUDE NAME="topnav.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-start.inc" -->
+<!-- TMPL_INCLUDE NAME="serials.inc" -->
+<!-- TMPL_INCLUDE NAME="leftnav-end.inc" -->
+
+<script type="text/javascript" language="javascript">
+<!--
+// the english words used in display purposes
+var text = new Array('Number','Volume','Issue','Month','Week','Starting
with:','Rollover at:','Choose Hemisphere:','Northern','Southern',
+'Autumn','Winter','Spring','Summer','Fall','Season','Year');
+
+// common pre defined number patterns
+function num_pattern() {
+var patternchoice = '<!--TMPL_VAR NAME='numberpattern'-->';
+ switch(patternchoice){
+ case "2":
+ options(text[1],text[0],text[2]);
+ irregularity();
+ display_table(0);
+ break;
+ case "3":
+ options(text[1],text[0]);
+ irregularity();
+ display_table(0);
+ break;
+ case "4":
+ options(text[1],text[2]);
+ irregularity();
+ display_table(0);
+ break;
+ case "5":
+ options(text[0],text[2]);
+ irregularity();
+ display_table(0);
+ break;
+ case "6":
+ var d = new Date();
+ var sYear = d.getFullYear();
+ // options_seasons(text[15],sYear);
+ irregularity();
+ is_season = 1;
+ display_table(0);
+ break;
+ case "7":
+ display_table(1);
+ irregularity();
+ break;
+ default:
+ options(text[0]);
+ irregularity();
+ display_table(0);
+ break;
+ }
+}
+
+function display_table(n) {
+ if(n==1){
+ document.getElementById("basetable").style.display = 'block';
+ } else {
+ document.getElementById("basetable").style.display = 'none';
+ }
+}
+
+// to dispaly the options section
+function options(x,y,z){
+var textbox = '';
+ // alert("X: "+x+"Y: "+y+"Z: "+z);
+ if(x){
+ document.f.xfield.value = x;
+ if(y){
+ document.f.yfield.value = y;
+ if(z){
+ document.f.zfield.value = z;
+ }
+ }
+ }
+}
+
+function irregularity(){
+ var periodicity = '<!-- TMPL_VAR NAME="periodicity"-->';
+ switch(periodicity){
+ case "1":
+ var names = new
Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
+ break;
+ case "2":
+ <!-- TMPL_IF NAME="weekarrayjs" -->
+ var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
+ <!-- /TMPL_IF -->
+ break;
+ case "3":
+ <!-- TMPL_IF NAME="weekarrayjs" -->
+ var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
+ <!-- /TMPL_IF -->
+ break;
+ case "4":
+ <!-- TMPL_IF NAME="weekarrayjs" -->
+ var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
+ <!-- /TMPL_IF -->
+ break;
+ case "5":
+ var names = new
Array('January','February','March','April','May','June','July','August','September','October','November','December');
+ break;
+ case "6":
+ var names = new
Array('January','February','March','April','May','June','July','August','September','October','November','December');
+ break;
+ case "7":
+ var names = new
Array('January','February','March','April','May','June','July','August','September','October','November','December');
+ break;
+ case "8":
+ var names = new
Array('Autumn','Winter','Spring','Summer','Fall');
+ break;
+ case "9":
+ var names = new
Array('January','February','March','April','May','June','July','August','September','October','November','December');
+ break;
+ case "10":
+ expected =1;
+ break;
+ default:
+ break;
+ }
+
+ <!-- TMPL_IF NAME="irregularity" -->
+ var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
+ var irregarray = irregular.split('|');
+ var irregtext = '<p>';
+ for(var i=0;i<irregarray.length;i++){
+ irregtext += names[i]+' ';
+ }
+ irregtext += '</p>';
+ document.getElementById("irreg").innerHTML = irregtext;
+ <!-- /TMPL_IF -->
+}
+
+-->
+</script>
+<div id="mainbloc">
+<h1 class="bull">Subscription</h1>
+<a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR
name="subscriptionid" -->" class="button bull">Edit</a>
+<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid"
-->" class="button bull">Receive</a>
+<!--<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber"
-->" class="button bull">Biblio</a>-->
+<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"
class="button bull">Biblio</a>
+<!-- TMPL_IF NAME="routing" -->
+<a href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->" class="button bull">Edit Routing List</a>
+<!-- TMPL_ELSE -->
+<a href="/cgi-bin/koha/bull/routing.pl?subscriptionid=<!-- TMPL_VAR
NAME="subscriptionid" -->&op=new" class="button bull">Create Routing List</a>
+<!-- /TMPL_IF -->
+<a href="subscription-copy.pl?subscriptionid=<!-- TMPL_VAR
name="subscriptionid" -->" class="button bull">Copy</a>
+
+
+<!-- TMPL_UNLESS name="totalissues" -->
+ <a href="javascript:confirm_deletion()" class="button bull">
+ delete
+ </a>
+<!-- /TMPL_UNLESS -->
+
+<table>
+<tr valign="top"><td>
+
+<div class="bloc25">
+ <h2 class="bull">Subscription information</h2>
+ <p><label class="label100">Librarian identity:</label> <!-- TMPL_VAR
name="librarian" --></p><br />
+
+ <p><label class="label100">Supplier:</label> <!-- TMPL_VAR
name="aqbooksellername" --> </p>
+
+ <p><label class="label100">Cost:</label> <!-- TMPL_VAR name="cost"
--> </p>
+
+ <p><label class="label100">Budget:</label> <!-- TMPL_VAR
name="bookfundid" --> </p>
+
+ <p><label class="label100">Biblio:</label> <i>(<!-- TMPL_VAR
name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p><br />
+ <p><label class="label100">Call Number:</label> <!-- TMPL_VAR
name="callnumber" --> </p>
+
+ <p><label class="label100">Notes:</label> <!-- TMPL_VAR name="notes"
--></p>
+</div>
+
+<div class="bloc25">
+ <form name="f">
+ <h2 class="bull">Planning</h2>
+ <p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR
name="startdate" -->
+ </p>
+ <p><label class="label100">Frequency (*):</label>
+ <!--TMPL_IF name="periodicity1" -->
+ 1/day
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity2" -->
+ 1/week
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity3" -->
+ 1/2 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity4" -->
+ 1/3 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity5" -->
+ 1/Month
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity6" -->
+ 1/2 Months (6/year)
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity7" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity8" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity9" -->
+ 2/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity10" -->
+ 1/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity11" -->
+ 1/2 years
+ <!-- /TMPL_IF -->
+ </p>
+ <p><label class="label100">Number Pattern:</label>
+ <!-- TMPL_IF name="numberpattern1" -->
+ Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern2" -->
+ Volume, Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern3" -->
+ Volume, Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern4" -->
+ Volume, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern5" -->
+ Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern6" -->
+ Seasonal only
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern7" -->
+ None of the above
+ <!-- /TMPL_IF -->
+ </p>
+ <table cellpadding="0" cellspacing="0">
+ <tr><td> </td>
+ <td align="right"><input type="text" name="xfield"
style="border:0px solid #FFFFFF; text-align:center;"></td>
+ <!--TMPL_IF NAME="lastvalue2"-->
+ <td align="right"><input type="text" name="yfield"
style="border:0px solid #FFFFFF; text-align:center;"></td>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF NAME="lastvalue3"-->
+ <td align="right"><input type="text" name="zfield"
style="border:0px solid #FFFFFF; text-align:center;"></td>
+ <!--/TMPL_IF-->
+ </tr>
+ <tr><td><p><label class="label100">Starting with:</label></p></td>
+ <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
+ <!--TMPL_IF NAME="lastvalue2"-->
+ <td align="center">
+ <!--TMPL_VAR NAME="lastvalue2"-->
+ </td>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF NAME="lastvalue3"-->
+ <td align="center">
+ <!--TMPL_VAR NAME="lastvalue3"-->
+ </td>
+ <!--/TMPL_IF-->
+ </tr>
+ <tr><td><p><label class="label100">Rollover:</label></p></td>
+ <td align="center"> </td>
+ <!--TMPL_IF NAME="whenmorethan2"-->
+ <td align="center">
+ <!--TMPL_VAR NAME="whenmorethan2"-->
+ </td>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF NAME="whenmorethan3"-->
+ <td align="center">
+ <!--TMPL_VAR NAME="whenmorethan3"-->
+ </td>
+ <!--/TMPL_IF-->
+ </tr>
+ </table>
+ <!-- TMPL_IF NAME="irregularity" -->
+ <p><label class="label100">Irregularity:</label>
+ <div id="irreg"></div>
+ </p>
+ <!-- /TMPL_IF -->
+ <p><label class="label100">Begins on:</label>
+ <!--TMPL_VAR name="startdate" -->
+ </p>
+ </form>
+</div>
+<div class="bloc25">
+ <h2 class="bull">Subscription length</h2>
+ <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label>
<!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label>
<!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="monthlength" --><p><label class="label100">Number of
months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
+
+</div>
+<div class="bloc25">
+ <h2 class="bull">Numbering calculation</h2>
+ <p><label class="label100">Numbering formula:</label> <!-- TMPL_VAR
name="numberingmethod" --></p>
+</div>
+<div class="bloc25" id="basetable">
+ <table cellpadding="0" cellspacing="0" border="0" class="collapse">
+ <tr>
+ <th class="cell-header"> </th>
+ <th class="cell-header">X</th>
+ <th class="cell-header">Y</th>
+ <th class="cell-header">Z</th>
+ </tr>
+ <tr>
+ <td class="cell">Add</td>
+ <td class="cell">
+ <!-- TMPL_VAR name="add1" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="add2" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="add3" -->
+ </td>
+ </tr>
+ <tr>
+ <td class="cell">once every</td>
+ <td class="cell"><!-- TMPL_VAR name="every1"
--></td>
+ <td class="cell"><!-- TMPL_VAR name="every2"
--></td>
+ <td class="cell"><!-- TMPL_VAR name="every3"
--></td>
+ </tr>
+ <tr>
+ <td class="cell">When more than</td>
+ <td class="cell"><!-- TMPL_VAR
name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
+ <i>(is <!-- TMPL_VAR name="innerloop1"
-->)</i><!-- /TMPL_IF --></td>
+ <td class="cell"><!-- TMPL_VAR
name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
+ <i>(is <!-- TMPL_VAR name="innerloop2"
-->)</i><!-- /TMPL_IF --></td>
+ <td class="cell"><!-- TMPL_VAR
name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
+ <i>(is <!-- TMPL_VAR name="innerloop3"
-->)</i><!-- /TMPL_IF --></td>
+ </tr>
+ <tr>
+ <td class="cell">Set back to</td>
+ <td class="cell"><!-- TMPL_VAR name="setto1"
--></td>
+ <td class="cell"><!-- TMPL_VAR name="setto2"
--></td>
+ <td class="cell"><!-- TMPL_VAR name="setto3"
--></td>
+ </tr>
+ <tr>
+ <td class="cell">
+ Last value
+ </td>
+ <td class="cell"><!-- TMPL_VAR
name="lastvalue1" --></td>
+ <td class="cell"><!-- TMPL_VAR
name="lastvalue2" --></td>
+ <td class="cell"><!-- TMPL_VAR
name="lastvalue3" --></td>
+ </tr>
+ </table>
+</div>
+</td><td>
+<div class="bloc25">
+ <h2 class="bull">Issues</h2>
+ <table cellpadding="0" cellspacing="0" border="0" class="collapse">
+ <tr>
+ <th class="cell-header">Issue number</th>
+ <th class="cell-header">Planned date</th>
+ <th class="cell-header">Status</th>
+ </tr>
+ <!-- TMPL_LOOP name="serialslist" -->
+ <tr>
+ <td class="cell">
+ <!-- TMPL_VAR name="serialseq" -->
+ </td>
+ <td class="cell">
+ <!-- TMPL_VAR name="planneddate" -->
+ </td>
+ <td class="cell">
+ <!--TMPL_IF name="status1" -->
+ Waited
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status2" -->
+ Arrived
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status3" -->
+ Late
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status4" -->
+ Missing
+ <!-- /TMPL_IF -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+</div>
+</td></tr>
+</table>
+
+</div>
+<script type="text/javascript">
+function _(s) { return s } // dummy function for gettext
+function confirm_deletion() {
+ var is_confirmed = confirm(_('Are you sure you want to delete this
subscription?'));
+ if (is_confirmed) {
+ window.location="subscription-detail.pl?subscriptionid=<!--
TMPL_VAR name="subscriptionid" -->&op=del";
+ }
+}
+window.onload = num_pattern();
+</script>
+<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
Index: subscription-renew.tmpl
===================================================================
RCS file: subscription-renew.tmpl
diff -N subscription-renew.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ subscription-renew.tmpl 25 Jul 2006 21:14:21 -0000 1.1.2.1
@@ -0,0 +1,38 @@
+<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
+<div id="mainbloc">
+
+ <div class="bloc25">
+ <h1 class="bull">Subscription renewal for <!-- TMPL_VAR
name="bibliotitle" --></h1>
+
+ <form name="f" method="post">
+ <input type="hidden" name="op" value="renew">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR
name="subscriptionid" -->">
+ <table>
+ <tr><td><b>Start date</b></td>
+ <td><input type="text" name="startdate" value="<!--
TMPL_VAR name="startdate" -->"></td></tr>
+ <tr><td colspan="2"><h3>Subscription length:</h3></td></tr>
+ <tr><td><b>Number of issues</b></td>
+ <td><input type="text" name="numberlength" value="<!--
TMPL_VAR name="numberlength" -->"></td></tr>
+ <tr><td>or <b>Number of weeks</b></td>
+ <td><input type="text" name="weeklength" value="<!--
TMPL_VAR name="weeklength" -->"></td></tr>
+ <tr><td>or <b>Number of months</b></td>
+ <td><input type="text" name="monthlength" value="<!--
TMPL_VAR name="monthlength" -->"></td></tr>
+ <tr><td colspan="2">Note for the librarian that will manage
your renewal request</td></tr>
+ <tr><td colspan="2"><textarea name="note" rows="5"
cols="60"></textarea></td></tr>
+ <tr><td colspan="2"><input type="submit" value="Request a
renewal" class="button bull"></td></tr>
+ </table>
+ </form>
+ </div>
+</div>
+
+ <!-- TMPL_IF NAME="done" -->
+ <script type="text/javascript">
+ <!--
+ opener.document.location.reload();
+ self.close();
+ //-->
+ </script>
+ <!-- /TMPL_IF -->
+
+<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/katipo/en/bull bul... [dev_week],
Robert Lyon <=