1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials › Check Expiration</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
5 <script type="text/javascript" language="JavaScript">
9 * This function checks the form before submit
11 function CheckForm(form){
16 alert(_("You must enter a date !"));
17 document.f.date.focus();
22 function popup(subscriptionid) {
23 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes,resize=yes');
28 <!-- End of additions -->
31 <!-- TMPL_INCLUDE NAME="header.inc" -->
32 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
34 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Check expiration </div>
36 <div id="doc3" class="yui-t2">
42 <h1>Check expiration</h1>
44 <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" onsubmit="return CheckForm(this);">
45 <fieldset class="rows">
46 <legend>Filter results :</legend>
49 <li><label for="title">Title:</label>
50 <input id="title" type="text" name="title" size="15" value="<!--TMPL_VAR NAME="title"-->" /></li>
52 <li><label for="issn">ISSN:</label>
53 <input id="issn" type="text" name="issn" size="15" value="<!-- TMPL_VAR NAME="issn"-->" /></li>
55 <li><label for="date" class="required" title="Required field">Expiring before:</label>
56 <input id="date" type="text" name="date" size="10" value="<!-- TMPL_VAR NAME="date"-->" class="focus" />
57 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="openCalendar" style="cursor: pointer;" />
58 <script type="text/javascript">
61 button : "openCalendar",
63 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
66 </script> <span class="required">Required</span>
67 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div></li>
71 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
74 <!-- TMPL_IF NAME="subscriptions_loop"-->
76 <b><!-- TMPL_VAR NAME="numsubscription"--></b> subscription(s)
77 <!-- TMPL_IF NAME="title"-->
78 with title matching <span class="title"><!-- TMPL_VAR NAME="title"--></class>
79 <!-- TMPL_IF NAME="issn"-->and <!-- /TMPL_IF -->
81 <!-- TMPL_IF NAME="issn"-->
82 with ISSN matching <b><!-- TMPL_VAR NAME="issn" --></b>
84 will expire before <b><!-- TMPL_VAR NAME="date" --></b>
91 <th>Expiration date</th>
92 <th colspan="2"> </th>
94 <!-- TMPL_LOOP NAME="subscriptions_loop"-->
95 <!-- TMPL_IF NAME="toogle"-->
96 <tr class="highlight">
101 <!-- TMPL_VAR NAME="issn" -->
103 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" ESCAPE="URL" -->"><!-- TMPL_IF NAME="title"-->
104 <!-- TMPL_VAR NAME="title" escape="html" -->
111 <!-- TMPL_VAR NAME="notes"-->
114 <!-- TMPL_VAR NAME="expirationdate" -->
116 <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit</a></td>
117 <td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" onclick="popup(<!-- TMPL_VAR NAME="subscriptionid" -->); return false;">Renew</a></td>
122 <p>No results for your query</p>
129 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
132 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->