Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
149 lines
4.9 KiB
Text
149 lines
4.9 KiB
Text
[% USE KohaDates %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Serials › Check expiration</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% INCLUDE 'calendar.inc' %]
|
|
[% USE Branches %]
|
|
<script type="text/javascript" language="JavaScript">
|
|
// <![CDATA[
|
|
/**
|
|
* Function CheckForm
|
|
* This function checks the form before submit
|
|
*/
|
|
function CheckForm(form){
|
|
if(form.date.value){
|
|
return true;
|
|
}
|
|
else {
|
|
alert(_("You must enter a date!"));
|
|
document.f.date.focus();
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function popup(subscriptionid) {
|
|
newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes,resize=yes');
|
|
}
|
|
|
|
// ]]>
|
|
</script>
|
|
<!-- End of additions -->
|
|
</head>
|
|
<body id="ser_checkexpiration" class="ser">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'serials-search.inc' %]
|
|
|
|
<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>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>Check expiration</h1>
|
|
|
|
<form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" onsubmit="return CheckForm(this);">
|
|
<fieldset class="rows">
|
|
<legend>Filter results:</legend>
|
|
|
|
<ol>
|
|
<li><label for="title">Title:</label>
|
|
<input id="title" type="text" name="title" size="15" value="[% title %]" /></li>
|
|
|
|
<li><label for="issn">ISSN:</label>
|
|
<input id="issn" type="text" name="issn" size="15" value="[% issn %]" /></li>
|
|
[% IF (branches_loop.size) %]
|
|
<li><label for="branch">Library:</label>
|
|
<select id="branch" name="branch">
|
|
<option value="">All</option>
|
|
[% FOREACH branch IN branches_loop %]
|
|
[% IF branch.selected %]
|
|
<option selected="selected" value="[% branch.branchcode %]">
|
|
[% ELSE %]
|
|
<option value="[% branch.branchcode %]">
|
|
[% END %]
|
|
[% branch.branchname %]
|
|
</option>
|
|
[% END %]
|
|
</select>
|
|
</li>
|
|
[% END %]
|
|
|
|
<li><label for="date" class="required" title="Required field">Expiring before:</label>
|
|
<input id="date" type="text" name="date" size="10" value="[% date | $KohaDates %]" class="focus datepicker" />
|
|
<span class="required">Required</span>
|
|
<div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
|
|
</ol>
|
|
|
|
</fieldset>
|
|
<fieldset class="action"><input type="submit" value="Search" /></fieldset>
|
|
</form>
|
|
|
|
[% IF ( subscriptions_loop ) %]
|
|
<p>
|
|
<b>[% numsubscription %]</b> subscription(s)
|
|
[% IF ( title ) %]
|
|
with title matching <span class="title">[% title %]</class>
|
|
[% IF ( issn ) %]and [% END %]
|
|
[% END %]
|
|
[% IF ( issn ) %]
|
|
with ISSN matching <b>[% issn %]</b>
|
|
[% END %]
|
|
will expire before <b>[% date | $KohaDates %]</b>
|
|
</p>
|
|
<table>
|
|
<tr>
|
|
<th>ISSN</th>
|
|
<th>Title</th>
|
|
[% IF ( branches_loop.size ) %]<th>Library</th>[% END %]
|
|
<th>OPAC note</th>
|
|
<th>Nonpublic note</th>
|
|
<th>Expiration date</th>
|
|
<th colspan="2"> </th>
|
|
</tr>
|
|
[% FOREACH subscriptions_loo IN subscriptions_loop %]
|
|
[% IF ( subscriptions_loo.toogle ) %]
|
|
<tr class="highlight">
|
|
[% ELSE %]
|
|
<tr>
|
|
[% END %]
|
|
<td>
|
|
[% subscriptions_loo.issn %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
|
|
[% subscriptions_loo.title |html %]
|
|
[% ELSE %]
|
|
|
|
|
[% END %]
|
|
</a>
|
|
</td>
|
|
[% IF ( branches_loop.size ) %]<td>
|
|
[% Branches.GetName( subscriptions_loo.branchcode ) %]
|
|
</td>[% END %]
|
|
<td>
|
|
[% subscriptions_loo.notes %]
|
|
</td>
|
|
<td>
|
|
[% subscriptions_loo.internalnotes %]
|
|
</td>
|
|
<td>
|
|
[% subscriptions_loo.expirationdate | $KohaDates %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
|
|
<td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;">Renew</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% ELSIF searched %]
|
|
<p>No results for your query</p>
|
|
[% END %]
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
[% INCLUDE 'serials-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|