Koha/koha-tmpl/intranet-tmpl/prog/fr/serials/checkexpiration.tmpl
toins 466979fff0 fix XHTML syntax error.
writing method="post" instead of method="POST"
2007-07-16 15:54:08 +00:00

145 lines
4.9 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Expiration des abonnements</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- Additions to enable Calendar system -->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-system.css">
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar.js"></script>
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-en.js"></script>
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-setup.js"></script>
<!-- End of additions -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-serials.inc" -->
<h1>Vérification des dates d'expiration</h1>
<fieldset>
<legend>Sélectionner les abonnements qui vont expirer</legend>
<form name="f"
action="/cgi-bin/koha/serials/checkexpiration.pl"
method="post"
onsubmit="return CheckForm(this);">
<label for="title">Sélection du titre :</label>
<input id="title" type="texte" name="title" size="15" value="<!--TMPL_VAR NAME="title"-->"/>
<br />
<label for="issn">Sélection de l'ISSN :</label>
<input id="issn" type="texte" name="issn" size="15" value="<!-- TMPL_VAR NAME="issn"-->"/>
<br />
<label for="date">Date d'expiration avant le</label>
<input id="date" type="texte" name="date" size="10" value="<!-- TMPL_VAR NAME="date"-->"/>
<script type="text/javascript">
Calendar.setup(
{
inputField : "date",
ifFormat : "%Y-%m-%d",
}
);
</script>
<input type="submit" value="Rechercher">
</form>
</fieldset>
<!-- TMPL_IF NAME="subscriptions_loop"-->
<p>
<b><!-- TMPL_VAR NAME="numsubscription"--></b> abonnement(s)
<!-- TMPL_IF NAME="title"-->
avec comme titre <b><!-- TMPL_VAR NAME="title"--></b>
<!-- TMPL_IF NAME="issn"-->et <!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="issn"-->
issn tel que <b><!-- TMPL_VAR NAME="issn" --></b>
<!-- /TMPL_IF -->
vont expirer avant <b><!-- TMPL_VAR NAME="date" --></b>
</p>
<div class="searchresults">
<table>
<tr>
<th>
issn
</th>
<th>
titre
</th>
<th>
Note
</th>
<th>
Date d'expiration
</th>
</tr>
<!-- TMPL_LOOP NAME="subscriptions_loop"-->
<!-- TMPL_IF NAME="toogle"-->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td>
<!-- TMPL_VAR NAME="issn" -->
</td>
<td>
<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
<a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
<!-- TMPL_IF NAME="title"-->
<!-- TMPL_VAR NAME="title" -->
<!-- TMPL_ELSE -->
|
<!-- /TMPL_IF -->
</a>
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="BiblioDefaultViewisbd" -->
<a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
<!-- TMPL_IF NAME="title"-->
<!-- TMPL_VAR NAME="title" -->
<!-- TMPL_ELSE -->
|
<!-- /TMPL_IF -->
</a>
<!-- TMPL_ELSE -->
<a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
<!-- TMPL_IF NAME="title"-->
<!-- TMPL_VAR NAME="title" -->
<!-- TMPL_ELSE -->
|
<!-- /TMPL_IF -->
</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_VAR NAME="notes"-->
</td>
<td>
<!-- TMPL_VAR NAME="expirationdate" -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- /TMPL_IF -->
<script type="text/javascript" language="JavaScript">
// <![CDATA[
document.f.datenumber.focus();
/**
* Function CheckForm
* This function checks the form before submit
*/
function CheckForm(form){
if(form.datenumber.value){
return true;
}
else {
alert("you must write a date !");
document.f.datenumber.focus();
return false;
}
}
// ]]>
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->