this file has moved from bull directory to here.
authortoins <toins>
Wed, 12 Jul 2006 12:28:38 +0000 (12:28 +0000)
committertoins <toins>
Wed, 12 Jul 2006 12:28:38 +0000 (12:28 +0000)
koha-tmpl/intranet-tmpl/prog/en/serials/result.tmpl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/serials/statecollection.tmpl [new file with mode: 0644]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/serials/result.tmpl b/koha-tmpl/intranet-tmpl/prog/en/serials/result.tmpl
new file mode 100644 (file)
index 0000000..7c1be13
--- /dev/null
@@ -0,0 +1,85 @@
+    <!-- TMPL_INCLUDE NAME="neutral-top.inc" -->
+    <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
+<div id="mainbloc">
+       <h1 class="catalogue">Search results</h1>
+       <div id="resultnumber">
+               <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="/intranet-tmpl/default/images/numbers/prev.gif" border=0>
+                               </a>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_LOOP NAME=numbers -->
+                               <!-- TMPL_IF NAME=highlight -->
+                                       <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
+                               <!-- TMPL_ELSE -->
+                                       <a 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><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></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="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
+                               <!-- /TMPL_IF -->
+               </p>
+               <p>
+                       <!-- TMPL_IF name=total -->
+                       &nbsp<b>Results <!-- TMPL_VAR name="from" --> to <!-- TMPL_VAR name="to" --> of <!-- TMPL_VAR name="total" --></b><br><br>
+                       <!-- TMPL_ELSE -->
+                       &nbsp No results found.<br>
+                       <!-- /TMPL_IF -->
+               </p>
+       </div>
+       <div id="resultlist">
+               <table>
+                       <tr>
+                       <th class="catalogue">Summary</th>
+                       <th class="catalogue">&nbsp;</th>
+                       </tr>
+                       <!-- TMPL_LOOP name="result" -->
+                       <tr>
+                               <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+                                       <p>
+                                               <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>
+                               <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+                                               <a class="transparent" href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR name="title" escape="URL" -->') ">Get it!</a>
+                               </td>
+                       </tr>
+                       <!-- /TMPL_LOOP -->
+               </table>
+       </div>
+       <div id="resultnumber">
+               <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="/intranet-tmpl/default/images/numbers/prev.gif" border=0></a>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_LOOP NAME=numbers -->
+                               <!-- TMPL_IF NAME=highlight -->
+                               <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
+                               <!-- TMPL_ELSE -->
+                               <a 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><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></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="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
+                               <!-- /TMPL_IF -->
+               </p>
+       </div>  
+</div>
+
+
+<script language="Javascript">
+
+function GetIt(bibno,title)
+{
+  opener.document.f.biblionumber.value = bibno;
+  opener.document.f.title.value = title;
+  self.close();
+}
+</script>
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/serials/statecollection.tmpl b/koha-tmpl/intranet-tmpl/prog/en/serials/statecollection.tmpl
new file mode 100644 (file)
index 0000000..46a5f35
--- /dev/null
@@ -0,0 +1,144 @@
+
+<!-- TMPL_INCLUDE name="serials-top.inc" -->
+<!-- TMPL INCLUDE NAME="menu-serials.inc"-->
+
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<div id="mainbloc">
+<h1 class="serial">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
+<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button serial" title="detail of the subscription">Subscription</a>
+<a href="/cgi-bin/koha/serials-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button serial" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
+<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button serial" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
+
+<div id="bloc25">
+<h2 class="serial">waited or late numbers</h2>
+       <form method="post" name="f" action="statecollection.pl">
+               <input type="hidden" name="op" value="modserialstatus">
+               <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 class="small">
+       <tr>
+               <th class="serial">
+                       Numbered
+               </th>
+               <th class="serial">
+                       planned for
+               </th>
+               <th class="serial">
+                       Status
+               </th>
+               <th class="serial">
+                       Notes
+               </th>
+       </tr>
+       <!-- TMPL_LOOP name="serialslist" -->
+               <tr>
+                       <td>
+                               <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size=50 maxlength=100>
+                       </td>
+                       <td>
+                               <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
+                       </td>
+                       <td>
+                               <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
+                               <select name="status" size="1">
+                                       <!--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 published</option>
+                                       <!-- TMPL_ELSE -->
+                                               <option value="5">Not published</option>
+                                       <!-- /TMPL_IF -->
+                                       <!--TMPL_IF name="status6" -->
+                                               <option value="6" selected>Delete</option>
+                                       <!-- TMPL_ELSE -->
+                                               <option value="6">Delete</option>
+                                       <!-- /TMPL_IF -->
+                               </select>
+                       </td>
+                       <td>
+                               <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
+                       </td>
+                       <td>
+                               <a href="javascript:PrintList(<!-- TMPL_VAR name="subscriptionid" -->,'<!-- TMPL_VAR name="serialseq" -->')" class="button serial">print</a>
+                       </td>
+               </tr>
+       <!-- /TMPL_LOOP -->
+       <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
+               <tr>
+                       <td>
+                               Manual issue <input type="text" name="serialseq" size=30 maxlength=100>
+                       </td>
+                       <td>
+                               <input type="text" name="planneddate" size=10 maxlength=15>
+                       </td>
+                       <td>
+                               <input type="hidden" name="serialid" value="0">
+                               <select name="status" size="1">
+                                               <option value="2">Arrived</option>
+                                               <option value="3" selected>Late</option>
+                                               <option value="4">Missing</option>
+                               </select>
+                       </td>
+               </tr>
+       <!-- /TMPL_UNLESS -->
+       </table>
+       <input type="submit" value="Save changes" accesskey="w" class="button serial">
+       <!-- TMPL_IF name="hassubscriptionexpired" -->
+               <p>Subscription has expired. Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button serial">Renew</a> your subscription</p>
+       <!-- /TMPL_IF -->
+       </form>
+</div>
+
+<div id="bloc25">
+       <h2 class="serial">Subscription summary</h2>
+       <form method="post" name="f" 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>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>&nbsp;<textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
+               <p>Missing issues</p>
+               <p>&nbsp;<textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
+               <!--TMPL_IF Name="notissuedlist"-->
+               <p>Not issued</p>
+               <p>&nbsp;<textarea name="notissuedlist" COLS=60 ROWS=2><!-- TMPL_VAR name="notissuedlist" --></textarea></p>
+               <!--/TMPL_IF-->
+               <p>Opac's note</p>
+               <p>&nbsp;<textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
+               <input type="submit" value="Save changes" class="button serial">
+       </form>
+</div>
+
+</table>
+<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 PrintList(subscriptionid,serialseq) {
+       window.open("printlist.pl?subscriptionid="+subscriptionid+"&serialseq="+serialseq);
+}
+</script>
+<!-- TMPL_INCLUDE name="serials-bottom.inc" -->