synch'ing 2.0.0 branch (RC4 tag) and head

This commit is contained in:
tipaul 2004-02-11 08:42:01 +00:00
parent 3635a596cf
commit af08d677c5
41 changed files with 3149 additions and 2011 deletions

View File

@ -192,9 +192,9 @@ sub searchauthority {
push(@bind,$searchstring);
}
# $query .= " and freelib like \"$searchstring%\"" if ($searchstring);
$query .= " order by category,freelib limit ?,?";
$query .= " limit ?,?";
push(@bind,$offset,($pagesize*4));
# warn "q : $query";
warn "q : $query".@bind;
my $sth=$dbh->prepare($query);
$sth->execute(@bind);
my @results;
@ -218,7 +218,7 @@ sub searchauthority {
my ($cnt) = $sth->fetchrow;
$cnt = $pagesize+1 if ($cnt>$pagesize);
$sth->finish();
return ($cnt,\@results);
return ($#results,\@results);
}
=item SearchDeeper

View File

@ -409,6 +409,21 @@ sub patrontable {
noissues => 'true',
color => $color,
);
if ($flag eq 'GNA'){
$template->param(
gna => 'true'
);
}
if ($flag eq 'LOST'){
$template->param(
lost => 'true'
);
}
if ($flag eq 'DBARRED'){
$template->param(
dbarred => 'true'
);
}
if ($flag eq 'CHARGES') {
$template->param(
charges => 'true',

View File

@ -1,39 +1,37 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_LOOP NAME="BORROWER_INFO">
<FONT SIZE=6><em>Compte de <TMPL_VAR NAME="firstname"> <TMPL_VAR NAME="surname"></em></FONT>
[<a href=/cgi-bin/koha/opac-user.pl>Accueil</a>][<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]<p>
</TMPL_LOOP>
<center>
<p>
<TABLE CELLSPACING=0 CELLPADDING=5 border=1>
<TR VALIGN=TOP>
<td bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif' colspan=2><B>Dettes</TD>
<td bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif' colspan=1><B>COUT</TD>
<td bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif' colspan=1><B>EN ATTENTE</TD>
<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
<p><font size="6"><em>Compte de <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></em></font></p>
<!-- /TMPL_LOOP -->
<table border="1" cellspacing="0" cellpadding="5" align="center">
<tr valign="top">
<td bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif" colspan="2"><B>FINES &amp; CHARGES</b></td>
<td bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif" colspan="1"><B>COUT</b></TD>
<td bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif" colspan="1"><B>EN ATTENTE</b></td>
</TR>
<TMPL_LOOP NAME="ACCOUNT_LINES">
<tr VALIGN=TOP >
<td><TMPL_VAR NAME="date"></td>
<TD><TMPL_VAR NAME="description">
<TMPL_IF NAME="print_title"><TMPL_VAR NAME="title"></TMPL_IF></td>
<!-- TMPL_LOOP NAME="ACCOUNT_LINES" -->
<tr valign="top">
<td><!-- TMPL_VAR NAME="date" --></td>
<td><!-- TMPL_VAR NAME="description" -->
<!-- TMPL_IF NAME="print_title" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
<td><TMPL_VAR NAME="amount"></td>
<TD><TMPL_VAR NAME="amountoutstanding"></td>
<td><!-- TMPL_VAR NAME="amount" --></td>
<td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
<tr VALIGN=TOP >
<TD></td>
<TD colspan=2><b>Total dû</b></td>
<tr valign="top">
<td></td>
<td colspan="2"><b>Total dû</b></td>
<TD><b><TMPL_VAR NAME="total"></b></td>
<td><b><!-- TMPL_VAR NAME="total" --></b></td>
</tr>
</table>
<br clear=all>
<br clear="all">
<p> &nbsp; </p>
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,49 +1,40 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<TMPL_IF NAME="nopermission">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<!-- TMPL_IF NAME="nopermission" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>Désolé, je pense que vous n'avez pas les permissions suffisantes.<h2>
</TMPL_IF>
<h2>Désolé, je pense que vous n'avez pas les permissions suffisantes..<h2>
<!-- /TMPL_IF -->
<TMPL_IF NAME="timed_out">
<!-- This is what is displayed if Connecter has timed out -->
<!-- TMPL_IF NAME="timed_out" -->
<!-- This is what is displayed if login has timed out -->
<h2>Déconnecté. Identifiez vous à nouveau.<h2>
</TMPL_IF>
<!-- /TMPL_IF -->
<TMPL_IF NAME="different_ip">
<!-- TMPL_IF NAME="different_ip" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>Vous avez changé d'adresse IP. Identifiez vous à nouveau<h2>
</TMPL_IF>
<h2>Vous avez changé d'adresse IP. Identifiez vous à nouveau.<h2>
<!-- /TMPL_IF -->
<TMPL_IF NAME="invalid_username_or_password">
<!-- TMPL_IF NAME="invalid_username_or_password" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>Identifiant ou mot de passe erroné. Essayez encore.<h2>
</TMPL_IF>
<h2>Identifiant ou mot de passe erroné. Essayez encore..<h2>
<!-- /TMPL_IF -->
<TMPL_IF NAME="loginprompt">
<!-- Connecter prompt time-->
<!-- TMPL_IF NAME="loginprompt" -->
<!-- login prompt time-->
<center>
<form action='<TMPL_VAR NAME="url">' method="post">
<TMPL_LOOP NAME="INPUTS">
<input type="hidden" name='<TMPL_VAR NAME="name">' value='<TMPL_VAR NAME="value">'>
</TMPL_LOOP>
<table border="0" cellpadding="10" cellspacing="0" width="60%">
<tr><td align="center" valign="top">
<table border="0" bgcolor="#dddddd" cellpadding="10" cellspacing="0">
<tr><th colspan="2" background="/images/background-mem.gif"><font size="+2">Identifiant Koha</font></th></tr>
<tr><td>N° de carte:</td><td><input name="userid"></td></tr>
<form action="<!-- TMPL_VAR NAME="url" -->" method="post">
<!-- TMPL_LOOP NAME="INPUTS" -->
<input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->">
<!-- /TMPL_LOOP -->
<table border="0" bgcolor="#dddddd" cellpadding="10" cellspacing="0" align="center">
<tr><th colspan="2" background="/images/background-mem.gif"><h3>Identifiant Koha</h3></th></tr>
<tr><td>N° de carte:</td><td><input type="text" name="userid"></td></tr>
<tr><td>Mot de passe ::</td><td><input type="password" name="password"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Connecter"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="S'identifier"></td></tr>
</table>
</td><td align="center" valign="top">
</td></tr>
</table>
</form>
</TMPL_IF>
<!-- /TMPL_IF -->

View File

@ -1,81 +1,75 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_IF NAME="loggedinusername">
<p align="left">Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href="/cgi-bin/koha/opac-user.pl">Accueil lecteur</a>][<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Déconnecter</a>]</p>
<TMPL_ELSE>
<p align="left"><a href="/cgi-bin/koha/opac-user.pl">S'identifier</a> à Koha</p>
</TMPL_IF>
<!-- TMPL_UNLESS NAME="norequests" -->
<p align="right"><a href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">Reserver</a></p>
<!-- /TMPL_UNLESS -->
<TMPL_UNLESS NAME="norequests">
<p align="right"><a href="/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" ESCAPE=URL>">Reserver</a></p>
</TMPL_UNLESS>
<TMPL_LOOP NAME="BIBLIO_RESULTS">
<p><font size="6"><em><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author">)
<TMPL_VAR NAME="class"></em></font></p>
<table cellspacing="0" cellpadding="5" border="1" align="left" width="220">
<!-- Notice bibliographique TABLE -->
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
<p><font size="6"><em><!-- TMPL_VAR NAME="title" -->
<!-- TMPL_VAR NAME="class" --></em></font></p>
<p>
<table cellspacing="0" cellpadding="5" border="1" align="left" width="30%">
<!-- BIBLIO RECORD TABLE -->
<tr valign="top">
<td bgcolor="#99cccc">
<b>Notice bibliographique</b>
<TMPL_VAR NAME="biblionumber">
<b><!-- TMPL_VAR NAME="title" --></b> ( Enr. <!-- TMPL_VAR NAME="biblionumber" --> )
</td>
</tr>
<tr valign="top">
<td>
<FONT size="2" face="arial,helvetica,sans-serif">
<TMPL_IF name="subtitle"><b>Sous-titre:</b></TMPL_IF> <TMPL_VAR NAME="subtitle">
<TMPL_IF name="author"><b>Auteur:</b> <a href="/cgi-bin/koha/search.pl?author=<TMPL_VAR NAME="author" ESCAPE=URL>"><TMPL_VAR NAME="author"></a></TMPL_IF><br>
<TMPL_IF name="additional"><b>Autres auteurs:</b><TMPL_VAR NAME="additional"><br></TMPL_IF>
<TMPL_IF name="publishercode"><b>Publié par :</b></TMPL_IF> <TMPL_VAR NAME="publishercode">
<TMPL_IF name="publicationyear"><b>dans </b></TMPL_IF><TMPL_VAR NAME="publicationyear">
<TMPL_IF name="pages">, </TMPL_IF><TMPL_VAR name="pages">
<TMPL_IF name="size">, </TMPL_IF><TMPL_VAR name="size"><br>
<TMPL_IF name="collection"><b>Collection:</b></TMPL_IF> <TMPL_VAR NAME="seriestitle"><br>
<TMPL_IF name="subject"><b>Sujet:</b></TMPL_IF> <TMPL_VAR NAME="subject"><br>
<TMPL_IF name="copyrightdate"><b>Année :</b></TMPL_IF> <TMPL_VAR NAME="copyrightdate"><br>
<TMPL_IF name="notes"><b>Notes:</b></TMPL_IF> <TMPL_VAR NAME="notes"><br>
<TMPL_IF name="unititle"><b>Titre unifié:</b></TMPL_IF> <TMPL_VAR NAME="unititle"><br>
<TMPL_IF name="serial"><b>Périodique:</b><TMPL_VAR NAME="serial"></TMPL_IF><br>
<TMPL_IF name="dewey"><b>Dewey:</b></TMPL_IF><TMPL_VAR name="dewey"><br>
<TMPL_IF name="url"><b>URL:</b> <a href="<TMPL_VAR name="url">"><TMPL_VAR NAME="url"></a></TMPL_IF><br>
<b>Nombre total d'exemplaires:</b> <TMPL_VAR NAME="count">
<font size="2" face="arial,helvetica,sans-serif">
<!-- TMPL_IF name="isbn" --><b>ISBN:</b><a href="/cgi-bin/koha/opac-searchresults.pl?isbn=<!-- TMPL_VAR NAME="isbn" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="ISBN" --></a><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="subtitle" --><b>Sous-titre:</b><!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="author" --><b>Auteur:</b> <a href="/cgi-bin/koha/opac-searchresults.pl?author=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="additional" --><b>Autres auteurs:</b><!-- TMPL_VAR NAME="additional" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="publishercode" --><b>Publié par :</b><!-- TMPL_VAR NAME="publishercode" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="publicationyear" --><b>en </b><!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="pages" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
<!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" --><br>
<!-- TMPL_IF name="collection" --><b>Collection:</b> <!-- TMPL_VAR NAME="seriestitle" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="subject" --><b>Sujet:</b> <!-- TMPL_VAR NAME="subject" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="copyrightdate" --><b>Année :</b> <!-- TMPL_VAR NAME="copyrightdate" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="notes" --><b>Notes:</b> <!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="unititle" --><b>Titre unifié:</b> <!-- TMPL_VAR NAME="unititle" --><!-- /TMPL_IF --> <br>
<!-- TMPL_IF name="serial" --><b>Périodique:</b><!-- TMPL_VAR NAME="serial" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="dewey" --><b>Dewey:</b> <a href="/cgi-bin/koha/opac-searchresults.pl?type=opac&dewey=<!-- TMPL_VAR NAME="dewey" ESCAPE="URL" -->"><!-- TMPL_VAR name="dewey" --></a><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="classification" --><b>Classification:</b> <!-- TMPL_VAR name="classification" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="lccn" --><b>LCCN:</b> <!-- TMPL_VAR name="lccn" --><!-- /TMPL_IF --><br>
<!-- TMPL_IF name="url" --><b>URL:</b> <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a><!-- /TMPL_IF --><br>
<b>Nombre total d'exemplaires:</b> <!-- TMPL_VAR NAME="count" -->
</font>
</td>
</tr>
</table>
</TMPL_LOOP>
<table border="0" cellspacing="2" cellpadding="2" align="center">
<!-- /TMPL_LOOP -->
<table border="0" cellspacing="0" cellpadding="2" width="60%">
<tr bgcolor="#99cccc">
<td>Type d'ouvrage :</td>
<td>Classe</td>
<td>Localisation</td>
<td>Date retour</td>
<td>Vu</td>
<td>Code barre</td>
<th>Type d'ouvrage</th>
<th>Localisation</th>
<th>Date retour</th>
<th>Vu</th>
<th>Code barre</th>
</tr>
<TMPL_LOOP NAME="ITEM_RESULTS">
<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td><TMPL_VAR NAME="class"></td>
<td><TMPL_VAR NAME="branchname"></td>
<td><TMPL_VAR NAME="datedue"></td>
<td><TMPL_VAR NAME="datelastseen"></td>
<td><TMPL_VAR NAME="barcode"></td>
<td><!-- TMPL_VAR NAME="description" --></td>
<td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_IF name="bulk" --> <!-- TMPL_VAR NAME="bulk" --><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="datedue" --></td>
<td><!-- TMPL_VAR NAME="datelastseen" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
</tr>
</TMPL_LOOP>
<TMPL_LOOP NAME="WEB_RESULTS">
<!-- /TMPL_LOOP -->
<!-- TMPL_LOOP NAME="WEB_RESULTS" -->
<tr>
<td><TMPL_VAR NAME="itemtype"></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td>Site web</td>
<td>En ligne</td>
<td>Disponible</td>
<td>&nbsp;</td>
<td><TMPL_VAR NAME="url"></td>
<td><!-- TMPL_VAR NAME="url" --></td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
</table>
<p>
</p>
<p><br clear="all"></p>
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,107 +1,130 @@
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso8859-1">
<TITLE>WELCOME TO THE KOHA OPAC </TITLE>
<title>Bienvenue dans l'OPAC de Koha</title>
<style type="text/css">
<!--
input{font-size:16px}
a {
font-weight: normal;
a:link {
text-decoration: none;
cursor: hand;
color:#FFFFFF;
padding:4px;
color : #FFFFFF;
text-decoration : none;
padding: 4px;
font-weight: bold;
}
a:visited {
text-decoration: none;
cursor: hand;
color : #FFFFFF;
text-decoration : none;
padding: 4px;
font-weight: bold;
}
a:hover {
text-decoration: none;
cursor: hand;
color : #FFFFCC;
text-decoration : none;
padding: 4px;
font-weight: bold;
}
a:active {
text-decoration: none;
cursor: hand;
color : #FFFFCC;
text-decoration : none;
padding: 4px;
font-weight: bold;
}
body {
background-color : #339999;
color : #000000;
margin : 0px;
padding : 0px;
}
input {
font-size: 16px;
}
-->
</style>
</head>
<body onload="document.catsearch.keyword.focus();">
</HEAD>
<BODY onload="document.catsearch.keyword.focus()"
BGCOLOR="#339999"
text="black"
link="white"
vlink="white"
alink="#663366"
leftmargin=0
topmargin=0
marginheight=0
marginwidth=0 >
<center>
<table cellspacing=0 cellpadding=0 border=0 >
<tr valign=center >
<td background="<TMPL_VAR NAME='themelang'>/images/front-background-med.gif">
<img src="<TMPL_VAR NAME='themelang'>/images/holder.gif" width=1 height=440 align=left alt="" hspace=0 vspace=0>
<table cellspacing=0 cellpadding=0 border=0>
<tr valign=center >
<td background=" "><img src="<TMPL_VAR NAME='themelang'>/images/holder.gif" width=260 height=88 alt=" " hspace=0 vspace=0></td>
<td background=" "><img src="<TMPL_VAR NAME='themelang'>/images/holder.gif" width=30 height=88 alt=" " hspace=0 vspace=0></td>
<td background=" "><img src="<TMPL_VAR NAME='themelang'>/images/holder.gif" width=350 height=88 alt=" " hspace=0 vspace=0></td>
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="<!-- TMPL_VAR NAME="themelang" -->/images/front-background-med.gif">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" alt="" width="1" height="440" hspace="0" vspace="0" border="0" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" alt="" width="260" height="88" hspace="0" vspace="0" border="0"></td>
<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" alt="" width="30" height="88" hspace="0" vspace="0" border="0"></td>
<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" alt="" width="350" height="88" hspace="0" vspace="0" border="0"></td>
</tr>
<tr valign=top >
<tr>
<td align="right">
<img src="<TMPL_VAR NAME='themelang'>/images/holder.gif" width=1 height=30 alt=" " hspace=0 vspace=0>
<i><b>Koha<br/>
SIGB sous licence libre<br/><br/></b>
Koha : un don, une contribution<br/> en langue Maori</i>
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/holder.gif" alt="" width="1" height="30" hspace="0" vspace="0" border="0">
<!-- TMPL_VAR name="LibraryName" -->
</td>
<td valign="top">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<!-- TMPL_VAR NAME="themelang" -->/images/front-arrow.gif" alt="" border="0" width="27" height="22">
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<TMPL_VAR NAME='themelang'>/images/front-arrow.gif" border=0>
</td>
<td>
<font size=+2>
<font size="+2">
Chercher dans le catalogue
</font>
<FORM ACTION="/cgi-bin/koha/opac-searchresults.pl" name=catsearch>
<input type=hidden name=type value=opac>
<input type=text size="27" name="keyword"><br>
<b>Saisissez et validez avec Entrée</b><br>
<form action="/cgi-bin/koha/opac-searchresults.pl" name="catsearch" id="catsearch">
<input type="hidden" name="type" value="opac">
<input type="text" name="keyword" size="27"><br>
<b>Saisissez et validez avec Entrée.</b><br>
<a href="/cgi-bin/koha/opac-search.pl">
<img src="<TMPL_VAR NAME='themelang'>/images/front-arrow.gif" width=20 alt="-" hspace=0 vspace=0 border=0 align=middle >
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/front-arrow-small.gif" alt="-" width="20" height="16" hspace="0" vspace="0" border="0" align="middle">
Recherche avancée
</a>
</form>
</td>
</tr>
<tr valign=top height="50">
<tr>
<td>&nbsp;</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<TMPL_VAR NAME='themelang'>/images/front-arrow.gif" border=0>
<td valign="top">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<!-- TMPL_VAR NAME="themelang" -->/images/front-arrow.gif" alt="" width="27" height="22" border="0">
</td>
<td>
<font size=+2>
<font size="+2">
Acquisitions récentes
</font><br/>
</font><br>
<form action="/cgi-bin/koha/opac-new.pl" name="new">
<TMPL_VAR name="CGIitemtype"> acquis <br/>
dans les derniers <b><input type="text" name="duration" value="30" size=3></b> jours
<br/>
<!-- TMPL_VAR name="CGIitemtype" --> <b>acquis <br>
dans les derniers <input type="text" name="duration" value="30" size=3> jours</b>
<br>
<input type="submit" value="OK">
</form>
</td>
</tr>
<tr valign=center>
<tr>
<td>&nbsp;</td>
<td>
<img src="<TMPL_VAR NAME='themelang'>/images/front-arrow.gif" border=0>
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/front-arrow.gif" alt="" width="27" height="22" border="0">
</td>
<td>
<TMPL_IF NAME="loggedinuser">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href="/cgi-bin/koha/opac-user.pl">S'identifier</a></p>
</TMPL_IF>
<!-- TMPL_IF NAME="loggedinuser" -->
<p align="left">Connecté en tant que: <!-- TMPL_VAR NAME="loggedinuser" --> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Déconnecter</a>]</p>
<!-- TMPL_ELSE -->
<p align="left"><a href="/cgi-bin/koha/opac-user.pl">S'identifier</a></p>
<!-- /TMPL_IF -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>

View File

@ -1,29 +1,23 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<center>
<TMPL_IF NAME="loggedinuser">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<br>
<TMPL_LOOP NAME="BIBITEM_DATA">
<a href=/cgi-bin/koha/request.pl?bib=<TMPL_VAR NAME="biblionumber">
<!-- TMPL_LOOP NAME="BIBITEM_DATA" -->
<a href=/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->
<img src=/images/requests.gif
width=120 height=42 border=0 align=right border=0></a>
<FONT SIZE=6><em><a
href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR NAME="biblionumber">&type=intra><TMPL_VAR NAME="title">
(<TMPL_VAR NAME="author">)</a></em></FONT><P>
href=/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&type=intra><!-- TMPL_VAR NAME="title" -->
(<!-- TMPL_VAR NAME="author" -->)</a></em></FONT><P>
<p>
<form action=/cgi-bin/koha/modbibitem.pl>
<input type=hidden name=bibitem value=<TMPL_VAR NAME="biblioitemnumber">>
<input type=hidden name=biblio value=<TMPL_VAR NAME="biblionumber">>
<input type=hidden name=bibitem value=<!-- TMPL_VAR NAME="biblioitemnumber" -->>
<input type=hidden name=biblio value=<!-- TMPL_VAR NAME="biblionumber" -->>
<!-------------------BIBLIO ITEM------------>
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left>
<TR VALIGN=TOP>
<td bgcolor="99cc33" background="/images/background-mem.gif"
><B><TMPL_VAR NAME="biblioitemnumber"> GROUPE <TMPL_VAR NAME="description"> </b> </TD>
><B><!-- TMPL_VAR NAME="biblioitemnumber" --> GROUPE <!-- TMPL_VAR NAME="description" --> </b> </TD>
</TR>
<tr VALIGN=TOP >
<TD width=210 >
@ -33,68 +27,68 @@ BORDER=0 src="/images/Modifier-mem.gif">
BORDER=0 src="/images/Supprimer-mem.gif">
<br>
<FONT SIZE=2 face="arial, helvetica">
<b>Numéro notice ::</b> <TMPL_VAR NAME="biblionumber"><br>
<b>Type d'ouvrage ::</b> <TMPL_VAR NAME="itemtype"><br>
<b>URL:</b> <TMPL_VAR NAME="url"><br>
<b>Durée prêt:</b> <TMPL_VAR NAME="loanlength"><br>
<b>Coût du prêt:</b> <TMPL_VAR NAME="rentalcharge"><br>
<b>Classification:</b> <TMPL_VAR NAME="classification"><TMPL_VAR NAME="dewey"><TMPL_VAR NAME="subclass"><br>
<b>ISBN:</b> <TMPL_VAR NAME="isbn"><br>
<b>Editions:</b> <TMPL_VAR NAME="publishercode"> <br>
<b>Placer:</b> <TMPL_VAR NAME="place"><br>
<b>Date:</b> <TMPL_VAR NAME="publicationyear"><br>
<b>Volume:</b> <TMPL_VAR NAME="volumeddesc"><br>
<b>Pages:</b> <TMPL_VAR NAME="pages"><br>
<b>Illus:</b> <TMPL_VAR NAME="illus"><br>
<b>Taille:</b> <TMPL_VAR NAME="size"><br>
<b>Notes:</b> <TMPL_VAR NAME="bnotes"><br>
<b>N° ouvrage:</b> <TMPL_VAR NAME="count">
<b>Numéro notice ::</b> <!-- TMPL_VAR NAME="biblionumber" --><br>
<b>Type d'ouvrage:</b> <!-- TMPL_VAR NAME="itemtype" --><br>
<b>URL:</b> <!-- TMPL_VAR NAME="url" --><br>
<b>Durée prêt:</b> <!-- TMPL_VAR NAME="loanlength" --><br>
<b>Coût du prêt:</b> <!-- TMPL_VAR NAME="rentalcharge" --><br>
<b>Classification:</b> <!-- TMPL_VAR NAME="classification" --><!-- TMPL_VAR NAME="dewey" --><!-- TMPL_VAR NAME="subclass" --><br>
<b>ISBN:</b> <!-- TMPL_VAR NAME="isbn" --><br>
<b>Editions:</b> <!-- TMPL_VAR NAME="publishercode" --> <br>
<b>Placer:</b> <!-- TMPL_VAR NAME="place" --><br>
<b>Date:</b> <!-- TMPL_VAR NAME="publicationyear" --><br>
<b>Volume:</b> <!-- TMPL_VAR NAME="volumeddesc" --><br>
<b>Pages:</b> <!-- TMPL_VAR NAME="pages" --><br>
<b>Illus:</b> <!-- TMPL_VAR NAME="illus" --><br>
<b>Taille:</b> <!-- TMPL_VAR NAME="size" --><br>
<b>Notes:</b> <!-- TMPL_VAR NAME="bnotes" --><br>
<b>N° ouvrage:</b> <!-- TMPL_VAR NAME="count" -->
</font>
</TD>
</tr>
</table>
</form>
</TMPL_LOOP>
<TMPL_LOOP NAME="ITEM_DATA">
<!-- /TMPL_LOOP -->
<!-- TMPL_LOOP NAME="ITEM_DATA" -->
<img src="/images/holder.gif" width=16 height=300 align=left>
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left width=220 >
<TR VALIGN=TOP>
<td bgcolor="99cc33" background="/images/background-mem.gif"><B>CODE BARRE
<TMPL_VAR NAME="barcode"></b></TD>
<!-- TMPL_VAR NAME="barcode" --></b></TD>
</TR>
<tr VALIGN=TOP>
<TD width=220>
<form action=/cgi-bin/koha/moditem.pl method=post>
<input type=hidden name=bibitem value=<TMPL_VAR NAME="biblionumber">>
<input type=hidden name=item value=<TMPL_VAR NAME="itemnumber">>
<input type=hidden name=type value=<TMPL_VAR NAME="type">>
<input type=hidden name=bibitem value=<!-- TMPL_VAR NAME="biblionumber" -->>
<input type=hidden name=item value=<!-- TMPL_VAR NAME="itemnumber" -->>
<input type=hidden name=type value=<!-- TMPL_VAR NAME="type" -->>
<INPUT TYPE="image" name="submit" VALUE="Modifier" height=42 WIDTH=93
BORDER=0 src="/images/Modifier-mem.gif">
<INPUT TYPE="image" name="Supprimer" VALUE="Supprimer" height=42 WIDTH=93
BORDER=0 src="/images/Supprimer-mem.gif">
<br>
<FONT SIZE=2 face="arial, helvetica">
<b>Annexe propriétaire:</b> <TMPL_VAR NAME="homebranch"><br>
<b>Vu:</b> <TMPL_VAR NAME="datelastseen"><br>
<b>Dernier prêt:</b> <TMPL_VAR NAME="timestamp0"><br>
on issue bit <!-- FIXME - What's this, then? -->
<b>Dernier emprunteur 1:</b> <TMPL_VAR NAME="card0"><br>
<b>Dernier emprunteur 2:</b> <TMPL_VAR NAME="card1"><br>
<b>Annexe:</b> <TMPL_VAR NAME="holdingbranch"><br>
<b>Coût de remplacement:</b> <TMPL_VAR NAME="replacementprice"><br>
<b>Ouvrage perdu:</b> <TMPL_VAR NAME="itemlost"><br>
<b>Payé pour ::</b> <TMPL_VAR NAME="paidfor"><br>
<b>Notes:</b> <TMPL_VAR NAME="itemnotes"><br>
<b>Renouvellements:</b> <TMPL_VAR NAME="renewals"><br>
<b><a href="/cgi-bin/koha/acqui/acquire.pl?recieve=<TMPL_VAR NAME="ordernumber">&biblio=<TMPL_VAR NAME="biblionumber">&invoice=<TMPL_VAR NAME="booksellerinvoicenumber">&catview=yes">
<b>Annexe propriétaire:</b> <!-- TMPL_VAR NAME="homebranch" --><br>
<b>Vu:</b> <!-- TMPL_VAR NAME="datelastseen" --><br>
<b>Dernier prêt:</b> <!-- TMPL_VAR NAME="timestamp0" --><br>
En prêt \? <!-- FIXME - What's this, then? -->
<b>Dernier emprunteur 1:</b> <!-- TMPL_VAR NAME="card0" --><br>
<b>Dernier emprunteur 2:</b> <!-- TMPL_VAR NAME="card1" --><br>
<b>Annexe:</b> <!-- TMPL_VAR NAME="holdingbranch" --><br>
<b>Coût de remplacement:</b> <!-- TMPL_VAR NAME="replacementprice" --><br>
<b>Ouvrage perdu:</b> <!-- TMPL_VAR NAME="itemlost" --><br>
<b>Payé pour ::</b> <!-- TMPL_VAR NAME="paidfor" --><br>
<b>Notes:</b> <!-- TMPL_VAR NAME="itemnotes" --><br>
<b>Renouvellements:</b> <!-- TMPL_VAR NAME="renewals" --><br>
<b><a href="/cgi-bin/koha/acqui/acquire.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&biblio=<!-- TMPL_VAR NAME="biblionumber" -->&invoice=<!-- TMPL_VAR NAME="booksellerinvoicenumber" -->&catview=yes">
Accession</a>
Date:<TMPL_VAR NAME="dateaccessioned"><br>
<b>Annul?: <TMPL_VAR NAME="wthdrawn"><br>
Date:<!-- TMPL_VAR NAME="dateaccessioned" --><br>
<b>Annul\?: <!-- TMPL_VAR NAME="wthdrawn" --><br>
<b><a
href=/cgi-bin/koha/bookcount.pl?&bib=<TMPL_VAR NAME="biblionumber">&bi=<TMPL_VAR NAME="biblioitemnumber">&itm=<TMPL_VAR NAME="itemnumber">>Total
Issues:</a></b> <TMPL_VAR NAME="issues"><br>
<b>Groupe numéro:</b> <TMPL_VAR NAME="biblioitemnumber"> <br>
<b>Notice biblio ::</b> <TMPL_VAR NAME="biblionumber"> <br>
href=/cgi-bin/koha/bookcount.pl?&bib=<!-- TMPL_VAR NAME="biblionumber" -->&bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&itm=<!-- TMPL_VAR NAME="itemnumber" -->>Total
Issues:</a></b> <!-- TMPL_VAR NAME="issues" --><br>
<b>Groupe numéro:</b> <!-- TMPL_VAR NAME="biblioitemnumber" --> <br>
<b>Notice biblio ::</b> <!-- TMPL_VAR NAME="biblionumber" --> <br>
@ -103,10 +97,10 @@ Issues:</a></b> <TMPL_VAR NAME="issues"><br>
</tr>
</table>
</form>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
<p>
</form>
</center>
<TMPL_INCLUDE NAME="cat-bottom.inc">
<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->

View File

@ -1,112 +1,113 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<center>
<div align="center">
<TMPL_IF NAME="loggedinusername">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<TMPL_IF NAME="message">
<table cellpadding=5 cellspacing=0 border=1 >
<!-- TMPL_IF NAME="message" -->
<table cellpadding="5" cellspacing="0" border="1">
<tr bgcolor="#fecc99" >
<td><font face="arial,helvetica" color="red" size=+1><B>
<TMPL_IF NAME="too_much_oweing">Sorry, you cannot make reserves because you owe <TMPL_VAR NAME="too_much_oweing">. </TMPL_IF><br/>
<TMPL_IF NAME="too_many_reserves">Impossible de faire plus de <TMPL_VAR NAME="too_many_reserves"> Réservations </TMPL_IF><br/>
<TMPL_IF NAME="already_reserved">Vous avez déjà placé une réservation sur cet exemplaire</TMPL_IF><br/>
<TMPL_IF NAME="no_items_selected">Vous devez sélectionner au moins 1 type d'exemplaire</TMPL_IF><br/>
<TMPL_IF NAME="no_branch_selected">Sélectionnez une annexe ou retirer l'ouvrage</TMPL_IF><br/>
</B></font><P></td></tr></table>
</TMPL_IF>
<TMPL_IF NAME="select_item_types">
<td><font face="arial, helvetica, sans-serif" color="red" size="+1"><b>
<!-- TMPL_IF NAME="too_much_oweing" -->Désolé, vous ne pouvez pas faire de réservation parce que vous devez <!-- TMPL_VAR NAME="too_much_oweing" -->. <br><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="too_many_reserves" -->Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves. <br><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="already_reserved" -->Vous avez déjà placé une réservation sur cet exemplaire.<br><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="no_items_selected" -->Vous devez sélectionner au moins 1 type d'exemplaire<br><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="no_branch_selected" -->Sélectionnez une annexe ou retirer l'ouvrage<br><!-- /TMPL_IF -->
</b></font></td></tr></table>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="select_item_types" -->
<!-- The first time round you select which bibitems you want -->
<p>Réservation de l'ouvrage :: <b><TMPL_VAR NAME="title"> (<TMPL_VAR NAME="author"> <TMPL_VAR name="biblionumber">)</b></p>
<p> Il y a <b><TMPL_VAR NAME="reservecount"></b> Réservations déjà faites sur cet ouvrage </p>
<p>Sélectionnez les types d'ouvrages souhaités. Le premier disponible sera gardé pour vous.<p>
<p>Réservation de l'ouvrage :: <b><!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" --> <!-- TMPL_VAR name="biblionumber" -->)</b></p>
<p> Il y a <b><!-- TMPL_VAR NAME="reservecount" --></b> Réservations déjà faites sur cet ouvrage. </p>
<p>Sélectionnez les types d'ouvrages souhaités. Le premier disponible sera gardé pour vous..</p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
<input type="hidden" name="item_types_selected" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR name="biblionumber">">
<TABLE border=1>
<tr bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'>
<input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->">
<table border="1">
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Reserver</th>
<th>Type d'ouvrage :</th>
<th>Type d'ouvrage</th>
<th>Copies</th>
</tr>
<TMPL_LOOP NAME="TYPES">
<!-- TMPL_LOOP NAME="TYPES" -->
<tr>
<TMPL_UNLESS NAME="notforloan">
<td><input type="checkbox" name="itemtype" value="<TMPL_VAR NAME='itemtype'>"></td>
<TMPL_ELSE>
<!-- TMPL_UNLESS NAME="notforloan" -->
<td><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"></td>
<!-- TMPL_ELSE -->
<td>Non réservable</td>
</TMPL_UNLESS>
<td><TMPL_VAR NAME="description"></td>
<td><TMPL_VAR NAME="copies"></td>
<!-- /TMPL_UNLESS -->
<td><!-- TMPL_VAR NAME="description" --></td>
<td><!-- TMPL_VAR NAME="copies" --></td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
</table>
<p>
Sélectionnez l'annexe ou vous prendrez l'ouvrage:
<TMPL_VAR NAME="CGIbranch"><br>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<!-- TMPL_VAR NAME="CGIbranch" -->
</p>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Réserver à cette date ::</td>
<td>
<select name=required-day><option value=0>Jour<option value=1 >1<option value=2 >2<option value=3 >3<option value=4 >4<option value=5 >5<option value=6 >6<option value=7 >7<option value=8 >8<option value=9 >9<option value=10 >10<option value=11 >11<option value=12 >12<option value=13 >13<option value=14 >14<option value=15 >15<option value=16 >16<option value=17 >17<option value=18 >18<option value=19 >19<option value=20 >20<option value=21 >21<option value=22 >22<option value=23 >23<option value=24 >24<option value=25 >25<option value=26 >26<option value=27 >27<option value=28 >28<option value=29 >29<option value=30 >30<option value=31 >31</select>
<select name="required-day"><option value="0">Jour</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option>
</select>
</td>
<td>
<select name=required-month><option value=0>Mois<option value=1 >Jan<option value=2 >Fev<option value=3 >Mars<option value=4 >Avril<option value=5 >Mai<option value=6 >Juin<option value=7 >Juill<option value=8 >Aout<option value=9 >Sep<option value=10 >Oct<option value=11 >Nov<option value=12 >Dec</select>
<select name="required-month"><option value="0">Mois</option><option value="1">Jan</option><option value="2">Fev</option><option value="3">Mars</option><option value="4">Avril</option><option value="5">Mai</option><option value="6">Juin</option><option value="7">Juill</option><option value="8">Aout</option><option value="9">Sep</option><option value="10">Oct</option><option value="11">Nov</option><option value="12">Dec</option>
</select>
</td>
<td>
<select name=required-year><option value=0>Année<option value=2002 >2002<option value=2003 >2003<option value=2004 >2004<option value=2005 >2005<option value=2006 >2006</select>
<select name="required-year"><option value="0">Année</option><option value="2002" >2002</option><option value="2003" >2003</option><option value="2004" >2004</option><option value="2005" >2005</option><option value="2006" >2006</option>
</select>
</td>
</tr>
<tr>
<td>Annuler réservation à cette date:</td>
<td>
<select name=expires-day><option value=0>Jour<option value=1 >1<option value=2 >2<option value=3 >3<option value=4 >4<option value=5 >5<option value=6 >6<option value=7 >7<option value=8 >8<option value=9 >9<option value=10 >10<option value=11 >11<option value=12 >12<option value=13 >13<option value=14 >14<option value=15 >15<option value=16 >16<option value=17 >17<option value=18 >18<option value=19 >19<option value=20 >20<option value=21 >21<option value=22 >22<option value=23 >23<option value=24 >24<option value=25 >25<option value=26 >26<option value=27 >27<option value=28 >28<option value=29 >29<option value=30 >30<option value=31 >31</select>
<select name="expires-day"><option value="0">Jour</option><option value="1" >1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option>
</select>
</td>
<td>
<select name=expires-month><option value=0>Mois<option value=1 >Jan<option value=2 >Fev<option value=3 >Mars<option value=4 >Avril<option value=5 >Mai<option value=6 >Juin<option value=7 >Juill<option value=8 >Aout<option value=9 >Sep<option value=10 >Oct<option value=11 >Nov<option value=12 >Dec</select>
<select name="expires-month"><option value="0">Mois</option><option value="1">Jan</option><option value="2">Fev</option><option value="3">Mars</option><option value="4">Avril</option><option value="5">Mai</option><option value="6">Juin</option><option value="7">Juill</option><option value="8">Aout</option><option value="9">Sep</option><option value="10">Oct</option><option value="11">Nov</option><option value="12">Dec</option>
</select>
</td>
<td>
<select name=expires-year><option value=0>Année<option value=2002 >2002<option value=2003 >2003<option value=2004 >2004<option value=2005 >2005<option value=2006 >2006</select>
<select name="expires-year"><option value="0">Année</option><option value="2002" >2002</option><option value="2003" >2003</option><option value="2004" >2004</option><option value="2005" >2005</option><option value="2006" >2006</option>
</select>
</td>
</tr>
</table>
<p>
<font size=4 face="arial,helvetica"><INPUT type="submit" value="OK"></font>
</FORM>
</TMPL_IF>
<p><input type="submit" value="OK"></p>
</form>
<!-- /TMPL_IF -->
<TMPL_IF NAME="item_types_selected">
<!-- TMPL_IF NAME="item_types_selected" -->
<!-- if the bibitems have already been selected -->
<p>Confirmez que vous souhaitez réserver un ouvrage ::<p>
<p>Confirmez que vous souhaitez réserver un ouvrage ::</p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
<input type="hidden" name="place_reserve" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
<input type="hidden" name="required_date" value="<TMPL_VAR NAME='required_date'>">
<input type="hidden" name="expires_date" value="<TMPL_VAR NAME='expires_date'>">
<TABLE border=1>
<input type="hidden" name="bib" value="<!-- TMPL_VAR NAME='biblionumber' -->">
<input type="hidden" name="required_date" value="<!-- TMPL_VAR NAME="required_date" -->">
<input type="hidden" name="expires_date" value="<!-- TMPL_VAR NAME="expires_date" -->">
<table border="1">
<tr>
<th bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'>Type d'ouvrage :</th>
<th bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">Type d'ouvrage</th>
</tr>
<TMPL_LOOP NAME="TYPES">
<!-- TMPL_LOOP NAME="TYPES" -->
<tr>
<input type="hidden" name="itemtype" value="<TMPL_VAR NAME='itemtype'>"></td>
<td><TMPL_VAR NAME="description"></td>
<td><input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="'itemtype" -->"><!-- TMPL_VAR NAME="description" --></td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
</table>
Qui sera retiré à <b><TMPL_VAR NAME="branchname"></b>.<br>
<input type="hidden" name="branch" value="<TMPL_VAR NAME='branch'>">
<TMPL_IF NAME="fee">
<br>Il y aura des frais de réservation de <b>$<TMPL_VAR NAME="fee"></b><br>
</TMPL_IF>
<font size=4 face="arial,helvetica"><INPUT type="submit" value="Réserver"></font>
</FORM>
</TMPL_IF>
Qui sera retiré à <b><!-- TMPL_VAR NAME="branchname" --></b>.<br>
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->">
<!-- TMPL_IF NAME="fee" -->
<p>Il y aura des frais de réservation de <b>$<!-- TMPL_VAR NAME="fee" --></b></p>
<!-- /TMPL_IF -->
<input type="submit" value="Réserver">
</form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,88 +1,71 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_IF NAME="loggedinusername">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<form action="/cgi-bin/koha/opac-searchresults.pl" method=get>
<table border="0" align="center">
<CENTER>
<FORM ACTION="/cgi-bin/koha/opac-searchresults.pl" method=get>
<TABLE >
<tr>
<td>Mot-clefs</td>
<td colspan="2"><input type="text" size="25" name="keyword"></td>
</tr>
<tr>
<td colspan="3"><b>OU :</b></td>
</tr>
<tr>
<td>Sujet</td>
<td colspan="2"><input type="text" size="25" name="subject"></td>
</tr>
<TR VALIGN=TOP>
<TD>Mot-clefs</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="keyword"></TD>
<td></TD>
</TR>
<tr>
<td colspan="3"><b>OU un ou plus de : :</b></td>
</tr>
<TR VALIGN=TOP>
<TD colspan=3><B>OU :</B></TD>
<td></TD></TR>
<TR VALIGN=TOP>
<TD>Sujet</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="subject"></TD>
<td></td>
</TR>
<tr>
<td>Titre</td>
<td><input type="text" size="25" name="title"></td>
<td><input type="radio" name="ttype" value="normal" checked="checked">Normal<input type="radio" name="ttype" value="exact">Exact</td>
</tr>
<TR VALIGN=TOP>
<TD colspan=3><B>OU un ou plus de : :</B></TD>
<td></TD></TR>
<tr>
<td>Auteur</td>
<td colspan="2"><input type="text" size="25" name="author"></td>
</tr>
<TR VALIGN=TOP>
<TD>Titre</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="title"></TD>
<td><input type=radio name=ttype value=normal checked>Normal<input type=radio name=ttype value=exact>Exact</td>
</TR>
<TR VALIGN=TOP>
<TD>Auteur</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="author"></TD>
<td></td>
</TR>
<TR VALIGN=TOP>
<TD>Illustrateur</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="illustrator"></TD>
<td></td>
</TR>
<tr>
<td>Illustrateur</td>
<td colspan="2"><input type="text" size="25" name="illustrator"></td>
</tr>
<tr>
<td>Classe</td>
<td>
<td colspan="2">
<select size="1" name="class">
<option value="">Tout
<option value="">Tout</option>
<!-- fetch class list -->
<TMPL_VAR name="classlist">
<!-- TMPL_VAR name="classlist" -->
<!--#include virtual="/includes/cat-class-list.inc" -->
</select>
</td>
<td></td>
</tr>
<TR VALIGN=TOP>
<TD>Code barre</TD>
<TD><INPUT TYPE="text" SIZE="25" NAME="itemnumber"></TD>
<td></td>
</TR>
<TR VALIGN=TOP>
<tr>
<td>Code barre</td>
<td colspan="2"><input type="text" size="25" name="itemnumber"></td>
</tr>
<tr>
<td><input type="submit" value="Lancer recherche"></td>
<TD><font size=4 face="arial,helvetica"><INPUT TYPE="reset" value="Effacer"></font></td>
<td></td>
<td colspan="2"><input type="reset" value="Effacer"></td>
</tr>
<TR VALIGN=TOP>
<TD colspan=3>Notez que le mot clef est prioritaire</TD>
</TD></TR>
<tr>
<td colspan="3">Notez que le mot clef est prioritaire</td>
</tr>
</TABLE>
</table>
</FORM>
</CENTER>
</form>
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,80 +1,72 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<center>
<TMPL_IF NAME="loggedinusername">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Accueil lecteur</a>][<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_IF NAME="searchdesc">
Recherche effectuée sur <b><TMPL_VAR NAME="searchdesc"></b>
<TMPL_ELSE>
<TMPL_IF name="searchnew">
<TMPL_VAR name=itemtype> acquis dans les derniers <i><TMPL_VAR name="duration"></i> jours<br/>
<TMPL_ELSE>
<div align="center"><!-- TMPL_IF NAME="searchdesc" -->
Recherche effectuée sur <b><!-- TMPL_VAR NAME="searchdesc" --></b>
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="searchnew" -->
<!-- TMPL_VAR name="itemtype" --> acquis dans les derniers <i><!-- TMPL_VAR name="duration" --></i> jours<br>
<!-- TMPL_ELSE -->
Vous n'avez pas spécifié de critère<br>
</TMPL_IF>
</TMPL_IF>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<TMPL_VAR NAME="numrecords"> Réponses trouvées
<p>
<!-- TMPL_VAR NAME="numrecords" --> Réponses trouvées</div>
<br>
<!-- Row de numbers corresponding to search result pages -->
<TMPL_IF NAME="displayprev">
<a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR NAME='prevstartfrom'><TMPL_LOOP NAME='FORMINPUTS'>&<TMPL_VAR NAME='field'>=<TMPL_VAR NAME='value' ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME='themelang'>/images/numbers/prev.gif border=0></a>
<TMPL_ELSE>
<img src=<TMPL_VAR NAME="themelang">/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<TMPL_LOOP NAME="numbers">
<TMPL_IF NAME="highlight">
<img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>-highlight.gif>
<TMPL_ELSE>
<a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR NAME="startfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>.gif border=0></a>
</TMPL_IF>
</TMPL_LOOP>
<TMPL_IF NAME="displaynext">
<a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR NAME="nextstartfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME="themelang">/images/numbers/next.gif border=0></a>
<TMPL_ELSE>
<img src=<TMPL_VAR NAME="themelang">/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<p>
<div align="center"> <!-- Row de numbers corresponding to search result pages -->
<!-- TMPL_IF NAME="displayprev" -->
<a href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/prev.gif" border="0" alt="Previous Page" height="14" width="15"></a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" height="14" width="15" alt="" border="0">
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF NAME="highlight" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif" alt="<!-- TMPL_VAR NAME="number" -->" height="14" width="15" border="0">
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border="0" alt="<!-- TMPL_VAR NAME=number -->" height="14" width="15"></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/next.gif" border="0" height="14" width="15" alt="Next Page"></a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" border="0" width="14" height="14" alt="">
<!-- /TMPL_IF --></div>
<br>
<!-- Search Résultats Table -->
<TMPL_IF NAME="numrecords">
<!-- TMPL_IF NAME="numrecords" -->
<!-- If we have a subject table -->
<TMPL_IF NAME="subjectsearch">
<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<!-- TMPL_IF NAME="subjectsearch" -->
<table border="0" cellspacing="0" cellpadding="2" align="center">
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Sujet</th>
</tr>
<TMPL_LOOP NAME=SEARCH_RESULTS>
<!-- TMPL_LOOP NAME=SEARCH_RESULTS -->
<tr>
<td><a href=/cgi-bin/koha/opac-searchresults.pl?&subjectitems=<TMPL_VAR NAME=subject ESCAPE=URL>><TMPL_VAR NAME=subject></a></td>
<td><a href="/cgi-bin/koha/opac-searchresults.pl?&amp;subjectitems=<!-- TMPL_VAR NAME=subject ESCAPE="URL" -->"><!-- TMPL_VAR NAME=subject --></a></td>
</tr>
</TMPL_LOOP>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<td colspan=4>
<!-- /TMPL_LOOP -->
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<td colspan="4">
&nbsp;
</td>
</tr>
</table>
<!-- Else we have a list de items -->
<TMPL_ELSE>
<!-- TMPL_ELSE -->
<table border=0 cellspacing=0 cellpadding=2 width=90%>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<th align=left>Titre</th>
<th align=left>Auteur</th>
<table border="0" cellspacing="0" cellpadding="2" width="80%" align="center">
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th align="left">Titre</th>
<th align="left">Auteur</th>
<th>&copy;</th>
<th>Nombre d'ouvrages</th>
<th>Localisation</th>
@ -83,57 +75,58 @@
<!-- Actual Search Résultats -->
<TMPL_LOOP NAME="SEARCH_RESULTS">
<!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
<tr>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>><a href=/cgi-bin/koha/opac-detail.pl?bib=<TMPL_VAR NAME="biblionumber" ESCAPE=URL>><TMPL_VAR NAME="title"></a></td>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>><a href=/cgi-bin/koha/opac-searchresults.pl?author=<TMPL_VAR NAME="author" ESCAPE=URL>><TMPL_VAR NAME="author"></a></td>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="copyrightdate"> </td>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="itemcount"> </td>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>> <TMPL_VAR NAME="location"> </td>
<td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>>
<TMPL_UNLESS NAME="norequests">
<a href=/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" ESCAPE=URL>>Reserver</a>
<TMPL_ELSE>
<td <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->><a href="/cgi-bin/koha/opac-searchresults.pl?author=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a></td>
<td align="center" <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->> <!-- TMPL_VAR NAME="copyrightdate" --> </td>
<td align="center" <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->> <!-- TMPL_VAR NAME="itemcount" --> </td>
<td <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->> <!-- TMPL_VAR NAME="location" --> </td>
<td <!-- TMPL_IF name="even" -->bgcolor="#ffffcc"<!-- /TMPL_IF -->>
<!-- TMPL_UNLESS NAME="norequests" -->
<a href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">Reserver</a>
<!-- TMPL_ELSE -->
Non réservable
</TMPL_UNLESS>
<!-- /TMPL_UNLESS -->
</td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<td colspan=6>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<td align=left>
<TMPL_IF NAME="displayprev">
<a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR NAME="prevstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Précédents</a>
<TMPL_ELSE>
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<td colspan="6">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<td align="left">
<!-- TMPL_IF NAME="displayprev" -->
<a href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">Previous Records</a>
<!-- TMPL_ELSE -->
&nbsp;
</TMPL_IF>
<!-- /TMPL_IF -->
</td>
<td align=right>
<TMPL_IF NAME="displaynext">
<a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR NAME="nextstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Enregistrement suivant</a>
<TMPL_ELSE>
<td align="right">
<!-- TMPL_IF NAME="displaynext" -->
<a href="/cgi-bin/koha/opac-searchresults.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->">Next Records</a>
<!-- TMPL_ELSE -->
&nbsp;
</TMPL_IF>
<!-- /TMPL_IF -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</TMPL_IF>
<!-- /TMPL_IF -->
<br>
Résultats <i><TMPL_VAR NAME="startfrom"></i> à <i><TMPL_VAR NAME="endat"></i> de <i><TMPL_VAR NAME="numrecords"></i> réponses
<br>
<div align="center"> Résultats <i><!-- TMPL_VAR NAME="startfrom" --></i> à <i><!-- TMPL_VAR NAME="endat" --></i> de <i><!-- TMPL_VAR NAME="numrecords" --></i> réponses.</div>
<hr>
<TMPL_ELSE>
Désolé, aucun résultat ! <br>
</TMPL_IF>
<!-- TMPL_ELSE -->
<div align="center">Désolé, aucun résultat ! <br></div>
<!-- /TMPL_IF -->
<div align="center">Essayez une autre <a href="/cgi-bin/koha/opac-search.pl">recherche</a></div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
Try another <a href=/cgi-bin/koha/opac-search.pl>search</a>
<TMPL_INCLUDE NAME="opac-bottom.inc">

View File

@ -1,135 +1,135 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_LOOP NAME="BORROWER_INFO">
<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
<table align=right cellpadding=5 cellspacing=0 border=1 width=200 >
<tr bgcolor="#fecc99" >
<td><b>Est-ce correct?</B></td>
<table align="right" cellpadding="5" cellspacing="0" border="1" width="200">
<tr bgcolor="#fecc99" >
<td><b>Est-ce correct</b></td>
</tr>
<tr>
<td><font size=2 face="arial,helvetica">Carte lecteur: <TMPL_VAR NAME="cardnumber"> <br/>
<TMPL_VAR NAME="firstname"> <TMPL_VAR NAME="surname"> (<TMPL_VAR NAME="title">) <br>
<TMPL_VAR NAME="streetaddress">, <TMPL_VAR NAME="city"><br>
<TMPL_VAR NAME="phone"> (hm)<br>
<TMPL_VAR NAME="faxnumber"> (wk)<br>
<TMPL_VAR NAME="emailaddress"><br/>
<p>quelque chose à modifier ??</p>
<td><font size="2" face="arial, helvetica, sans-serif">Carte lecteur: <!-- TMPL_VAR NAME="cardnumber" --> <br>
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="title" -->) <br>
<!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="city" --><br>
<!-- TMPL_VAR NAME="phone" --> (hm)<br>
<!-- TMPL_VAR NAME="faxnumber" --> (wk)<br>
<!-- TMPL_VAR NAME="emailaddress" --><br>
<br>quelque chose à modifier \?<br><br>
<a href="/cgi-bin/koha/opac-userupdate.pl">Mettre à jour</a>
</font>
</td>
</tr>
</table>
<font size=6><em>Bonjour, <TMPL_VAR NAME="firstname"> <TMPL_VAR NAME="surname"></em></font>
[<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Déconnecter</a>]<p>
<TMPL_IF NAME="amountoverfive">
<table cellpadding=5 cellspacing=0 border=1>
<!-- TMPL_IF NAME="amountoverfive" -->
<table cellpadding="5" cellspacing="0" border="1">
<tr bgcolor="#fecc99">
<td>
<font face="arial,helvetica" color="red" size=+2><B>Vous avez des dettes de <TMPL_VAR NAME="amountoutstanding"></B></font>
<font face="arial, helvetica, sans-serif" color="red" size="+2"><b>Vous avez des dettes de <!-- TMPL_VAR NAME="amountoutstanding" --></b></font>
</td>
</tr>
</table>
</TMPL_IF>
<!-- /TMPL_IF -->
<TMPL_IF NAME="amountoverzero">
<table cellpadding=5 cellspacing=0 border=1>
<!-- TMPL_IF NAME="amountoverzero" -->
<table cellpadding="5" cellspacing="0" border="1">
<tr bgcolor="#fecc99">
<td>
<font face="arial,helvetica" size=+2>
<B>Vous avez des dettes de <TMPL_VAR NAME="amountoutstanding"></B>
<font face="arial, helvetica, sans-serif" size="+2">
<b>Vous avez des dettes de <!-- TMPL_VAR NAME="amountoutstanding" --></b>
</font>
</td>
</tr>
</table>
</TMPL_IF>
<!-- /TMPL_IF -->
<TMPL_IF NAME"amountlessthanzero">
<table cellpadding=5 cellspacing=0 border=1>
<!-- TMPL_IF NAME"amountlessthanzero" -->
<table border="1" cellspacing="0" cellpadding="5">
<tr bgcolor="#fecc99">
<td>
<font face="arial,helvetica" size=+2>
<B>Vous avez un crédit de <TMPL_VAR NAME="amountoutstanding"></B>
<font face="arial, helvetica, sans-serif" size="+2">
<b>Vous avez un crédit de <!-- TMPL_VAR NAME="amountoutstanding" --></b>
</font>
</td>
</tr>
</table>
</TMPL_IF>
<a href='/cgi-bin/koha/opac-account.pl'>Voir compte</a>
<!-- /TMPL_IF -->
<p><a href="/cgi-bin/koha/opac-account.pl">Voir compte</a></p>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
<TMPL_IF NAME="waiting_count">
<table cellpadding=5 cellspacing=0 border=0>
<!-- TMPL_IF NAME="waiting_count" -->
<table cellpadding="5" cellspacing="0" border="1">
<tr bgcolor="#fecc99" >
<td colspan=2>
<font color="red" face="arial,helvetica" size=+2>
<B> Vous avez des réservations en attente:</B>
<td colspan="4">
<font color="red" face="arial, helvetica, sans-serif" size="+2">
<b> Vous avez des réservations en attente:</b>
</font>
<P>
</td>
</tr>
<TMPL_LOOP NAME="WAITING">
<tr valign="top" bgcolor="#99CCCC" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Titre</th>
<th>Auteur</th>
<th>Date réservation</th>
<th>Annexe de retrait</th>
</tr>
<!-- TMPL_LOOP NAME="WAITING" -->
<tr>
<td>
<b><TMPL_VAR NAME="btitle"></b></td><td>Prendre à :: <b><TMPL_VAR NAME="branch"></b>
<b><a href="opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a></b></td><td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td><td><!-- TMPL_VAR NAME="reservedate" --></td><td><b><!-- TMPL_VAR NAME="branch" --></b>
</td>
</tr>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
</table><p>&nbsp;</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="issues_count" -->
<p> You have <!-- TMPL_VAR NAME="issues_count" --> Ouvrage en prêt actuellement.</p>
<table border="1" cellspacing="0" cellpadding="5">
<tr valign="top" bgcolor="#99CCCC" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Titre</th>
<th>Auteur</th>
<th>Date retour</th>
<th>Type d'ouvrage</th>
<th>Charges</th>
<th>Prêt</th>
</tr>
<!-- TMPL_LOOP NAME="ISSUES" -->
<tr valign="top">
<td><a href="opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="date_due" --></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="status" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</TMPL_IF>
<!-- TMPL_ELSE -->
<p>Vous n'avez pas d'exemplaire en prêt.</p>
<!-- /TMPL_IF -->
<p>
<TMPL_IF NAME="issues_count">
Vous avez <TMPL_VAR NAME="issues_count"> Ouvrage en prêt actuellement<br>
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
<TR VALIGN=TOP bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'>
<TD><B>Titre</B></TD>
<TD><B>Auteur</B></TD>
<TD><B>Date retour</B></TD>
<TD><B>Type d'ouvrage</B></TD>
<TD><B>Charges</B></TD>
<TD><B>Prêt</B></TD>
</TR>
<TMPL_LOOP NAME="ISSUES">
<TR VALIGN=TOP>
<TD><TMPL_VAR NAME="title"></TD>
<TD><TMPL_VAR NAME="author"></TD>
<TD><TMPL_VAR NAME="date_due"></TD>
<TD><TMPL_VAR NAME="itemtype"></TD>
<TD><TMPL_IF NAME="charges">Oui<TMPL_ELSE>Non</TMPL_IF></TD>
<TD><TMPL_IF NAME="status">Oui<TMPL_ELSE>Non</TMPL_IF></TD>
</TR>
</TMPL_LOOP>
<!-- TMPL_IF NAME="reserves_count" -->
<p> You have <!-- TMPL_VAR NAME="reserves_count" --> Ouvrages réservés actuellement.</p>
<table border="1" cellspacing="0" cellpadding="5">
<tr valign="top" bgcolor="#99CCCC" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Titre</th>
<th>Auteur</th>
<th>Date réservation</th>
</tr>
<!-- TMPL_LOOP NAME="RESERVES" -->
<tr valign="top">
<td><a href="opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a></td>
<td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="reservedate" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<TMPL_ELSE>
<p>Vous n'avez pas d'exemplaire en prêt</p>
</TMPL_IF>
<!-- /TMPL_IF -->
<p>
<TMPL_IF NAME="reserves_count">
Vous avez <TMPL_VAR NAME="reserves_count"> Ouvrages réservés actuellement<br>
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
<TR VALIGN=TOP bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'>
<TD><B>Titre</B></TD>
<TD><B>Auteur</B></TD>
<TD><B>Date réservation</B></TD>
</TR>
<TMPL_LOOP NAME="RESERVES">
<TR VALIGN=TOP>
<TD><TMPL_VAR NAME="btitle"></TD>
<TD><TMPL_VAR NAME="author"></TD>
<TD><TMPL_VAR NAME="reservedate"></TD>
</TR>
</TMPL_LOOP>
</table>
</TMPL_IF>
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,56 +1,47 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_IF NAME="loggedinusername">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-main.pl?logout.x=1>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=/cgi-bin/koha/opac-user.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<p><i>Changer le nécessaire.<br>
Vos changement n'apparaitront que lorsque la bibliothèque les aura validé.</i></p>
<i> Changer le nécessaire<br/>
Your changes won't appear until the library has validated them.</i><br/><br/>
<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
<TMPL_LOOP NAME="BORROWER_INFO">
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
<table align="center">
<CENTER>
<FORM ACTION="/cgi-bin/koha/opac-userupdate.pl" method=get>
<TABLE >
<tr>
<td>Nom</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="surname" -->" name="surname"></td></tr>
<TR VALIGN=TOP>
<TD>Nom</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='surname'>" NAME="surname"></TD></TR>
<tr>
<td>Titre</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="title" -->" name="title"></td></tr>
<TR VALIGN=TOP>
<TD>Titre</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='title'>" NAME="title"></TD></TR>
<tr>
<td>Prénom</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="firstname" -->" name="firstname"></td></tr>
<TR VALIGN=TOP>
<TD>Prénom</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='firstname'>" NAME="firstname"></TD></TR>
<tr>
<td>Adresse postale</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="streetaddress" -->" name="streetaddress"></td></tr>
<TR VALIGN=TOP>
<TD>Adresse postale</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='streetaddress'>" NAME="streetaddress"></TD></TR>
<TR VALIGN=TOP>
<TD>Ville</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='city'>" NAME="city"></TD></TR>
<tr>
<td>Ville</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="city" -->" name="city"></td></tr>
<TR VALIGN=TOP>
<TD>Téléphone maison</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='phone'>" NAME="phone"></TD></TR>
<tr>
<td>Téléphone maison</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="phone" -->" name="phone"></td></tr>
<TR VALIGN=TOP>
<TD>Tel bureau</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='faxnumber'>" NAME="faxnumber"></TD></TR>
<tr>
<td>Tel bureau</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="faxnumber" -->" name="faxnumber"></td></tr>
<TR VALIGN=TOP>
<TD>Mail</TD> <TD><INPUT TYPE="text" SIZE="25" value="<TMPL_VAR NAME='emailaddress'>" NAME="emailaddress"></TD></TR>
<tr>
<td>Mail</td> <td><input type="text" size="25" value="<!-- TMPL_VAR NAME="emailaddress" -->" name="emailaddress"></td></tr>
<TR VALIGN=TOP>
<td><font size=4 face="arial,helvetica"><INPUT type="submit" value="OK"></font></td>
<TD><font size=4 face="arial,helvetica">
</font></td></tr>
<tr>
<td colspan="2"><input type="submit" value="OK"></td>
</tr>
</TABLE>
</FORM>
</CENTER>
</table>
</form>
</TMPL_LOOP>
<!-- /TMPL_LOOP -->
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -1,49 +1,40 @@
<TMPL_INCLUDE NAME="opac-top.inc">
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<TMPL_IF NAME="loggedinuser">
<p align=left>Connecté en tant que: <TMPL_VAR NAME="loggedinuser"> [<a href=./logout.pl>Déconnecter</a>]</p>
<TMPL_ELSE>
<p align=left><a href=./userpage.pl>S'identifier</a> à Koha</p>
</TMPL_IF>
<center>
<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<table border="0" cellspacing="0" cellpadding="2" align="center">
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif">
<th>Sujet</th></tr>
<TMPL_LOOP NAME=SEARCH_RESULTS>
<!-- TMPL_LOOP NAME=SEARCH_RESULTS -->
<tr>
<td><a href=./dosearch.pl?&subjectitems=<TMPL_VAR NAME=subject2 ESCAPE=URL>><TMPL_VAR NAME=subject></a></td>
<td><a href="./dosearch.pl?&amp;subjectitems=<!-- TMPL_VAR NAME="subject2" ESCAPE="URL" -->"><!-- TMPL_VAR NAME=subject --></a></td>
</tr>
</TMPL_LOOP>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif><td colspan=4>
<!-- /TMPL_LOOP -->
<tr bgcolor="#99cccc" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-opac.gif"><td colspan=4>
&nbsp;</td></tr>
</table>
<br>
Results <TMPL_VAR NAME="startfrom"> à <TMPL_VAR NAME="endat"> de <TMPL_VAR NAME="numrecords"> réponses
Résultats <!-- TMPL_VAR NAME="startfrom" --> à <!-- TMPL_VAR NAME="endat" --> de <!-- TMPL_VAR NAME="numrecords" --> réponses.
<br>
<TMPL_IF NAME="displayprev">
<a href=./dosearch.pl?startfrom=<TMPL_VAR NAME="prevstartfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME="themelang">/images/numbers/prev.gif border=0></a>
<TMPL_ELSE>
<img src=<TMPL_VAR NAME="themelang">/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<TMPL_LOOP NAME="numbers">
<TMPL_IF NAME="highlight">
<img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>-highlight.gif>
<TMPL_ELSE>
<a href=./dosearch.pl?startfrom=<TMPL_VAR NAME="startfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>.gif border=0></a>
</TMPL_IF>
</TMPL_LOOP>
<TMPL_IF NAME="displaynext">
<a href=./dosearch.pl?startfrom=<TMPL_VAR NAME="nextstartfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR NAME="themelang">/images/numbers/next.gif border=0></a>
<TMPL_ELSE>
<img src=<TMPL_VAR NAME="themelang">/images/numbers/placeholder.gif border=0>
</TMPL_IF>
<!-- TMPL_IF NAME="displayprev" -->
<a href="./dosearch.pl?startfrom=<!-- TMPL_VAR NAME="prevstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/prev.gif" width="15" height="14" border="0" alt="Previous Page"></a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" width="15" height="14" border="0" alt="">
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF NAME="highlight" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif" width="15" height="14" border="0" alt="<!-- TMPL_VAR NAME="number" -->">
<!-- TMPL_ELSE -->
<a href="./dosearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE="URL" --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" width="15" height="14" border="0" alt="<!-- TMPL_VAR NAME="number" -->"></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a href="./dosearch.pl?startfrom=<!-- TMPL_VAR NAME="nextstartfrom" --><!-- TMPL_LOOP NAME="FORMINPUTS" -->&amp;<!-- TMPL_VAR NAME="field" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL --><!-- /TMPL_LOOP -->"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/next.gif" width="15" height="14" border="0" alt="Next Page"></a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" width="15" height="14" border="0" alt="">
<!-- /TMPL_IF -->
<hr>
<TMPL_INCLUDE NAME="opac-bottom.inc">
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -161,6 +161,6 @@ alt=" " hspace=0 vspace=0></td>
</table>
<p>
For more information on the koha libary system<br>
vist <b><a href="http://www.koha.org">www.koha.org</a></b></center>
visit <b><a href="http://www.koha.org">www.koha.org</a></b></center>
</html>

View File

@ -138,8 +138,12 @@ R
<td valign="top" ><div class="padded"><TMPL_VAR NAME="charges"></div></td>
<td class="line"><IMG SRC="<TMPL_VAR NAME='themelang'>/images/holder.gif" WIDTH="1" HEIGHT="1" BORDER="0" ALT=""></td>
<td valign="top" >
<TMPL_IF NAME="renewable">
<TMPL_IF NAME="status">
<TMPL_IF NAME="reserved">
Not renewable
<TMPL_ELSE>
<A HREF='/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<TMPL_VAR NAME="itemnumber">&bornum=<TMPL_VAR NAME="borrowernumber">' class="padded">Renew</A>
</TMPL_IF>
<TMPL_ELSE>
Not renewable
</TMPL_IF>
@ -226,7 +230,7 @@ Not renewable
<td valign="top" colspan="3"><div class="padded"><TMPL_VAR NAME="date_due"></div></td>
<td class="line"><IMG SRC="<TMPL_VAR NAME='themelang'>/images/holder.gif" WIDTH="1" HEIGHT="1" BORDER="0" ALT=""></td>
<td valign="top" >
<TMPL_IF NAME="renewable">
<TMPL_IF NAME="status">
<A HREF='/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<TMPL_VAR NAME="itemnumber">&bornum=<TMPL_VAR NAME="borrowernumber">' class="padded">Renew</A>
<TMPL_ELSE>
Not renewable

View File

@ -377,7 +377,7 @@ Gets the Koha version as known by the previous config file.
=cut
sub getkohaversion ($) {
sub getkohaversion () {
return($kohaversion);
}
@ -989,6 +989,7 @@ MySQL installation directory: |;
sub getmysqldir {
foreach my $mysql (qw(/usr/local/mysql
/opt/mysql
/usr/local
/usr
)) {
if ( -d $mysql && -f "$mysql/bin/mysqladmin") {
@ -1148,6 +1149,7 @@ sub getapacheinfo {
/etc/apache2/apache2.conf
/etc/apache/conf/httpd.conf
/etc/apache/conf/apache.conf
/etc/apache/httpd.conf
/etc/apache-ssl/conf/apache.conf
/etc/apache-ssl/httpd.conf
/etc/httpd/conf/httpd.conf

88
misc/rebuildthesaurus.pl Normal file
View File

@ -0,0 +1,88 @@
#!/usr/bin/perl
# script that rebuild thesaurus from biblio table.
use strict;
# Koha modules used
use MARC::File::USMARC;
use MARC::Record;
use MARC::Batch;
use C4::Context;
use C4::Biblio;
use C4::Authorities;
use Time::HiRes qw(gettimeofday);
use Getopt::Long;
my ( $input_marc_file, $number) = ('',0);
my ($version, $verbose, $test_parameter, $field,$delete,$category,$subfields);
GetOptions(
'h' => \$version,
'd' => \$delete,
't' => \$test_parameter,
's:s' => \$subfields,
'v' => \$verbose,
'c:s' => \$category,
);
if ($version || ($category eq '')) {
print <<EOF
small script to recreate a authority table into Koha.
parameters :
\th : this version/help screen
\tc : thesaurus category
\tv : verbose mode.
\tt : test mode : parses the file, saying what he would do, but doing nothing.
\ts : the subfields
\d : delete every entry of the selected category before doing work.
SAMPLES :
./rebuildthesaurus.pl -c NP -s "##700#a, ##700#b (##700#c ; ##700#d)" => will build authority file NP with value constructed with 700 field \$a, \$b, \$c & \$d subfields In UNIMARC this rebuild author authority file.
./rebuildthesaurus.pl -c EDITORS -s "##210#c -- ##225#a" => will build authority for editor and collection. The EDITORS authority category is used with plugins for 210 & 225 in UNIMARC.
EOF
;#
die;
}
my $dbh = C4::Context->dbh;
my @subf = $subfields =~ /(##\d\d\d##.)/g;
if ($delete) {
print "deleting thesaurus\n";
my $sth = $dbh->prepare("delete from bibliothesaurus where category=?");
$sth->execute($category);
}
if ($test_parameter) {
print "TESTING MODE ONLY\n DOING NOTHING\n===============\n";
}
$|=1; # flushes output
my $starttime = gettimeofday;
my $sth = $dbh->prepare("select bibid from marc_biblio");
$sth->execute;
my $i=1;
while (my ($bibid) = $sth->fetchrow) {
my $record = MARCgetbiblio($dbh,$bibid);
print ".";
my $timeneeded = gettimeofday - $starttime;
print "$i in $timeneeded s\n" unless ($i % 50);
# warn $record->as_formatted;
my $resultstring = $subfields;
foreach my $fieldwanted ($record->fields) {
next if $fieldwanted->tag()<=10;
foreach my $pair ( $fieldwanted->subfields() ) {
my $fieldvalue = $fieldwanted->tag();
# warn "$fieldvalue ==> #$fieldvalue#$pair->[0]/$pair->[1]";
$resultstring =~ s/##$fieldvalue##$pair->[0]/$pair->[1]/g;
}
}
# deals empty subfields
foreach my $empty (@subf) {
$resultstring =~ s/$empty//g;
}
if ($resultstring ne $subfields && $resultstring) {
&newauthority($dbh,$category,$resultstring);
}
$i++;
}
my $timeneeded = gettimeofday - $starttime;
print "$i entries done in $timeneeded seconds (".($i/$timeneeded)." per second)\n";

View File

@ -0,0 +1,19 @@
RELEASE NOTES
* standard acquisition and MARC cataloguing now both useable at the same time.
* MANY bugfixes.
* almost everything now templated. A few admin scripts still to template.
* inclusion of some pictures to say "add", "modify", "delete" in many places.
* the koha-html cvs tree is now UNUSED, and no mode included in this release. the koha cvs project contains everything.
TODO
* z39.50 support. A port from the 1.2.x z39.50 support needs to be done. Should be quick,
* fixing bugs. If you find a bug in this version, please take the plane and go for a trip to : bugs.koha.org
FEATURE FREEZE
feature freeze is there... only z39.50 will be added until 2.0RC1, which should be the next release !
KNOWN BUGS *IMPORTANT* :
* koha does NOT work with MARC::Record 1.12. It works fine with MARC::Record 0.93, and maybe with other versions.
* repeted subfields in MARC/iso2709 works poorly : only the 1st subfield is stored, other are ignored. At least, the 1st is right ! (in the 1.9.0, the 1st was buggied by other subfields too)
* In the MARC search, the "not" flag does not work : the result of the query is very strange !
* en and fr are the only languages well supported in this version. Other translator teams are waiting for more stable templates :-)

View File

@ -0,0 +1,77 @@
RELEASE NOTES
=============
* koha does NOT work with MARC::Record 1.12. It works fine with MARC::Record 0.93, and maybe with other versions.
* In the MARC search, the "not" flag does not work : the result of the query is very strange !
* en and fr are the only languages well supported in this version. Other translator teams are waiting for more stable templates.
* see interim.txt, which contains install notes
BUG FIXED (see bugs.koha.org for more infos)
=========
XXX Error in biblio modification
248 French page titles in English language Koha - Members
227 Confirm newmember lists items you can't enter
254 Next link goes to the wrong page
230 Wrong DOB entry information given in add member
234 The buildrelease script or the installer script does not kno
263 HLT isms still on Add Member page
278 Internal Server Error on Categories
249 Addl. French titles in English language Koha
228 Modifying member info scrambles DOB
255 Form fields too small for text
231 z3950servers.pl mistitled branches admin
260 Error during install - the sample data doesn't load,
235 Koha login link listed twice and I'm already logged in
266 HLT isms on member details page.
244 stats.pl needs to be templated
226 Bookfund admin page - rows not lining up under heading
250 Parameters titled Catalogue
229 Members birth years 1913 and earlier are changed to 2000's
257 Fields named wrong on modify budget page
233 OPAC - User update doesn't work.
262 Ethnicity select list still in add a member page
240 Search results page - has Log In to Koha link - already log
277 Internal Server Error in Add Institution and Add Child
291 Joining date dateformat not consistent
241 Extra td in html creates an extra little rectangle.
259 Enter stopwords field too long
290 Missing image seen briefly on log-in page.
IMPROVEMENTS
=============
* An About page has been added, showing versions of Koha, Apache, MySQL, Perl
* repetable subfields now correctly stored : enter a repeted subfield in the form, separated by | and watch the result in the catalogue.
Bugs still opens in bugs.koha.org
=======================
196 user input not checked for HTML tags
293 Error Issuing Book - 1
191 View Account cannot see charges
264 Day phone not output on confirm record.
208 Confirmation screen for addition of institutional member is
236 Reserve book on future date doesn't work or copy is wrong
242 Current loan output is blank
193 Multiple search criteria in OPAC gives misleading feedback
267 Day phone not displayed on update details
237 Can request to reserve a book with an end reserve date in t
130 Branch data entry form has unlabelled check box
258 Budget treats a comma as a period.
223 Editing budget creates additinal budget for same book fund.
239 Issue limit doesn't work - able to check out more items than
251 Wrong title for image
276 Tables overlap when there are a lot of patron notes.
297 Images missing on View Account page
252 Add category page titled add authorised value
245 No mechanism provided for changing the Locations
275 Wrong size text boxes in admin/itemtypes
300 Reading record - full output same as regular reading record
292 missing image is seen when mousing to the left of search.
298 In circulation Acquistion & MARC links are blue not grey
217 querying with barcode to modify biblio
TODO
=====
* script for migration from koha 1.2.x -> 2.0.0
* script to upload MARC datas and items in active DB
* script to upload CSV biblio and items in active DB
* z3950 client

View File

@ -0,0 +1,76 @@
RELEASE NOTES
=============
This release add a lot of bugfixes, a 1st z3950 support, and a script for migration from previous ILS.
FEATURE FREEZE !
---------
This version is the last version with new features before 2.0.
Please, report bugs on bugs.koha.org, and feel free to fix them (through patch or cvs commit)
PACKAGE NEEDED :
---------
Update your MARC::Record to get the latest version (1.26).
Koha won't work with old versions, and bulkmarcimport.pl need MARC::Batch.pm, whichi is recent.
MARC::Record 1.25 works to, but reports hundred of warnings in error_log. pls upgrage to 1.26 !
DB modifications :
---------
* the marc_breeding table has been modified. A row "encoding" varchar(40) has been added. It's used to manage character encoding.
* the z3950_servers table has been modified. A row "syntax" varchar(40) has been added. It's used to manage character encoding.
z3950 :
---------
* the z3950 script in admin part of Koha has been fixed and can be used and translated.
* z3950 cataloguing : when you reach the MARC-cataloguing screen, a new link appear : z3950 search.
* If you click on this link, a popup appears, and the search begins. The window is refreshed every 2 seconds, until all servers answered.
* The avaible records are shown in the popup. Click on the one you want, and... the popup closes and the biblio is copied in the cataloguing screen.
This works ONLY IF the z3950 daemon is launched. It's located at $kohadir/scripts/z3950daemon/
* MODIFY the scripts to fit you directory structure.
* Warning : due to a small bug, processqueue is in $kohadir/cgi-bin/z3950/ directory, not in the script one.
* Start daemon in a non-X shell, or launch processqueue in a shell, and KEEP IT OPEN.
iso2709 file import :
---------
This tools is very important and was waiting by libraries that plans to migrate from a previous ILS.
VERY IMPORTANT :
BEFORE using this script, take care of your MARC parameters, and check them twice. If they are wrong, you will get wrong results...
It's located (in CVS tree) at $koharoot/misc/bulkmarcimport.pl
It loads an iso2709 file into the ACTIVE Database. My 1st tests on sample files shows it works quite fine.
Feel free to try it.
How it works ? enter ./bulkmarcimport in a console, and look.
KNOWN LIMIT : If the barcode of an item does not exists, the scripts report an SQL error, and continue. BUT the corresponding item is not in the non-marc db, so it can't be requested or loaned.
sample file :
---------
The sample file has been removed from this release, as it's buggy (no MARC datas, making it quite useless)
Templates & translations :
---------
* Most images have been dropped from templates (all -except bugs- in french templates
* english is uptodate, and french should be too.
BUG FIXED (see bugs.koha.org for more infos)
=========
A lot... (around 35).
Thanks to Mike that fixed a lot,
Steve that fixes some,
MJ Ray that upgraded the installer for non-root install,
and Chris that fixed some and begins backport of non-marc stuff from 1.2
Bugs still open in bugs.koha.org
=======================
A lot... (around 60. some being really trivial to fix, some being more important)
TODO
=====
* some GUI reordering, as planned with Rachel from Katipo and others (paul & others)
* finishing backport of non-marc cataloguing & non-marc simple acquisition from 1.2 version (chris)
* bug fixes (everybody)
* cleaning z3950 old searches (more than 1 hour/day old ?) (paul)

View File

@ -0,0 +1,84 @@
RELEASE NOTES
=============
This version of Koha is the first in the 2.0 "stable" series.
It does not mean that it has no bugs, but least five libraries are using it and don't encounter impossible problems.
If you want to adopt Koha, please do, but you're warned that this release candidate version may still have some bugs and missing features. If you test it and let us know about any we haven't seen yet, it will help us to fix them.
INSTALLATION
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* Follow the instructions
UPGRADE from previous 2.0.0preX version
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
UPGRADE from previous 1.2.x version
This is the first koha 2 version that contains this upgrade.
It may have bugs. Please take backups and be sure that you can go back to your previous version if needed.
Otherwise, WAIT for 2.0.0RC2 or later.
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
* Open a browser to Koha
* Go to Parameters >> Marc structure option and Koha-MARC links option.
* Modify default MARC structure to fit your needs
* Open a command-line on the koha server
* Enter :
cd /path/to/koha/misc
export PERL5LIB=/path/to/koha/modules
./koha2marc.pl
This "copies" the old DB to the new MARC one.
Now Koha 2.0.0RC1 is ready for you to test.
BUGFIXES/IMPROVEMENTS
BUGS FIXED:
* biblio deletion now works in MARC & non MARC tables as well. tools for deletion added in MARCeditor (biblio & item deletion)
* bug in circulation that breaked the 1st circ screen
* biblio subject adding when more than 1 subject.
* bibliothesaurus : a fulltext index was missing. The updatedatabase script now creates it.
* 621 ; Returns not marking reserves waiting
* 649 : french word in english template
* 639 : unclosed <form> & other HTML error
* 592 : Re-issuing book does not renew correctly
* 654 : missing image
* 535 : major display problem with issues
* 678 : odd case usage in opac
* 634 : MARC21/USMARC confusion
* 385 : crash when trying to open an empty MARC::Record
* 564 : duplicate member number
IMPROVEMENTS:
* removing some unused code
* improved polish version
* improved installer & updater for non "standard" locations (/etc...)
* adding the classification column to the variables available to the template
* new plugin for unimarc, for field 60X.
DB change :
* fulltext index added in bibliothesaurus.
* added missing columns in deletedXXX tables
KNOWN BUGS :
* some bugs in circulation : english-only messages, errors issuing books, or returning books with reserves, cancelling reserves.
Note that those bugs doesn't appear everytime (they need specific circumstances it seems).
* MARC upload fails silently (in breeding farm)
* autobarcode not calculated even if autobarcode system parameter is set.
* the MARC21 english default parameter setup is working, but some librarians reports that some choices are poor. If you use MARC21, tweak some setups to fit your needs.

View File

@ -0,0 +1,90 @@
RELEASE NOTES
=============
This version of Koha is the second in the 2.0 "stable" series.
It does not mean that it has no bugs, but many libraries are using it and don't encounter unsolvable problems.
If you want to adopt Koha, please do, but you're warned that this release candidate version may still have some bugs and missing features.
If you test it and let us know about any we haven't seen yet, it will help us to fix them.
The 2.0.x series version is "feature freezed". Only bugs or minor changes will be made in this branch.
The koha team is already working on the 2.2.x version. In CVS (HEAD branch), developpers can already get 1st draft of a working z3950 server.
INSTALLATION
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* Follow the instructions
UPGRADE from previous 2.0.0preX version
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
UPGRADE from previous 1.2.x version
This is the second koha 2 version that contains this upgrade. Nobody reported a problem during update with 2.0.0RC1.
It may have bugs. Please take backups and be sure that you can go back to your previous version if needed.
Otherwise, WAIT for 2.0.0RC3 or later.
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
* Open a browser to Koha
* Go to Parameters >> Marc structure option and Koha-MARC links option.
* Modify default MARC structure to fit your needs
* Open a command-line on the koha server
* Enter :
cd /path/to/koha/misc
export PERL5LIB=/path/to/koha/modules
./koha2marc.pl
This "copies" the old DB to the new MARC one.
Now Koha 2.0.0RC2 is ready for you to test.
BUGFIXES/IMPROVEMENTS
BUGS FIXED:
* 318 : allow or not a book to be loan
* 537 : in borrower screen, the "fine & debts" now shows only amount due if >0, "nothing due" if borrower has no debts.
* 557 : spelling error in message for no search criteria entered
* 564 : Member card number not checked unique
* 586 : additem.tmpl displays incorrect biblio number
* 605 : circulation.pl only shows one waiting item (1 small problem remaining, see bugs.koha.org)
* 614 : opac-user.pl doesn't show which items are waiting
* 625 : dateformat under system prefs is confusing
* 646 : Member flag must be either 'parameters' or 'superlibrarian' to log in (now, any flag enable login)
* 662 : poor SQL calls, that could be used for SQL injection (security problem)
* 671 : Add institutional member confirmation screen has no details
* 672 : readingrec can not be reordered
* 675 : "logged in" info missing
* 683 : Search for barcode or illustrator says ' You did not specify any seach criteria'
* minor HTML modifs & tweaks
* minor improvements/bugfixes in installer
* biblio & item deletion bugs fixed.
* bug fixed in MARC editor, that appeared on specific MARC configuration & makes biblio adding impossible.
IMPROVEMENTS:
* z3950 client daemon improved a lot : many deadlock situations solved, improved problem reporting, ignoring invalid z3950 servers (or server not responding)
* new french translation. Note that only english and french are up to date. Other won't work, probably. Note also that a tool for translator is now ready, and should ease a lot translating and maintaining translations.
* new OPAC theme. it's called "css". It's a XHTML1.0 strict OPAC. In librarian interface, just change systempref opactheme to css to get it. Will be the default opac in 2.2
* publisher added in acquisition process (the one with basket & supplier) Basket now ordered by publisher.
* notforloan field management added in itemtype administration screen
* new migration script : misc/rebuildthesaurus.pl => this script can rebuild thesaurus/authority file after importing records with misc/bulkmarcimport.pl
DB change :
*index added into z3950results table UNIQUE KEY query_server (queryid,server) (added by installer & updater)
KNOWN BUGS :
* MARC upload fails silently (in breeding farm) if the file provided is not iso2709 (works fine with a valid file)
* autobarcode not calculated even if autobarcode system parameter is set and MARC=on.
* the MARC21 english default parameter setup is working, but some librarians reports that some choices are poor. If you use MARC21, tweak some setups to fit your needs.

View File

@ -0,0 +1,93 @@
RELEASE NOTES
=============
This version of Koha is the 3rd in the 2.0 "stable" series.
It does not mean that it has no bugs, but many libraries are using it and don't encounter unsolvable problems.
If you want to adopt Koha, please do, but you're warned that this release candidate version may still have some bugs and missing features.
If you test it and let us know about any we haven't seen yet, it will help us to fix them.
The 2.0.x series version is "feature freezed". Only bugs or minor changes will be made in this branch.
The koha team is already working on the 2.2.x version. In CVS (HEAD branch), developpers can already get 1st draft of a working z3950 server.
INSTALLATION
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* Follow the instructions
UPGRADE from previous 2.0.0preX version
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
UPGRADE from previous 1.2.x version
This is the second koha 2 version that contains this upgrade. Nobody reported a problem during update with 2.0.0RC1.
It may have bugs. Please take backups and be sure that you can go back to your previous version if needed.
Otherwise, WAIT for 2.0.0RC3 or later.
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
* Open a browser to Koha
* Go to Parameters >> Marc structure option and Koha-MARC links option.
* Modify default MARC structure to fit your needs
* Open a command-line on the koha server
* Enter :
cd /path/to/koha/misc
export PERL5LIB=/path/to/koha/modules
./koha2marc.pl
This "copies" the old DB to the new MARC one.
Now Koha 2.0.0RC2 is ready for you to test.
BUGFIXES/IMPROVEMENTS
BUGS FIXED since 2.0.0RC2 :
* LOT of bugs in french translation
* fixed bug in z3950 client daemon that makes "mySQL connection lost during query".
* 605 : circulation.pl only shows one waiting item
* 293 : Error Issuing Book - 1
IMPROVEMENTS since 2.0.0RC2 :
NONE
BUGS FIXED in RC2 :
* 318 : allow or not a book to be loan
* 537 : in borrower screen, the "fine & debts" now shows only amount due if >0, "nothing due" if borrower has no debts.
* 557 : spelling error in message for no search criteria entered
* 564 : Member card number not checked unique
* 586 : additem.tmpl displays incorrect biblio number
* 605 : circulation.pl only shows one waiting item (1 small problem remaining, see bugs.koha.org)
* 614 : opac-user.pl doesn't show which items are waiting
* 625 : dateformat under system prefs is confusing
* 646 : Member flag must be either 'parameters' or 'superlibrarian' to log in (now, any flag enable login)
* 662 : poor SQL calls, that could be used for SQL injection (security problem)
* 671 : Add institutional member confirmation screen has no details
* 672 : readingrec can not be reordered
* 675 : "logged in" info missing
* 683 : Search for barcode or illustrator says ' You did not specify any seach criteria'
* minor HTML modifs & tweaks
* minor improvements/bugfixes in installer
* biblio & item deletion bugs fixed.
* bug fixed in MARC editor, that appeared on specific MARC configuration & makes biblio adding impossible.
IMPROVEMENTS in RC2:
* z3950 client daemon improved a lot : many deadlock situations solved, improved problem reporting, ignoring invalid z3950 servers (or server not responding)
* new french translation. Note that only english and french are up to date. Other won't work, probably. Note also that a tool for translator is now ready, and should ease a lot translating and maintaining translations.
* new OPAC theme. it's called "css". It's a XHTML1.0 strict OPAC. In librarian interface, just change systempref opactheme to css to get it. Will be the default opac in 2.2
* publisher added in acquisition process (the one with basket & supplier) Basket now ordered by publisher.
* notforloan field management added in itemtype administration screen
* new migration script : misc/rebuildthesaurus.pl => this script can rebuild thesaurus/authority file after importing records with misc/bulkmarcimport.pl
DB change in RC2:
*index added into z3950results table UNIQUE KEY query_server (queryid,server) (added by installer & updater)

View File

@ -0,0 +1,70 @@
RELEASE NOTES
=============
This version of Koha is the 4rd in the 2.0 "stable" series.
It does not mean that it has no bugs, but many libraries are using it and don't encounter unsolvable problems.
If you want to adopt Koha, please do, but you're warned that this release candidate version may still have some bugs and missing features.
If you test it and let us know about any we haven't seen yet, it will help us to fix them.
INSTALLATION
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* Follow the instructions
UPGRADE from previous 2.0.0preX or RCx version
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
UPGRADE from previous 1.2.x version
This is the second koha 2 version that contains this upgrade. Nobody reported a problem during update with 2.0.0RC1.
It may have bugs. Please take backups and be sure that you can go back to your previous version if needed.
Otherwise, wait for next version.
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
* Open a browser to Koha
* Go to Parameters >> Marc structure option and Koha-MARC links option.
* Modify default MARC structure to fit your needs
* Open a command-line on the koha server
* Enter :
cd /path/to/koha/misc
export PERL5LIB=/path/to/koha/modules
./koha2marc.pl
This "copies" the old DB to the new MARC one.
Now Koha 2.0.0RC4 is ready for you to test.
BUGFIXES/IMPROVEMENTS:
BUGS FIXED:
major :
* #293 : Error Issuing Book - 1 (a very old one...)
* #605 : circulation.pl only shows one waiting item
* #661 : Set three variables for the circ template: gna, lost, and dbarred
* biblio deletion : in some cases, the biblio deletion was done on another biblio than the one asked.
* indicators where stored but not displayed in MARC editor/viewer.
* book shelves work again (note bookshelves are not avaible in OPAC. they will be added in 2.2.0)
minor :
* it's now impossible to create a basket for an inactive supplier (it's of course possible to change supplier datas and recieve a past order)
* removing "bulk", useless field, in admin/categorie.pl list (NOT in DB, in case someone uses the field)
* removing forced order in admin/thesaurus.pl => mySQL returns datas ordered by relevance in fulltext index if you don't force an order.
* Next borrower didn't work in circulation.pl (didn't return to borrower form)
* in circulation.pl, removing <br> to have all informations without sidebar on a 1024x768 screen.
* in circulation.pl, ODUES are in red in borrower header
* quoting correctly titles with a " inside, in MARC editor
IMPROVEMENTS:
* Minor translation & HTML fixes.
* Adding >>> in biblio editor to change tab.
* Adding a "print" link in MARCbiblio : popup a small windows, print the biblio, and closes. Nice for libraries still having a paper catalog.

View File

@ -0,0 +1,72 @@
RELEASE NOTES
=============
This release add many bugfixes, and some improvment in z3950 and repetable fields management.
It has been placed in the "unstable tree" because there are still some bugs.
But it's fully usable, and should not be modified a lot until a stable version is released.
PACKAGE NEEDED :
---------
Nothing new. Note MARC::Record has new releases, but older one (1.26) works fine.
DB modifications :
---------
* added field in aqbudget, primary key :
aqbudgetid tinyint(4) NOT NULL auto_increment
PRIMARY KEY (aqbudgetid)
* added field in systempref :
options text
* bibliothesaurus
field father changed to char(80) (was bigint)
added full text index : FULLTEXT KEY category_2 (category,freelib)
z3950 :
---------
* works on biblio adding & modifying
* works on ISBN, author, title, the 1st found being the one used.
various :
----------
* added subject and subtitle to MARC subfields mapped to Koha old-DB.
* reordered bookfunds/budget admin tools.
languages/languages :
-------------
DEFAULT template :
* english works.
* french should work, mostly. If you experiment some problems, test with english templates, and report the problem as general of french specific
NEW template :
a "unido" template is in this release. It's uncomplete, and based on vanilla template.
GUI reordering
------------------
* Some unused links have been dropped.
* a "submenu" shows some operation below main menu.
* the MARC link disappeared. It's managed by the MARC=ON/OFF systempref. (the breeding import is now in Parameters section)
* acquisition and cataloguing are now separated. acquisition=simple/normal in systempref and cataloguing is MARC/nonMARC depending on MARC=ON/OFF systempref.
Should be easier to understand.
Bugs still open in bugs.koha.org
=======================
always some, but less than in 1.9.3 (40 at this time. more than 20 of them are minor : spellcheck, image missing...)
Some of them (for more details, see http://bugs.koha.org) :
* 426 Reserving a book (with a reserve fee) results in a hostile message
* 452 Payment due flags not showing up for children
* 185 Barcode not auto-calculated when autobarcode is on
* 425 Add new website feature doesn't work
* 318 allow or not a book to be loan
* 236 Reserve book on future date doesn't work or copy is wrong
*
bugs not reported here are either unconfirmed, not understood, minor, or partially fixed.
Feel free to ask for bugfixes and new features in bugs.koha.org.
NOTE that NEW FEATURES or IMPROVEMENTS will only be for 2.0.1 unless it's a very trivial or blocking one.
TODO
=====
* bug fixes (everybody)
* cleaning z3950 old searches (more than 1 hour/day old ?) (paul)

View File

@ -0,0 +1,59 @@
RELEASE NOTES
=============
Bugfixes & some improvements (security & perf only)
It has been placed in the "unstable tree" because there are still some bugs.
But it's fully usable, and should not be modified a lot until a stable version is released.
DB modifications :
---------
None, but check that your systempreferences table is :
CREATE TABLE systempreferences (
variable varchar(50) NOT NULL default '',
value varchar(200) default NULL,
explanation varchar(200) NOT NULL default '',
options text,
type varchar(20) default NULL,
PRIMARY KEY (variable)
) PACK_KEYS=1;
If you installed a 2.0.0pre1 from scratch, it should be ok.
If your version was a 1.9.x, it should not be ok.
SYSTEMPREFS :
---------
In systempreferences, add a gist field. Used to calculate gst when ordering, in acquisition module. Enter 0.12 for 12% rate.
IMPROVMENTS :
---------
* checkmarc.pl : added a check on fields mapped to item marc tag (by Paul).
* overdue books backported from 1.2.x (& templated) (by Chris)
* some additionals check to verify a borrower can borrow a book (by Esiee)
* MARC search (in intranet) :
- dramaticaly improving the speed of a MARC search in case of a A OR B search (by Paul)
- Users can search using more than 3 criterias (criterias are now added dynamically) (by Esiee)
- Results can be displayed using 20,50 or 100 results per page. (by Esiee)
- Added arrows and numbers to walk through the results (as in OPAC) (by Esiee)
BUGS FIXED :
---------
* 2 stupids & majors bug in MARC editor, due to too fast copy/paste. (fixed by Paul)
* bug 479 : I have problem to assign a Sticky due date, it uses day date as year due date !!! (fixed by ?)
* bug 471 : missing next / previous in itemtype admin page, in case there is more than 20 itemtypes (fixed by Paul)
* bug 474 : alternate contact no more required (fixed by Paul)
* bug 478 : value modification with single quote now works (in parameters section) (fixed by Paul)
* bug 489 : poor file copying during install (fixed by MJR)
* bug 526 : gst rate hardcoded. Moved to systempref (see SYSTEMPREFS chapter). (fixed by Paul)
If supplier parameters are set to do it, the gst are now auto calculated with javascript.
* bug 512 : bibliosubject table is not being populated (fixed by Paul)
* bug 513 : marclinks: default mapping typo (fixed by Paul)
* updatedatabase bugs : now, the updatedatabase script (located in scripts/updater) works and update your DB structure.
note it only adds fields & tables. The MARC parameter tables won't be populated, neither the MARC-DB. (fixed by Paul)
KNOWN BUGS :
-------
* bug 510 : new doc needs to be integrated
* bug 487 : upgrade problem from a previous version. If you install from scratch, it should be fine.
* bug 515 : biblio.notes ignores Marclinks mapping durring import
* bug 293 : Error Issuing Book - 1 in some specific cases
* bug 523 : requests does not store dates in reserves table
plus some other, less critical.

View File

@ -0,0 +1,79 @@
RELEASE NOTES
=============
This version of Koha is still in the "unstable" directory, because some bugs are still reported. But it's fully useable and used in (at least) 3 libraries in "real world" :
* Nelsonville Public Library, Ohio, USA
* Esiee, high school, France
* Dombes Abbey, France
The next version should/might be the 2.0.0RC1.
The only missing features are :
* a migration tool for libraries already using Koha1.2.x
* an automated upgrading tool for future version. It's possible to upgrade manually.
IMPROVEMENTS :
---------
* adding a demo setup : if you set "demo=1" in /etc/koha.conf, Koha is in "demo mode". In this mode, user can connect with "demo/demo", even if this user is not in members table.
He can do everything, except that any modif/add/delete done in systempref or marc structure is NOT saved in the DB. This avoid demo user breaking the demo config.
* adding javascript function to focus on 1st field for issues / returns. Thus, librarian don't need manual mouse focus & can scan barcode immediatly.
* authories/thesaurus management : adding the possibility to add an authority directly.
UPGRADING :
---------
People using a previous 2.0.0preX version can upgrade code and use the same DB, there's no DB change.
To upgrade mannually :
- mv /etc/koha.conf /etc/koha.conf_previous
- install in a new directory /var/www/html/koha_200pre3 for example.
- delete the 2.0.0pre3 DB
- modify /etc/koha.conf to point to 2.0.0pre3 DB
- modify httpd.conf to have Koha root directory pointing to 200pre3 install instead of 200pre2
- restart Apache.
Note : you can use the 2.0.0pre2 login/password.
If you do, mySQL may complaint about "already existing DB user". It's not a problem.
Note : you can also use "CVS symlink installation" of Koha if you prefer. See http://www.saas.nsw.edu.au/wiki/index.php?page=CVSSymLinkInstallation
BUGFIXES :
---------
(the bug number refers to bugzilla number. See bugs.koha.org)
512 : bibliosubject table is not being populated
564 : Member card number not checked unique
567 : classlist not filled in when using catalogue-home.pl
593 : data duplication in MARC-DB
562 : Returns not showing 'on reserve' message for holds
565 : item barcode not checked unique
516 : biblioitems.itemtype does not load
556 : OPAC subject search with class specified returns error
103 : Need additional Perl module checks in installer.pl
570 : Subject search returns duplicate results
493 : add member error
563 : Keyword search does not search author names
583 : values in marc_word table should have quotation marks, etc,
499 : Members display by letter
561 : Javascript link doesn't work
164 : Editing member details loses postal address
233 : OPAC - User update doesn't work.
525 : If itemtype is not set, we get a broken more detail page, We
129 : Choosing to install MARC tables gave errors
152 : Install.pm missing from main branch
363 : Searching on contains works only with full names.
553 : broken html (neither valid nor well-formed)
582 : Move error message contents out of newmember.pl
153 : opachtdocs and intrahtdocs in koha.conf not initialized
474 : Alternate contact should not be required
558 : Member search results table doesn't show alternating colors
542 : Move HTML out of itemtypes.pl
490 : Poor display
558 : Member search results table doesn't show alternating colors
548 : Spelling of Catalog/Catalogue
547/546 : some improvements in koha docs (located at docs/kohadoc.sgml)
540 : Missing requests.gif or equivalent
XXX : Many french translation improvements.
XXX : some installer improvments.
XXX : fix for publicationyear : extracting numeric value from MARC string, like for copyrightdate.
XXX : fixing font size bug, & minor change in submenu look.
XXX : modifying MARC21 default setup : using Nelsonville setup, that is working. User just need to define itemtypes.
XXX : fixing small bug : escaping twice the ' in title & author.
(XXX : bugfixes not in bugs.koha.org)

View File

@ -0,0 +1,29 @@
RELEASE NOTES
=============
This version of Koha is still in the "unstable" directory, because some bugs are still reported. But it's fully useable and used in (at least) 4 libraries in "real world" :
* Nelsonville Public Library, Ohio, USA
* Esiee, high school, France
* Dombes Abbey, France
* Wesford school, France
This release fixes a few bugs, and MANY french translation fixes/improvements.
BUGFIXES/IMPROVEMENTS
---------
* new script : koha/koha/misc/overduenotices.pl
This is a script for the use of printing, and emailing overdue notices.
The script must be run from the command line
Documentation is contained in the script
* fix for bug 603 : patron searches are wonky when first letter of first and last name are the same
* removing trailing "," in subject.
* fixing some bugs in charges.pl, script that fills the categoryitem table.
The categoryitem table contains fines for every itemtype-borrowercategory.
Still has to be templated and added to admin part of Koha
* notforloan bug fix : now, if a specific item is "notforloan" and the itemtype "forloan", the "notforloan" is used. Before this fix, it was overwritted by the itemtype info/
* fixing a bug that deleted the MARC part of a biblio when using full acqui system.
Now, when you acquire a book through full acqui system, what you enter during acqui appears in the right MARC fields in MARC editor.
FRENCH SPECIFIC
---------
More than 30 improvements/bugfixes in french templates.

View File

@ -0,0 +1,76 @@
RELEASE NOTES
=============
this version of Koha is the last one of the 2.0.0 series in the "unstable" tree.
5 libraries are using it, so it's quite useable.
2 last problems have to be solved before 2.0.0RC1 :
* biblio deletion : at the moment, biblio deletion is buggy (does not work in MARC, delete only non-marc data)
* upgrader is provided for the 1st time, so it's probably buggy.
If you want to use Koha, you're welcomed, but you're warned that this version still has some bugs and missing features.
INSTALLATION
==========
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* follow the instructions.
NOTE: You will need to add lines to your main httpd.conf to include
/etc/koha-httpd.conf and to make sure it is listening on the right ports
(using the Listen directive). Previous versions updated the httpd.conf file,
some users thought it was bad/poor decision.
UPGRADE from previous 2.0.0preX version
=======
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* follow the instructions.
UPGRADE from previous 1.2.x version
=======
This upgrade is possible with this release for the 1st time.
EXPECT IT TO HAVE SOME BUGS SOMEWHERE.
USE IT ONLY IF YOU KNOW HOW TO GO BACK TO PREVIOUS SITUATION.
Otherwise, WAIT for next version or so.
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* follow the instructions.
* launch Koha
* Go to Parameters >> Marc structure option and Koha-MARC links option.
* Modify default MARC structure to fit your needs.
* open a console/term
* Enter :
cd /path/to/koha/misc
export PERL5LIB=/path/to/koha
./koha2marc.pl
the old DB is "copied" in the new MARC one.
Koha 2.0.0 is ready.
BUGFIXES/IMPROVEMENTS
=======
BUGS FIXED :
+++++++++
619 : Visiting selectbranchprinter.pl automatically resets branch
618 : Add member process does not check for duplicate barcode
532 : Can't assign new password without changing UserID
599 : edited items are stored incorrectly in old Koha DB (aka : barcode non mandatory bug)
616 : MARCgetbiblio doesn't create leader
500 : [INTRANET]Only 21 items are displayed in the search result
595 : 'Add field' link in /acqui.simple/addbiblio.pl adds incorrect field.
622 : processz3950queue fails
576 : add install locale test
39 : Update Dirs in z3950 scripts
536 : bulkmarcimport.pl generates subtitle error
436 : circulation.pl only partially templated (this bug is partially fixed)
IMPROVEMENTS
+++++++++
* Polish version of Koha (courtesy of Benedykt)
* some useful tools in misc directory to manage the DB
* adding "fines" entry in parameters section : to manage fees when a book is returned too late

View File

@ -1,8 +1,5 @@
0 *****
A *****
A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table. *****
A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically. *****
A MARC record is stored in the breeding farm as long as you have no item. When you type the ISBN or title of a biblio, it's searched for in the breeding farm. If it is found, the biblio is added to Koha active table and removed from the breeding farm. *****
A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table *****
A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically *****
About *****
Abstract *****
Account for *****
@ -14,8 +11,8 @@ action=modrequest.pl method=post> *****
ACTUAL *****
Actual Cost *****
Adam Thick *****
Add *****
add *****
Add *****
Add a book by barcode *****
Add a New Item for *****
Add a system preference *****
@ -25,18 +22,18 @@ Add Authorised value *****
Add biblio *****
Add Bookfund *****
Add Budget *****
Add category *****
Add Category *****
Add category *****
Add Child *****
Add criteria *****
Add Currency *****
Add currency *****
Add item *****
Add Currency *****
Add Item *****
Add item *****
Add item type *****
Add Item Type *****
Add Member *****
Add member *****
Add Member *****
Add New Branch *****
Add New Category *****
Add new Institution *****
@ -50,8 +47,8 @@ Add New Website *****
Add or Remove Book Shelves *****
Add order : enter keyword or title *****
Add organisation *****
Add Printer *****
Add printer *****
Add Printer *****
Add Shelf *****
Add Stop word *****
Add supplier *****
@ -68,8 +65,8 @@ addcategory_validate *****
Adding *****
Adding a new Biblio *****
Additional Author *****
Additional authors *****
Additional Authors *****
Additional authors *****
Address *****
add_form *****
add_validate *****
@ -90,25 +87,27 @@ Alternative Contact *****
ALTERNATIVE CONTACT DETAIL *****
Alternative Phone *****
Ambrose Li *****
Amount *****
AMOUNT *****
Amount *****
AMOUNT OWING *****
An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table. *****
An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table *****
and *****
and all entries depending from this one *****
and has been returned. *****
and has been returned *****
and Simon Blake, Amanda Atkins, Operations Manager, Olwen Williams, Finlay Thompson, Gynn Lomax, Richard Anderson, Jeremy Blake, Rebecca Holden, Olive T. Canine *****
and they must all be in the 10 (items) tab *****
Andrew Arensburger *****
Andrew Hooper *****
Ann?e d?but *****
Ann?e fin *****
Année début *****
Année fin *****
Any *****
any *****
Any *****
Apache version *****
AQUISITIONS *****
Area *****
Attempting to issue by to . *****
Attempting to issue by to *****
Auth value *****
Author *****
AUTHOR *****
@ -121,20 +120,19 @@ Authority *****
Authority lib *****
Avail *****
Available *****
B *****
Back *****
Back to acquisition *****
Bar Code *****
BARCODE *****
Barcode *****
Barcode '' has already been assigned. *****
BASKET *****
BARCODE *****
Barcode '' has already been assigned *****
Basket *****
BASKET *****
Baycorp Adjustment *****
be in tab -1 *****
be in the SAME tag (for example : 090$a and 090$b) *****
be mapped to a MARC subfield, *****
be mapped to the same tag, *****
be mapped to a MARC subfield *****
be mapped to the same tag *****
Become a Member *****
Benedykt P. Barszcz (polish for 2.0) *****
Between Brothers by Irene Morck at Main Library *****
@ -145,7 +143,6 @@ Biblio # *****
biblio and biblionumber *****
Biblio number *****
BIBLIO RECORD *****
Biblio related *****
Biblio Search Results *****
biblioitems.itemtype defined *****
Biblionumber *****
@ -155,18 +152,19 @@ Biblios in breeding farm *****
Biblios in koha *****
Bold *****
Book fund *****
Book fund administration. Remember to edit your book funds before you start editing the budgets. *****
Book fund administration. Remember to edit your book funds before you start editing the budgets *****
Book fund name *****
Book funds *****
Bookfund *****
Bookfund admin *****
Bookshelves *****
borrower *****
Borrower *****
borrower *****
Borrower categories *****
Borrower Information *****
Borrowernumber *****
borrowers *****
BORROWERS *****
borrowers *****
Branch *****
Branch code *****
branch table empty *****
@ -185,10 +183,9 @@ Budgeted GST *****
BUDGETED TOTAL *****
Budgets *****
BUDGETS AND BOOKFUNDS *****
Build your request using MARC fields and subfields. Add criteria lets you add another criteria to your search. Search commits the request and displays the results. *****
Build your request using MARC fields and subfields. Add criteria lets you add another criteria to your search. Search commits the request and displays the results *****
Bulk *****
button [left] to amend the biblio. Any changes you make will update the record for *****
C *****
Cancel *****
Cancel reservation and then attempt transfer *****
Cancelled *****
@ -199,8 +196,8 @@ Cardnumber *****
Cash Refund *****
Cat maintenance *****
Cataline Library *****
CATALOGUE *****
Catalogue *****
CATALOGUE *****
CATALOGUE DETAILS *****
Catalogue Search *****
Categories *****
@ -215,14 +212,15 @@ Change status to waiting and print *****
CHANGES TO AFFECT THESE BARCODES *****
Character encoding (MARC21 or UNIMARC) *****
Charge *****
Charges *****
CHARGES *****
Charges amounts for itemtypes / borrower types. *****
Charges *****
Charges amounts for itemtypes / borrower types *****
Checked *****
checked > No *****
checked > Yes *****
Checked (searched by default) *****
checked value=1> *****
checked value=1> (if checked, no item of this type can be issued. If not checked, every item of this type can be issued unless notforloan is set for a specific item) *****
checked> M     *****
checked>Active *****
checked>F *****
@ -246,7 +244,7 @@ Clear *****
Clear all Fields *****
Click *****
Click on the *****
click on the appropriate radio button (in the green boxes), and choose to either re-assign the item/s to a record already in the system, or modify this record. IF your changes only apply to some items, tick the appropriate ones and a new group record will be created automatically for them. *****
click on the appropriate radio button (in the green boxes), and choose to either re-assign the item/s to a record already in the system, or modify this record. IF your changes only apply to some items, tick the appropriate ones and a new group record will be created automatically for them *****
Click submit to force the subject *****
clr *****
Code *****
@ -282,34 +280,33 @@ Currencies admin *****
Currency *****
Current Branch *****
CURRENT STATUS *****
D *****
Daily Report (today) *****
Daily Report (yesterday) *****
Daniel Holth *****
Data about the current version of Koha for bug reports (or general interest). *****
Data about the current version of Koha for bug reports (or general interest) *****
Data deleted *****
Data recorded *****
Database *****
DATE *****
Date *****
Date arrived at current branch *****
Date d'enregistrement *****
DATE DUE *****
Date Due *****
Date Of Birth *****
Date of Birth *****
Date Of Birth *****
Date/time *****
Date: <!-- TMPL_VAR Name= *****
David Strainchamps *****
Day *****
Define categories and authorised values for them. Authorised values are used in MARC form to limit/help editing MARC biblios. *****
Define exchange rates. *****
Define item types. *****
Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage. *****
Define the categories of borrowers. *****
Define categories and authorised values for them. Authorised values are used in MARC form to limit/help editing MARC biblios *****
Define exchange rates *****
Define item types *****
Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage *****
Define the categories of borrowers *****
Del *****
delete *****
Delete *****
Delete a request by selecting "del" from the rank list. *****
delete *****
Delete a request by selecting "del" from the rank list *****
Delete Shelves *****
Delete this Website link *****
delete_category *****
@ -326,19 +323,17 @@ Dorian Meid *****
do_search *****
Due *****
Due Date *****
E *****
E-mail *****
E-mail Address *****
Each box needs to be filled in with fine,time to start charging,charging cycle *****
Easy / Picture Books *****
Easy Reader *****
Ed Summers *****
Edit *****
edit *****
Edit *****
Edit Institution *****
editcategory *****
eg 1,7,7 = $1 fine, after 7 days, every 7 days *****
eg 1,7,7 = $1 fine, after 7 days, every 7 days. *****
Email *****
END *****
End date *****
@ -352,39 +347,37 @@ Enrolment fee *****
Enrolment period *****
Enter Book Barcode *****
Enter borrower card number *****
enter key to activate search *****
ERROR *****
Error *****
ERROR *****
ERROR : Barcode already exists ! *****
Error Issuing Book *****
Ethnicity *****
Ethnicity Notes *****
Ethnicity: , *****
Exact *****
exact *****
EXCHANGE RATES *****
Existing items *****
Expiry Date *****
Explanation *****
Export *****
export *****
Export *****
Export in MARC format the following biblios *****
Exporting in MARC format. *****
F *****
Exporting in MARC format *****
Fax *****
Fee *****
Fee:$30/year, Paid *****
Fiction *****
Field *****
fields must be filled in to create a new bibilo and item. *****
fields must be filled in to create a new bibilo and item *****
Fill those tables in the order they appear to get a working Koha *****
Fine *****
Fine type *****
FINES & CHARGES *****
Firstname *****
FLAGS *****
Flags *****
FLAGS *****
Florian Bischof *****
for ( *****
for *****
For a website add the group only *****
for reserve pickups *****
Format *****
@ -396,7 +389,6 @@ From *****
from biblio number *****
Full MARC Record available at bottom *****
Funds *****
G *****
Gender *****
General Notes *****
German *****
@ -411,31 +403,28 @@ GST *****
GST Registered *****
Guarantees *****
Guarantor *****
H *****
has been entered into the database with biblionumber and biblioitemnumber *****
HDL INTRANET *****
HELP *****
HELP Ordering *****
Henri-Damien Laurent *****
here *****
HERE *****
here *****
holdingbranch defined *****
holdingbranch NOT mapped *****
Home *****
Home Address *****
Home Address: , *****
Home Branch *****
homebranch defined *****
homebranch NOT mapped *****
Horowhenua Library Trust *****
Hostname *****
I *****
I 1     *****
If an ISBN already exists in the breeding farm, you can choose whether to ignore the new one or overwrite the old one. *****
If an ISBN already exists in the breeding farm, you can choose whether to ignore the new one or overwrite the old one *****
If ISBN already in breeding farm *****
If some of the items listed above need a different biblio, or are on the wrong biblio, you must use the *****
If the ISBN or title is found in the biblio table, it will be retrieved and can be modified. *****
If the ISBN or title is found in the breeding farm, it will be retrieved and a biblio will be added. *****
If the ISBN or title is found in the biblio table, it will be retrieved and can be modified *****
If the ISBN or title is found in the breeding farm, it will be retrieved and a biblio will be added *****
Ignore *****
Ignore and return to transfers *****
Ignore this one, keep the existing one *****
@ -455,7 +444,7 @@ INSTITUTION DETAILS *****
Institution Name *****
intra *****
intranet *****
Invalid cardnumber. *****
Invalid cardnumber *****
Invalid_cardnumber *****
Invoice *****
Invoice Item Price Includes GST *****
@ -468,8 +457,8 @@ Isbn *****
ISBN title *****
ISSN *****
Issue *****
Issue Limit *****
Issue limit *****
Issue Limit *****
Issues *****
ISSUES & RETURNS *****
Issuing Question *****
@ -479,7 +468,7 @@ Item added with barcode *****
Item Barcode *****
Item Count *****
item fields *****
Item is marked waiting at for ( *****
Item is marked waiting at for *****
Item lost *****
Item marked Waiting *****
ITEM RESERVED: () barcode: itemtype: COLLECT AT: BORROWER: card number: Phone: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "> *****
@ -502,7 +491,6 @@ Itemtype *****
itemtype NOT mapped *****
itemtypes table empty *****
itemtypes table filled with at least 1 value *****
J *****
Jo Ransom *****
Joined: , Expires *****
Joining Branch *****
@ -511,7 +499,6 @@ Joshua Ferraro & the Nelsonville Public Library (MARC features funders) *****
Junior Fiction *****
Junior Non-Fiction *****
Jérome Vizcaino (Esiee School) *****
K *****
Katipo Communications *****
Keep a record of books I have read *****
Keyword *****
@ -533,7 +520,6 @@ KOHA: INTRANET: Members *****
KOHA: INTRANET: Parameters *****
KOHA: INTRANET: Reports *****
KOHA: OPAC Catalogue Search *****
L *****
Language *****
Last borrowed *****
Last Borrower 1 *****
@ -542,8 +528,8 @@ Last seen *****
Last Seen *****
Last seen at branch *****
LCCN *****
Lib *****
lib *****
Lib *****
Lib for librarians *****
Lib for librarians / for opac *****
Lib for opac *****
@ -553,22 +539,21 @@ Links Koha - MARC DB *****
Links to Associated Websites *****
List Item Price Includes GST *****
List Prices are *****
Loan Length *****
Loan length *****
Location *****
Loan Length *****
LOCATION *****
Location *****
Log In *****
Log Out *****
Logged in as: [ *****
Login *****
Logged in as *****
login *****
Login *****
Lost *****
Lost Item *****
M *****
Main Library *****
Main Menu *****
Management of thesaurus and authorities files. *****
Manages thesaurus and authorities files. *****
Management of thesaurus and authorities files *****
Manages thesaurus and authorities files *****
Mand *****
Mandatory *****
Manual Credit *****
@ -580,11 +565,10 @@ MARC biblio management *****
MARC Check *****
MARC links *****
MARC RECORD *****
MARC related *****
MARC search *****
MARC Search *****
MARC search *****
MARC search results *****
MARC structure: tags then subfields. *****
MARC structure: tags then subfields *****
MARC tag structure *****
MARC tag structure admin *****
MARC21 *****
@ -604,7 +588,7 @@ Member# , Card Number *****
Members *****
Membership Category *****
MEMBERSHIP DETAILS *****
Membership No. *****
Membership No *****
Membership Number *****
MEMBERSHIP RECORD *****
Messages *****
@ -615,8 +599,8 @@ Mike Hansen *****
Mike Johnson *****
Mike Mylonas *****
MJ Ray and Turo Technology LLP, england (quality control, installer & updater) *****
Modify *****
modify *****
Modify *****
Modify a system preference *****
Modify category *****
Modify currency *****
@ -634,7 +618,6 @@ mod_validate *****
Month *****
must *****
MySQL version *****
N *****
Name *****
Name of this import *****
Name this set of MARC records *****
@ -642,7 +625,7 @@ name=Aform method=post> *****
needs to be transfered to *****
NEW *****
New Card *****
New category... *****
New category *****
New File *****
New Item *****
NEW MEMBER *****
@ -651,14 +634,15 @@ New Record *****
New Search *****
New UserID *****
Next >> *****
Next Available *****
Next Available This type only *****
Next Available, *****
Next Borrower *****
Nicholas Rosasco, (Documentation Compiler) *****
Nicolas Morin, French Translation *****
NO *****
no *****
No *****
NO *****
No debts *****
no guarantor *****
No Item with barcode: Please return item to home branch: Item is already at destination branch. Item was on loan to *****
No Item with barcode: Please return to Not On Issue. Item was lost, now found. Item Cancelled *****
@ -668,29 +652,28 @@ No Title *****
No. of Issues *****
No. of Items *****
Non-Fiction *****
normal *****
Normal *****
normal *****
Not for loan *****
not imported because already in DB *****
not imported because already in farm *****
not imported because they seems not to be MARC format (or ISBN/ISSN missing) ! *****
Not on Issue. *****
Not on Issue *****
Note : fines are calculated by the fines2.pl script, located in misc directory. Ask your administrator to put this script in crontab (after midnight) to have fines calculated every night *****
NOTE : if you change something in this table, ask your administrator to run misc/rebuildnonmarc.pl script. *****
NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script. *****
NOTE : if you change something in this table, ask your administrator to run misc/rebuildnonmarc.pl script *****
NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script *****
Note : the items are NOT exported by this tool *****
Note: in the last column, you can choose *****
Notes *****
NOTES *****
Notes *****
Nothing found *****
Notify me about overdues by email *****
Notify me about Special Events by email *****
Number *****
Number of issues since the above date *****
O *****
OD/Issues *****
ODUES *****
Of course, if the ISBN already exists in the active DB, the biblio will be ignored. *****
offset=&num=5">5 *****
Of course, if the ISBN already exists in the active DB, the biblio will be ignored *****
OK *****
One Author per line *****
One Subject per line *****
@ -706,18 +689,17 @@ or partial last name *****
Order *****
Order placed *****
ORDERING INFORMATION *****
organisation *****
Organisation *****
organisation *****
OS version (from 'uname -a') *****
OTHER *****
Other forms *****
Other lib *****
Otherwise, a biblio can be added from scratch. *****
Otherwise, a biblio can be added from scratch *****
Overdue *****
Overdue items *****
Overdue notice required *****
Overwrite the existing one with this *****
P *****
P&P *****
Pages *****
Paid for *****
@ -751,7 +733,6 @@ Polish *****
Port *****
Position *****
Postal Address *****
Postal Address: , *****
Postal city *****
Postal Street Address *****
Prefered Name *****
@ -762,15 +743,14 @@ Printer *****
Printer admin *****
Printer Name *****
Printers *****
Printers (UNIX paths). *****
process to fix this. You will need to "re-order" the items, and delete them from this biblio. *****
processing... *****
Printers (UNIX paths) *****
process to fix this. You will need to "re-order" the items, and delete them from this biblio *****
processing *****
Pubdate *****
Publication Year *****
Published by *****
Publisher *****
Publishers and Imprints *****
Q *****
QTY *****
Qty *****
Quantity *****
@ -778,14 +758,13 @@ Quantity Ordered *****
Quantity Received *****
Queue *****
Quick search *****
R *****
Rachel Hamilton-Williams, General Manager (Webmistress) *****
Rank *****
Rank (display order) *****
Rate *****
RE-ASSIGN TO EXISTING GROUP *****
Receipt Summary for : , Invoice *****
Receipt Summary for: Invoice, *****
Receipt Summary for: Invoice *****
Receive *****
RECEIVE OR MODIFY PERIODICAL ORDER *****
Receive Orders From Supplier *****
@ -803,12 +782,12 @@ Remove *****
Remove Selected Items *****
Renew *****
Renew Items *****
Renew Items, view add, modify and delete records, all by starting with this search. *****
Renew Items, view add, modify and delete records, all by starting with this search. Type a borrower name, part of a name, or number in the field above and hit the enter key to activate search *****
Renewable *****
Renewals *****
Renewals allowed *****
Rental charge *****
Rental Charge *****
Rental charge *****
Rep *****
Repeatable *****
Repet *****
@ -824,20 +803,19 @@ Requesting *****
Reserve *****
Reserve Cancelled *****
Reserve fee *****
Reserve Found *****
Reserve found *****
reserve found for ( *****
Reserve Found *****
reserve found for *****
Reserved *****
Reserves *****
Result *****
Results *****
Results through of records. *****
Results through of records *****
Results to displayed *****
Results to displayed. *****
Results to of *****
results found *****
results found. *****
Results per page *****
RETURNED *****
Returned Item Information *****
Returned Items *****
Returns *****
@ -845,8 +823,8 @@ Rick Hansen Library *****
Roger Buck *****
Ron Wickersham *****
Rosalie Blake, Head of Libraries *****
S *****
Save *****
save *****
Save Changes *****
School *****
Search *****
@ -854,7 +832,7 @@ search *****
Search ISBN or Title *****
Search Keyword or Title *****
Search Results *****
Search still pending... *****
Search still pending *****
Search the Catalogue *****
Searching *****
Sebastiaan Durand *****
@ -863,7 +841,7 @@ Sedgewick Library *****
select *****
Select a borrower *****
Select a collection *****
Select a file to import into the breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in the breeding farm. *****
Select a file to import into the breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in the breeding farm *****
Select a New File *****
Select a Record to Import from *****
Select a set of MARC records *****
@ -884,7 +862,11 @@ selected value="start">Starts with *****
selected> *****
SELECTED>dir. de publication *****
SELECTED>illustrateur *****
SELECTED>monographie compl?te *****
SELECTED>monographie complète *****
SELECTED>p?riodique d'?tat inconnu *****
SELECTED>p?riodique en cours *****
SELECTED>p?riodique mort *****
SELECTED>postface *****
SELECTED>préface, notes *****
SELECTED>périodique d'état inconnu *****
@ -895,13 +877,13 @@ SELECTED>traducteur *****
Serial *****
Series *****
Series Title *****
Servers to query for MARC data. *****
Servers to query for MARC data *****
Set Flags *****
Set Preferences *****
Set reserve to waiting and transfer book to *****
SetWaiting *****
Sex *****
Shaded fields can be used to do a "quick" receive, when items have been purchased locally or gifted. In this case the quantity "ordered" will also be entered into the database as the quantity received. *****
Shaded fields can be used to do a "quick" receive, when items have been purchased locally or gifted. In this case the quantity "ordered" will also be entered into the database as the quantity received *****
Shelf List *****
Shopping Basket for *****
Shopping Basket For *****
@ -910,9 +892,9 @@ Size *****
size=10 value=""> *****
size=20 value=""> *****
slip *****
Sorry, Koha doesn't think you have permission for this page. *****
Sorry, Koha doesn't think you have permission for this page *****
Sorry, that barcode is already in use *****
Sorry, your session has timed out. Please login again. *****
Sorry, your session has timed out. Please login again *****
Spent *****
Staff *****
Start date *****
@ -940,7 +922,7 @@ Subtitle *****
SubTotal *****
SUBTOTALS *****
Sundry *****
supplier , *****
supplier *****
SUPPLIER INVOICE INFORMATION *****
Supplier Invoice Number *****
Supplier is *****
@ -953,38 +935,35 @@ Syntax (z3950 can send records in various format. Choose one) *****
System parameters *****
System preferences *****
System preferences admin *****
System preferences. *****
Sélectionnez la valeur pour le champ 700 $4. Elle sera automatiquement reportée dans la zone 700 $8 qui suit. *****
T *****
Sélectionnez la valeur pour le champ 700 $4. Elle sera automatiquement reportée dans la zone 700 $8 qui suit *****
Tab *****
tag *****
Tag *****
Teacher Reference *****
test *****
Test *****
Text Messaging *****
test *****
Text messaging *****
Text Messaging *****
Thanks to *****
The Amazing Apple Book by Paulette Bourgeois *****
The biblio.biblionumber and biblioitems.biblioitemnumber fields MUST *****
the biblioitems.itemtype field MUST *****
The biography of a grizzly by Ernest Thompson Seton *****
the branch table is empty. It must contain at least 1 value ! *****
The breeding farm is a table where imported MARC records are stored. *****
The breeding farm is a table where imported MARC records are stored. A MARC record is stored in the breeding farm as long as you have no item. When you type the ISBN or title of a biblio, it's searched for in the breeding farm. If it is found, the biblio is added to Koha active table and removed from the breeding farm *****
The correspounding subfield MUST be in with -1 (ignore) tab *****
the correspounding subfield MUST have authorised value=branches *****
the correspounding subfield MUST have authorised_value=itemtype *****
The differents branches you manage with this Koha server. *****
The differents branches you manage with this Koha server *****
The field itemnum MUST be mapped *****
The following fields have a forbidden value. Please push the back button and try again *****
The Great Mom Swap by Betsy Hanes at Main Library *****
the items listed above. *****
the items listed above *****
the items.holdingbranch field MUST *****
the items.homebranch field MUST *****
the itemtypes table is empty. It must contain at least 1 value *****
the koha-DB field linked to this subfield *****
The monies allocated to your book funds. *****
The total at the bottom of the page should be within a few cents of the total for the invoice. *****
The total at the bottom of the page should be within a few cents of the total for the invoice *****
Then select a previous shopping basket or create a new one. Note the basket will be attached to the user you've logged to *****
Thesaurus *****
Thesaurus category *****
@ -994,31 +973,30 @@ Thesaurus search *****
Thesaurus value builder for category *****
This page is just a mock up *****
This record is used times. Deletion not possible *****
This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category. *****
Tick ALL barcodes that changes are to apply too. Those left un-ticked will keep the original group record. *****
This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category *****
Tick ALL barcodes that changes are to apply too. Those left un-ticked will keep the original group record *****
Till Reconciliation *****
Title *****
TITLE *****
Title Search *****
Title: *****
To *****
To "unmap", click ==> *****
To add a new biblio/item, scan or type the ISBN/ISSN number *****
to be picked up by ( *****
to be picked up by *****
to biblio number *****
To change any of the catalogue or accounting information attached to an order, click on the title. *****
To close off a shopping basket click on "view shopping baskets" or search above, and then click on "confirm basket". *****
to continue to see Member Info. *****
To change any of the catalogue or accounting information attached to an order, click on the title *****
To close off a shopping basket click on "view shopping baskets" or search above, and then click on "confirm basket" *****
to continue to see Member Info *****
to Koha *****
to Member Record *****
To order an item you need to establish whether a biblio already exists for it, and either add an item, or set up a new biblio then add the item. *****
To start an acquisition, whether an order, local purchase or donation first search on the supplier, Add a new one if needed. *****
To order an item you need to establish whether a biblio already exists for it, and either add an item, or set up a new biblio then add the item *****
To start an acquisition, whether an order, local purchase or donation first search on the supplier, Add a new one if needed *****
Todays Issues *****
Tools *****
Total *****
TOTAL *****
TOTAL : *****
Total *****
Total Due *****
Total due *****
total number of Items *****
Total Number of Items *****
Total paid *****
@ -1028,9 +1006,7 @@ Transfered Items *****
Transfers *****
Try another *****
Type *****
Type a borrower name, part of a name, or number in the field above and hit the *****
Type in the box and press the enter key. *****
U *****
Type in the box and press the enter key *****
UNIMARC *****
UNIMARC constructeur champ 700-4 *****
UNIMARC Field 100 builder *****
@ -1038,26 +1014,25 @@ UNIMARC Field 225a builder *****
unimarc_field_60X.pl *****
unimarc_field_700_701_702.pl *****
Unititle *****
Update *****
update *****
Update *****
Update Biblio for all Items *****
Update this Website Link *****
Updating the Biblio for only ONE or SOME Items *****
Upload a set of MARC records *****
Upload MARC records *****
Upload MARC Records *****
Upload MARC records *****
Upper Age Limit *****
Upperage limit *****
URL *****
Use your reload button [ctrl + r] to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid. *****
Use your reload button [ctrl + r] to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid *****
User Preferences *****
Userid *****
Using more fields for your search (eg Keyword + author + class) will slow it down. *****
V *****
Using more fields for your search (eg Keyword + author + class) will slow it down *****
Val build *****
Valid values. click OK to confirm this new borrower *****
Value *****
value *****
Value *****
Value builder *****
value=" ">No Title *****
value=""> *****
@ -1073,7 +1048,6 @@ Volume *****
Volume Date *****
Volume Description *****
Volume Info (for serials) *****
W *****
Waiting *****
WAITING *****
Website *****
@ -1081,25 +1055,23 @@ Website Biblioitem Added *****
Website URL *****
WELCOME TO THE KOHA INTRANET *****
WELCOME TO THE KOHA OPAC *****
When you define the MARC subfield structure, you can link a subfield to an authorised-value category. When the user adds or modifies a biblio, the subfield is not entered through a free field, but though a list of authorised values. *****
When you have finished this invoice save the changes. *****
When you define the MARC subfield structure, you can link a subfield to an authorised-value category. When the user adds or modifies a biblio, the subfield is not entered through a free field, but though a list of authorised values *****
When you have finished this invoice save the changes *****
Word *****
Words deleted during searches. *****
Words deleted during searches *****
Worked off *****
wrap=physical cols=70 rows=3> *****
X *****
Y *****
Year *****
Yes *****
YES *****
yes *****
YES *****
Yes, See below *****
YesNo *****
You *****
You are accessing Koha from a different ip address! Please login again. *****
You are accessing Koha from a different ip address! Please login again *****
You can enter a name for this import. It may be useful, when creating a biblio, to remember where the suggested MARC data comes from! *****
You did not specify any seach criteria *****
You entered an incorrect username or password. Please try again. *****
You entered an incorrect username or password. Please try again *****
You have error(s) in your MARC configuration. Please fix them before using koha *****
You have the following books waiting to be picked up *****
You have the following requests for items on loan *****
@ -1109,7 +1081,6 @@ You Searched for *****
You searched for *****
You searched on *****
Young Adult Fiction *****
Z *****
Z39.50 Search *****
Z39.50 Server *****
Z39.50 Servers *****

File diff suppressed because it is too large Load Diff

188
misc/translator/opac-css.fr Normal file
View File

@ -0,0 +1,188 @@
Account for Compte de
acquired in the last acquis dans les derniers
Additional Author Autres auteurs
Advanced search Recherche avancée
Advanced Search, More Options Recherche avancée, plus d'options
Amount Quantité
An Error has Occurred Une erreur s'est produite
Any Tout
Apr Avril
Are our records correct ? Nos informations sont-elles correctes ?
Aug Aout
Author Auteur
Available Disponible
barcode LIMITED;code barre
Barcode LIMITED;Code barre
BARCODE LIMITED;CODE BARRE
Biblio number Notice biblio :
Biblionumber Numéro notice :
Cancelled Annul?
Cannot be Reserved Non réservable
Cardnumber N° de carte
Charges Charges
City Ville
class LIMITED;classe
class="hilighted"> *****
Classification Classification
Clear All Fields Effacer
Collection Collection
Copies Copies
Current Branch Annexe
Current Loan Prêt
Date Date
date Due date retour
Day Jour
days jours
Dec Dec
delete Supprimer
Dewey Dewey
Due date Date retour
Email Mail
End reserve on this date Annuler réservation à cette date
exact exact
Exact search Recherche exacte
Feb Fev
Fines & charges Dettes & paiements
Firstname Prénom
free software ILS, and compliant with web standards SIGB sous licence libre, respectant les standards de l'internet
GROUP - GROUPE
Group Number Groupe numéro
Home Accueil
Home Branch Annexe propriétaire
Home phone Téléphone maison
Illus Illus
Illustrator Illustrateur
Impossible to set reserve because Impossible de réserver parce que
in en
ISBN ISBN
Item Exemplaire
Item Count Nombre d'ouvrages
Item lost Ouvrage perdu
Item Type Type d'ouvrage :
Item type Type d'exemplaire
items currently issued. ouvrages en cours de prêt
items currently reserved. ouvrages réservés
Itemtype Type d'ouvrage
Jan Jan
Jul Juill
Jun Juin
keyword LIMITED;mot-clef
Koha Koha
koha koha
Koha home page Page d'accueil
Koha Login Identifiant Koha
Last borrowed Dernier prêt
Last Borrower 1 Dernier emprunteur 1
Last Borrower 2 Dernier emprunteur 2
Last seen Vu
last Seen vu en dernier
Library Card Carte lecteur
Loan Length Durée prêt
Location LIMITED;Localisation
location LIMITED;Localisation
Log In S'identifier
Log In to Koha S'identifier
Log Out Déconnecter
Logged in as Connecté en tant que
login Connecter
Mar Mars
May Mai
Member Home page Accueil lecteur
Member informations change Modification informations lecteur
Members Lecteurs
Members Home Accueil lecteur
modify Modifier
Month Mois
No. of Items N° ouvrage
normal normal
Normal or Normal ou
Not Reservable Non réservable
Note that if you enter a value in Keyword and a value somewhere else, only keyword will be used Notez que le mot clef est prioritaire
Note there will be a reserve charge of Il y aura des frais de réservation de
Notes Notes
Nov Nov
Oct Oct
of de
OK OK
OK Start Search Lancer recherche
on issue bit En prêt ?
Online En ligne
opac opac
OR OU
OR one or more from OU un ou plus de :
Pages Pages
Paid for Payé pour :
Password Mot de passe :
Place Placer
Place Reserve Réserver
Please confirm that you wish to request an item of these types Confirmez que vous souhaitez réserver un ouvrage :
Please select the branch from which you want to collect the item Sélectionnez l'annexe ou vous prendrez l'ouvrage
Please select which item types are ok for you. The first of these item that matches one of these types that becomes available will be set kept for you. Sélectionnez les types d'ouvrages souhaités. Le premier disponible sera gardé pour vous.
Please, change what's needed. An email will be sent to the library. Changer le nécessaire
Published by Publié par
Publisher Editions
Recent acquisitions Acquisitions récentes
records. réponses
Renewals Renouvellements
Rental Charge Coût du prêt
Replacement Price Coût de remplacement
Request Reserver
Reserve date Date réservation
Reserve on this date Réserver à cette date :
Reserve page for Page de réservation pour
reserves already on this item. Réservations déjà faites sur cet ouvrage
Results Résultats
Results through of records. résultats de à
results found Réponses trouvées
search LIMITED;recherche
Search the catalogue Chercher dans le catalogue
Sep Sep
Serial Périodique
Size Taille
Something new Quelque chose de changé
Sorry, KOHA doesnt think you have permission for this page. Désolé, je pense que vous n'avez pas les permissions suffisantes.
Sorry, there were no results Désolé, aucun résultat !
Sorry, your session has timed out, please login again. Déconnecté. Identifiez vous à nouveau.
Still owing Doit encore
Street address Adresse postale
subject sujet
Subject Sujet
Submit OK
Subtitle Sous-titre
Surname Nom
There are Il y a
This Library is powered by Cette bibliothèque fonctionne avec
through à
Title Titre
to Koha à Koha
Total Due Total dû
Total Number of Items Nombre total d'exemplaires
Try another Essayez une autre
type type
Unititle Titre unifié
Update Record Mettre à jour
URL URL
using qui utilise
Valid XHTML 1.0! XHTML 1.0 valide
View Accounts Voir compte
Volume Volume
Website Site web
Which is to be picked up from Qui sera retiré à
Work/Fax phone Tel bureau
Year Année
YesNo OuiNon
you already have a reserve placed on this item. Vous avez déjà placé une réservation sur cet exemplaire
You are accessing koha from a different ip address! please login again. Vous avez changé d'adresse IP. Identifiez vous à nouveau
you cannot make more than reserves. Vous ne pouvez pas faire plus de réservations
You did not specify any search criteria Vous n'avez pas spécifié de critère
You entered an incorrect username or password, please try again. Identifiant ou mot de passe erroné. Essayez encore.
You have Vous avez
You have a credit of Vous avez un crédit de
You have no items on issue. Vous n'avez pas d'ouvrage en prêt
You have outstanding charges and fines of Vous avez des dettes de
You have reserved items waiting Vous avez des réservations en attente
you must select a branch for pickup! Vous devez sélectionner une annexe ou retirer l'ouvrage
you must select at least on item type! Vous devez sélectionner au moins 1 type
you owe Vous devez
You searched on Recherche effectuée sur
Your changes won't appear until the library has validated them. Vos changement n'apparaitront que lorsque la bibliothèque les aura validé

View File

@ -4,19 +4,18 @@ acquired in the last acquis dans les derniers
Additional Author Autres auteurs
Advanced Search, More Options Recherche avancée
AMOUNT COUT
An error has occurred *****
An Error has Occurred Une erreur s'est produite
Any Tout
Apr Avril
Are any of our records incorrect? Have you moved recently, got a new phone number or e-mail address? Un changement à nous faire connaitre ?
ARE OUR RECORDS CORRECT? Est-ce correct
Aug Aout
Author Auteur
Available Disponible
BARCODE CODE BARRE
Barcode Code barre
bgcolor='#ffffcc'> *****
bgcolor="#ffffcc"> *****
Biblio number Notice biblio :
BIBLIO RECORD Notice bibliographique
Biblionumber Numéro notice :
Cancelled Annul?
Cannot be Reserved Non réservable
@ -44,31 +43,28 @@ Easy / Picture Books BD
Easy Reader Lecture facile
Email Mail
End reserve on this date Annuler réservation à cette date
Exact Exact
exact exact
Exact Exact
Feb Fev
Fiction Fiction
FINES & CHARGES Dettes
Firstname Prénom
Free Software ILS SIGB sous licence libre
GROUP - GROUPE
Group Number Groupe numéro
Hi Bonjour,
Home Accueil
Home Branch Annexe propriétaire
home page Accueil
Home phone Téléphone maison
Illus Illus
Illustrator Illustrateur
in dans
in Maori en langue Maori
in en
in the last dans les derniers
ISBN ISBN
Item Count Nombre d'ouvrages
Item lost Ouvrage perdu
Item Type Type d'ouvrage :
items currently issued. Ouvrage en prêt actuellement
items currently reserved. Ouvrages réservés actuellement
Item Type Type d'ouvrage
items currently issued Ouvrage en prêt actuellement
items currently reserved Ouvrages réservés actuellement
Itemtype Type d'ouvrage
Jan Jan
Join Rejoindre
@ -78,20 +74,14 @@ Jun Juin
Junior Fiction Junior
Junior Non-Fiction Junior NF
Keywords Mot-clefs
Koha Koha
KOHA KOHA
Koha : a gift, a contribution Koha : un don, une contribution
Koha Login Identifiant Koha
KOHA: Become a Member KOHA : s'inscrire
KOHA: Catalogue Search Recherche catalogue
Koha: Horowhenua Library Trust Catalogue and Member Services Koha, catalogue et outils abonnés
KOHA: Members Area Zone abonnés
KOHA: OPAC Catalogue Search Recherche OPAC
Last borrowed Dernier prêt
Last Borrower 1 Dernier emprunteur 1
Last Borrower 2 Dernier emprunteur 2
Last Seen Vu
Last seen Vu
Last Seen Vu
Library Card Carte lecteur
Loan Length Durée prêt
Location Localisation
@ -99,16 +89,11 @@ Log In S'identifier
Log In to Koha S'identifier
Log Out Déconnecter
Logged in as Connecté en tant que
Logged in as: [ *****
login Connecter
Logout Déconnecter
Mar Mars
May Mai
Members Home Accueil lecteur
modify Modifier
Month Mois
Next Records Enregistrement suivant
No Non
No. of Items N° ouvrage
Non-Fiction NF
normal normal
@ -130,18 +115,18 @@ OR one or more from OU un ou plus de :
Pages Pages
Paid for Payé pour :
Password Mot de passe :
pick up at Prendre à :
Pick Up Branch Annexe de retrait
Place Placer
Place Reserve Réserver
Please change what's needed. An email will be sent to the library Changer le nécessaire
Please confirm that you wish to request an item of these types Confirmez que vous souhaitez réserver un ouvrage :
Please select the branch from which you want to collect the item Sélectionnez l'annexe ou vous prendrez l'ouvrage
Please select which item types are ok for you. The first of these item that matches one of these types that becomes available will be set kept for you. Sélectionnez les types d'ouvrages souhaités. Le premier disponible sera gardé pour vous.
Please, change what's needed. An email will be sent to the library. Changer le nécessaire
Previous Records Précédents
Please select which item types are ok for you. The first of these item that matches one of these types that becomes available will be set kept for you Sélectionnez les types d'ouvrages souhaités. Le premier disponible sera gardé pour vous.
Published by Publié par
Publisher Editions
Recent acquisitions Acquisitions récentes
records. réponses
record Enr.
records réponses
Reference Books Références
Renewals Renouvellements
Rental Charge Coût du prêt
@ -150,25 +135,22 @@ Request Reserver
Reserve date Date réservation
Reserve on this date Réserver à cette date :
Reserve page for item Réservation de l'ouvrage :
reserves already on this item. Réservations déjà faites sur cet ouvrage
reserves. Réservations
reserves already on this item Réservations déjà faites sur cet ouvrage
Results Résultats
Results through of records. *****
Results through of records *****
results found Réponses trouvées
search IGNORE
Search IGNORE
Search LIMITED;Chercher
search LIMITED;recherche
Search the catalogue Chercher dans le catalogue
Search the Catalogue Chercher dans le catalogue
Sep Sep
Serial Périodique
Size Taille
Something new ? quelque chose à modifier ?
Sorry, KOHA doesnt think you have permission for this page. Désolé, je pense que vous n'avez pas les permissions suffisantes.
Sorry, KOHA doesnt think you have permission for this page Désolé, je pense que vous n'avez pas les permissions suffisantes.
Sorry, there were no results Désolé, aucun résultat !
Sorry, you cannot make more than Impossible de faire plus de
Sorry, you cannot make more than reserves. Désolé, vous ne pouvez pas faire plus de réservations
Sorry, you cannot make reserves because you owe . Désolé, vous ne pouvez pas faire de réservation parce que vous devez
Sorry, your session has timed out, please login again. Déconnecté. Identifiez vous à nouveau.
Sorry, you cannot make more than reserves Désolé, vous ne pouvez pas faire plus de réservations
Sorry, you cannot make reserves because you owe Désolé, vous ne pouvez pas faire de réservation parce que vous devez
Sorry, your session has timed out, please login again Déconnecté. Identifiez vous à nouveau
STILL OWING EN ATTENTE
Street address Adresse postale
Subject Sujet
@ -176,15 +158,15 @@ Submit OK
Subtitle Sous-titre
Surname Nom
Teacher Reference Ref. prof.
text/html; charset=iso8859-1 text/html; charset=iso8859-1
text/html; charset=iso-8859-1 text/html; charset=iso8859-1
There are Il y a
through à
Title Titre
to Koha à Koha
Total Due Total dû
Total Number of Items Nombre total d'exemplaires
Try another Essayez un autre
Type in the box and press the enter key. Saisissez et validez avec Entrée
Try another Essayez une autre
Type in the box and press the enter key Saisissez et validez avec Entrée
Unititle Titre unifié
Update Record Mettre à jour
URL URL
@ -195,22 +177,19 @@ WELCOME TO THE KOHA OPAC Bienvenue dans l'OPAC de Koha
Which is to be picked up from Qui sera retiré à
Work/Fax phone Tel bureau
Year Année
Year : Année :
Yes Oui
YesNo OuiNon
You already have a reserve placed on this item. Vous avez déjà placé une réservation sur cet exemplaire
You are accessing koha from a different ip address! please login again. Vous avez changé d'adresse IP. Identifiez vous à nouveau
You did not specify any seach criteria Vous n'avez pas spécifié de critère
You entered an incorrect username or password, please try again. Identifiant ou mot de passe erroné. Essayez encore.
You have Vous avez
You have items currently issued. Vous avez exemplaires en prêt
You have items currently reserved. Vous avez exemplaires réservés
You already have a reserve placed on this item Vous avez déjà placé une réservation sur cet exemplaire
You are accessing koha from a different ip address! please login again Vous avez changé d'adresse IP. Identifiez vous à nouveau
You did not specify any search criteria Vous n'avez pas spécifié de critère
You entered an incorrect username or password, please try again Identifiant ou mot de passe erroné. Essayez encore.
You have items currently issued Vous avez exemplaires en prêt
You have items currently reserved Vous avez exemplaires réservés
You have a credit of Vous avez un crédit de
You have no items on issue. Vous n'avez pas d'exemplaire en prêt
You have no items on issue Vous n'avez pas d'exemplaire en prêt
You have outstanding charges and fines of Vous avez des dettes de
You have reserved items waiting Vous avez des réservations en attente
You must select a branch for pickup! Sélectionnez une annexe ou retirer l'ouvrage
You must select at least on item type! Vous devez sélectionner au moins 1 type d'exemplaire
You must select at least one item type! Vous devez sélectionner au moins 1 type d'exemplaire
You searched on Recherche effectuée sur
Young Adult Fiction Ado fiction
Your changes won't appear until the library has validated them. Vos changement n'apparaitront que lorsque la bibliothèque les aura validé
Your changes won't appear until the library has validated them Vos changement n'apparaitront que lorsque la bibliothèque les aura validé

View File

@ -73,7 +73,7 @@ if( $action eq "create" )
elsif( $action eq "update" )
{
# restores the string list from file
%strhash = &restore_strhash(\%strhash, $str_file, $split_char);
%strhash = &restore_strhash(\%strhash, $str_file, $split_char,1);
# updates the list, adding new entries if any
%strhash = &update_strhash(\%strhash, \@in_files, $exclude_regex, $filter);
# saves the list to the file
@ -93,7 +93,7 @@ elsif( $action eq "install" )
}
# restores the string list from file
%strhash = &restore_strhash(\%strhash, $str_file, $split_char);
%strhash = &restore_strhash(\%strhash, $str_file, $split_char,0);
# creates the new tmpl file using the new translation
&install_strhash(\%strhash, \@in_files, $in_dir, $out_dir);
}
@ -115,8 +115,9 @@ sub install_strhash
my $fh_in; my $fh_out; # handles for input and output files
my $tmp_dir; # temporary directory name (used to create destination dir)
$out_dir =~ s/\/$//; # chops the trailing / if any.
my $starttime = time();
$out_dir =~ s/\/$//; # chops the trailing / if any.
# Processes every entry found.
foreach my $file (@{$in_files})
{
@ -128,6 +129,7 @@ sub install_strhash
# generates the name of the output file
my $out_file = $file;
my $out_file_tmp = $file.".tmp"; # used to check if file has changed or not.
if(!defined $in_dir)
{
@ -158,42 +160,85 @@ sub install_strhash
close($fh_in);
exit(1);
}
# opens handle for output
if( !open($fh_out, "> $out_file") )
if( !open($fh_out, "> $out_file_tmp") )
{
warn "Can't write $out_file : $!\n";
warn "Can''t write $out_file : $!\n";
close($fh_in);
next;
}
print "Generating $out_file...\n";
my $lines;
while(my $line = <$fh_in>)
{
foreach my $text (sort {length($b) <=> length($a)} keys %{$strhash})
$lines.=$line;
}
foreach my $text (sort {length($b) <=> length($a) || uc($b) cmp uc($a) } keys %{$strhash})
{
# Test if the key has been translated
if( %{$strhash}->{$text} != 1)
{
# Test if the key has been translated
if( %{$strhash}->{$text} != 1 )
# Does the file contains text that needs to be changed ?
# escaping \|()[{}^$*+?.
my $subst = %{$strhash}->{$text};
$text =~ s/\\/\\\\/g;
$text =~ s/\//\\\//g;
$text =~ s/\|/\\\|/g;
$text =~ s/\(/\\\(/g;
$text =~ s/\)/\\\)/g;
$text =~ s/\[/\\\[/g;
$text =~ s/\]/\\\]/g;
$text =~ s/\{/\\\{/g;
$text =~ s/\}/\\\}/g;
$text =~ s/\^/\\\^/g;
$text =~ s/\$/\\\$/g;
$text =~ s/\*/\\\*/g;
$text =~ s/\+/\\\+/g;
$text =~ s/\?/\\\?/g;
$text =~ s/\./\\\./g;
if(%{$strhash}->{$text} ne "IGNORE" )
{
# Does the line contains text that needs to be changed ?
if( $line =~ /$text/ && %{$strhash}->{$text} ne "IGNORE")
if (%{$strhash}->{$text} =~ "LIMITED")
{
# changing text
my $subst = %{$strhash}->{$text};
$line =~ s/(\W)$text(\W)/$1$subst$2/g;
$subst =~ s/UNUSED;//;
$subst =~ s/^LIMITED;//g;
$lines =~ s/(.*)>$text(\W)/$1>$subst$2/g;
$lines =~ s/(.*) title="$text/$1 title="$subst/g;
$lines =~ s/(.*) alt="$text/$1 alt="$subst/g;
} else {
# changing text
$subst =~ s/UNUSED;//;
$lines =~ s/(\W)$text(\W)/$1$subst$2/g;
}
}
}
$line =~ s/\<TMPL_(.*?)\>/\<\!-- TMPL_$1 --\>/g;
$line =~ s/\<\/TMPL_(.*?)\>/\<\!-- \/TMPL_$1 --\>/g;
# Writing the modified (or not) line to output
printf($fh_out "%s", $line);
}
$lines =~ s/\<TMPL_(.*?)\>/\<\!-- TMPL_$1 --\>/g;
$lines =~ s/\<\/TMPL_(.*?)\>/\<\!-- \/TMPL_$1 --\>/g;
# Writing the modified (or not) file to output
printf($fh_out "%s", $lines);
close($fh_in);
close($fh_out);
# check if fh_out and previous fh_out has changed or not.
my $diff;
if(-f $out_file) {
$diff = `diff $out_file $out_file_tmp`;
} else {
$diff = "write it, it's new";
}
if ($diff) {
print "WRITING : $out_file\n";
unlink $out_file;
system("mv $out_file_tmp $out_file");
} else {
print "no changes in $out_file\n";
unlink $out_file_tmp;
}
}
my $timeneeded = time() - $starttime;
print "done in $timeneeded seconds\n";
}
########################################################
@ -212,7 +257,7 @@ sub update_strhash
print "Processing $in...\n";
# Creates a filehandle containing all the strings returned by
# 'Creates a filehandle containing all the strings returned by
# the plain text program extractor
open($fh, "$filter $in |") or print "$filter $in : $!";
next $in if !defined $fh;
@ -221,8 +266,8 @@ sub update_strhash
while(my $str = <$fh>)
{
$str =~ s/[\n\r\f]+$//; # chomps the trailing \n (or <cr><lf> if file was edited with Windows)
$str =~ s/^\s+//; # remove trailing blanks, ':' or '*'
$str =~ s/\s*\**:*\s*$//;
$str =~ s/^[\s+:\(]*//; # remove useless characters
$str =~ s/[\s\*:\[*\(|\.,\)]*$//;
# the line begins with letter(s) followed by optional words and/or spaces
if($str =~ /^[ ]*[\w]+[ \w]*/)
@ -234,6 +279,9 @@ sub update_strhash
{
# the line is not already in the list so add it
%{$strhash}->{$str}=1;
} else {
# remove UNUSED;
%{$strhash}->{$str} =~ s/^UNUSED;//;
}
}
}
@ -251,14 +299,14 @@ sub update_strhash
sub restore_strhash
{
my($strhash, $str_file, $split_char) = @_;
my($strhash, $str_file, $split_char, $detect_unused) = @_;
my $fh;
open($fh, "< $str_file") or die "$str_file : $!";
print "Restoring string list from $str_file...\n";
while( my $line = <$fh> )
{
chomp $line;
@ -276,6 +324,9 @@ sub restore_strhash
# the key exist but has no translation.
%{$strhash}->{$original} = 1;
}
if ($detect_unused) {
%{$strhash}->{$original} = "UNUSED;".%{$strhash}->{$original} unless %{$strhash}->{$original}=~ /^UNUSED;/;
}
}
@ -299,15 +350,15 @@ sub write_strhash
print "Writing string list to $str_file...\n";
foreach my $str(sort {uc($a) cmp uc($b) || length($a) <=> length($b)} keys %{$strhash})
foreach my $str(sort {uc($a) cmp uc($b) || length($b) <=> length($a)} keys %{$strhash})
{
if(%{$strhash}->{$str} != 1)
if(%{$strhash}->{$str}!=1)
{
printf($fh "%s%s%s\n", $str, $split_char, %{$strhash}->{$str});
}
else
{
printf($fh "%s%s%s\n", $str, $split_char,"*****") unless ($str >0);
printf($fh "%s%s%s\n", $str, $split_char,"*****") unless ($str >0 || length($str) eq 1);
}
}
@ -456,3 +507,4 @@ options can be :
EOF
exit(0);
}

View File

@ -1,4 +1,4 @@
TRANSLATION TOOL :
TRANSLATION TOOL , V2.0:
============
This transation tool should greatly help Koha translators.
It's composed of 2 script :
@ -14,13 +14,19 @@ Call tmpl_process --help to get full explanations.
HOW TO TRANSLATE Koha :
============
1- create your translation file :
./tmpl_process.pl update -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -s opac.fr -r
2- translate your opac.fr file (english & french being separated by a tab
./tmpl_process.pl create -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -s opac.fr -r
2- translate your opac.fr file (english & other_language being separated by a tab, using IGNORE and LIMITED pragmas, see below)
3- create your translated version :
./tmpl_process.pl install -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -o /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/fr2/ -s opac.fr -r
4- copy images in your new directory (as they are NOT moved by tmpl_process.pl install)
4- copy images/css files in your new directory (as they are NOT moved by tmpl_process.pl install)
If something changes in english version, go back to pt1 & repeat.
If something changes in english version :
1- update your translation file :
./tmpl_process.pl update -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -s opac.fr -r
2- translate new your opac.fr file (english & other_language being separated by a tab, using IGNORE and LIMITED pragmas, see below)
3- create your translated version :
./tmpl_process.pl install -i /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/en/ -o /home/paul/koha.dev/koha/koha-tmpl/opac-tmpl/default/fr2/ -s opac.fr -r
4- copy new images/css files in your new directory if needed
WEAKNESSES
=======
@ -38,8 +44,19 @@ Don't seem to have any side effect.
- WORD exist in FILENAME
words that are in the templates and in a perl script name are replaced !
For example : Search is replace by Recherche in french, thus,giving <a href="cgi-bin/opac-Recherche.pl">, which is wrong...
The only way I've found to solve this is to ignore any translation whose translation string is IGNORE
(search is the only cas i've found in french opac)
2 ways to solve this problem, IGNORE & LIMITED pragma.
IGNORE :
if a line in translation file is :
this_original_string IGNORE
it is ignored during translation.
LIMITED :
if a line in translation file is :
this_original_string LIMITED;the_translation_string
The string is translated only if :
* has a > just before
* has <space>title=" just before
* has <space>alt=" just before.
This prevent stupid replaces, at the cost of some missing translation maybe.
- MISSING STRINGS
Maybe some strings that should be translated are missing.

View File

@ -68,26 +68,23 @@ sub writeoff{
$user=~ s/Shannon/S/;
my $dbh = C4::Context->dbh;
my $env;
my $query="Update accountlines set amountoutstanding=0 where ";
my $sth;
if ($accounttype eq 'Res'){
$query.="accounttype='Res' and accountno='$accountnum' and borrowernumber='$bornum'";
$sth=$dbh->prepare("Update accountlines set amountoutstanding=0 where accounttype='Res' and accountno=? and borrowernumber=?");
$sth->execute($accountnum,$bornum);
} else {
$query.="accounttype='$accounttype' and itemnumber='$itemnum' and borrowernumber='$bornum'";
$sth=$dbh->prepare("Update accountlines set amountoutstanding=0 where accounttype=? and itemnumber=? and borrowernumber=?");
$sth->execute($accounttype,$itemnum,$bornum);
}
my $sth=$dbh->prepare($query);
# print $query;
$sth->execute;
$sth->finish;
$query="select max(accountno) from accountlines";
$sth=$dbh->prepare($query);
$sth=$dbh->prepare("select max(accountno) from accountlines");
$sth->execute;
my $account=$sth->fetchrow_hashref;
$sth->finish;
$account->{'max(accountno)'}++;
$query="insert into accountlines (borrowernumber,accountno,itemnumber,date,amount,description,accounttype)
values ('$bornum','$account->{'max(accountno)'}','$itemnum',now(),'$amount','Writeoff','W')";
$sth=$dbh->prepare($query);
$sth->execute;
$sth=$dbh->prepare("insert into accountlines (borrowernumber,accountno,itemnumber,date,amount,description,accounttype)
values (?,?,?,now(),?,'Writeoff','W')");
$sth->execute($bornum,$account->{'max(accountno)'},$itemnum,$amount);
$sth->finish;
# print $query;
UpdateStats($env,$user,'writeoff',$amount,'','','',$bornum);

View File

@ -856,6 +856,21 @@ while ( my ( $table, $non_unique, $key_name, $Seq_in_index, $Column_name, $Colla
print "Creating fulltext index on bibliothesaurus\n" unless $exists;
$dbh->do('create fulltext index category_2 on bibliothesaurus (category,freelib)') unless $exists;
#
# creating index in z3950results if needed
#
$sth = $dbh->prepare("show index from z3950results");
$sth->execute;
my $exists=0;
while ( my ( $table, $non_unique, $key_name, $Seq_in_index, $Column_name, $Collation, $cardinality, $sub_part, $Packed, $comment ) = $sth->fetchrow )
{
if ($key_name eq 'query_server') {
$exists=1;
}
}
print "Creating index on z3950results\n" unless $exists;
$dbh->do('create unique index query_server on z3950results (queryid,server)') unless $exists;
# changing z3950daemon field to NULL in marc_breeding
$dbh->do("ALTER TABLE `marc_breeding` CHANGE `z3950random` `z3950random` VARCHAR( 40 )");
@ -981,7 +996,13 @@ $sth->finish;
exit;
# $Log$
# Revision 1.71 2003/12/18 17:23:22 tipaul
# Revision 1.72 2004/02/11 08:44:29 tipaul
# synch'ing 2.0.0 branch (RC4 tag) and head
#
# Revision 1.70.2.2 2004/01/20 09:46:53 tipaul
# new index in z3950results table
#
# Revision 1.70.2.1 2003/12/18 17:22:24 tipaul
# fix for 625
#
# Revision 1.70 2003/12/15 14:40:09 tipaul

View File

@ -77,7 +77,7 @@ foreach my $editor (@editors) {
chop $res;
$res .= "
];
// search isbn subfield. it's 010a
// search isbn subfield. it''s 010a
var isbn_found;
for (i=0 ; i<document.f.field_value.length ; i++) {
if (document.f.tag[i].value == '010' && document.f.subfield[i].value == 'a') {
@ -114,8 +114,10 @@ plugin : the true value_builded. The screen that is open in the popup window.
sub plugin {
my ($input) = @_;
my $index = $input->param("index");
my $result = $input->param("result");
print "Content-Type: text/html\n\n<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=thesaurus_popup.pl?category=EDITORS&index=$index&result=$result\"></html>";
my $result = $input->param("result");
$result=~s/ /&nbsp;/g;
$result=~s/"/&quot;/g;
print "Content-Type: text/html\n\n<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=thesaurus_popup.pl?category=EDITORS&nohierarchy=1&index=$index&result=$result\"></html>";
exit;
}

View File

@ -119,7 +119,7 @@ my ($input) = @_;
# if there is an isbn, complete search
my @collections;
if ($isbn_found) {
my $sth = $dbh->prepare("select stdlib from bibliothesaurus where father=? and category='EDITORS'");
my $sth = $dbh->prepare("select stdlib from bibliothesaurus where father=? and category='EDITORS' order by stdlib");
my @splited = split //, $isbn_found;
my $isbn_rebuild='';
foreach my $x (@splited) {
@ -131,7 +131,7 @@ my ($input) = @_;
}
} else {
# if there is no isbn, search with %
my $sth = $dbh->prepare("select stdlib from bibliothesaurus where father like ? and category='EDITORS'");
my $sth = $dbh->prepare("select stdlib from bibliothesaurus where father like ? and category='EDITORS' order by stdlib");
$sth->execute("\%$authoritysep $editor_found $authoritysep");
while (my ($line)= $sth->fetchrow) {
push @collections,$line;

View File

@ -10,6 +10,83 @@ use C4::Output;
use C4::Breeding;
use Net::Z3950;
=head1 NAME
processz3950queue. The script that does z3950 searches.
=head1 SYNOPSIS
This script can be used on a console (as normal user) or by the daemon-launch script.
Don't forget to EXPORT PERL5LIB=/PATH/to/KOHA before executing it if you use console mode.
It :
1- extracts z3950 requests from z3950queue table,
2- creates entries in z3950results to store the result
3- launch z3950 queries in asynchronous mode, using Unix fork()
4- store results in marc_breeding table.
The z3950 results queries are managed in z3950/search.pl script (poped-up window in MARC editor).
=head1 DESCRIPTION
=head2 table z3950servers
This table stores the differents z3950 servers.
A server is used if checked=1. The rank is NOT used as searches are now asynchronous.
=head2 table z3950queue
Table use to manage queries. A single line is created in this table for each z3950 search request.
If more than 1 server is called, the C<servers> field containt all of them separated by |.
z3950 search requests are done by z3950/search.pl script.
At this stage, the fields are created with C<startdate> and C<done> empty
Then, the processz3950queue finds this entry and :
1- store date (time()) in C<startdate>
2- set C<done> = -1
when the requests are all sent :
2- set C<done> = 1
3- set C<enddate> (FIXME: always equal to startdate for me)
entries are deleted when :
- C<startdate> is more than 1 day ago.
FIXME:
- results, numrecords fields are unused
=head2 table z3950results
1 entry is created for each request, for each server called.
when created :
* C<startdate> is filled
* C<enddate> is null
* active is set to 0. when active is 0, it means the request has not been sent. when set to 1, it means it's on the way.
When a search is ended, C<enddate> is set, and C<active> is set to -1
=head1 How it's written
on every loop :
* delete old queries
* for each entry in z3950queue table that is not done=1 {
for each search request {
for each server {
try to connect
look for results
* results can be :
- existing and already running on another process (active=1)
- existing & finished (active=-1)
- non existent => create it and run the request.
}
}
}
=over 2
=cut
if ($< == 0) {
# Running as root, switch privs
@ -29,7 +106,8 @@ if ($< == 0) {
}
my $dbh = C4::Context->dbh;
my $sth=$dbh->prepare("update z3950results set active=0");
# we begin the script, so "unactive" every pending request : they will never give anything, the script died :-(
my $sth=$dbh->prepare("update z3950results set active=0 where active<>-1");
$sth->execute;
$sth->finish;
$SIG{CHLD}='reap';
@ -51,57 +129,56 @@ while (1) {
if ((time-$lastrun)>5) {
print "starting loop\n";
$checkqueue = 1; # FIXME during testing, this line forces the loop. REMOVE it to use SIG{HUP} when "daemonized" !
# clean DB
my $now = time();
# delete z3950queue entries that are more than 1 day old
my $sth = $dbh->prepare("delete from z3950queue where ?-startdate > 86400");
$sth->execute($now);
# delete z3950results queries that are more than 1 hour old
$sth = $dbh->prepare("delete from z3950results where ?-startdate > 3600");
$sth->execute($now);
if ($checkqueue) { # everytime a SIG{HUP} is recieved
$checkqueue=0;
my $sth=$dbh->prepare("select id,term,type,servers,identifier from z3950queue order by id");
# parse every entry in QUEUE
$sth=$dbh->prepare("select id,term,type,servers,identifier from z3950queue where done<>1 or done is null order by id");
$sth->execute;
while (my ($id, $term, $type, $servers,$random) = $sth->fetchrow) {
# FIXME: there is no "else". So, if more than 12 requests at the same time => requests are lost !
if ($forkcounter<12) {
my $now=time();
# search for results entries for this request
my $stk=$dbh->prepare("select id,server,startdate,enddate,numrecords,active from z3950results where queryid=?");
($stk->execute($id)) || (next);
my %serverdone;
# if no results => set queue to done = -1, set startdate and begin creating z3950results table entries & z3950 queries
unless ($stk->rows) {
my $sti=$dbh->prepare("update z3950queue set done=-1,startdate=? where id=?");
$sti->execute($now,$id);
}
# check which servers calls have already been created (before a crash)
while (my ($r_id, $r_server,$r_startdate,$r_enddate,$r_numrecords,$active) = $stk->fetchrow) {
if ($r_enddate >0) {
if ($r_enddate >0) { # result entry exist & finished
$serverdone{$r_server}=1;
} elsif ($active) {
} elsif ($active) { # result entry exists & on the way (active=1) or already done (active=-1)
$serverdone{$r_server}=1;
} else {
} else { # otherwise
$serverdone{$r_server}=-1;
}
# note that is the entry doesn't exist, the $serverdone{$r_server} is 0 (important later !)
}
$stk->finish;
my $attr='';
if ($type eq 'isbn') {
$attr='1=7';
} elsif ($type eq 'title') {
$attr='1=4';
} elsif ($type eq 'author') {
$attr='1=1003';
} elsif ($type eq 'lccn') {
$attr='1=9';
} elsif ($type eq 'keyword') {
$attr='1=1016';
}
$term='"'.$term.'"';
my $query="\@attr $attr $term";
my $totalrecords=0;
my $serverinfo;
my $stillprocessing=0;
my $globalname;
my $globalsyntax;
my $globalencoding;
foreach $serverinfo (split(/\|/, $servers)) {
(next) if ($serverdone{$serverinfo} == 1);
my $stillprocessing=1;
foreach my $serverinfo (split(/\|/, $servers)) {
(next) if ($serverdone{$serverinfo} == 1); #(otherwise, is 0 or -1)
my $totalrecords=0;
my $globalname;
my $globalsyntax;
my $globalencoding;
# fork a process for this z3950 query
if (my $pid=fork()) {
$forkcounter++;
} else {
# and connect to z3950 server
#FIXME: why do we need $dbi ? can't we use $dbh ?
my $dbi = C4::Context->dbh;
my ($name, $server, $database, $user, $password,$syntax) = split(/\//, $serverinfo, 6);
$globalname=$name;
@ -109,65 +186,83 @@ while (1) {
$server=~/(.*)\:(\d+)/;
my $servername=$1;
my $port=$2;
print "Processing $type=$term at $name $server $database $syntax (".($forkcounter+1)." forks)\n";
$now=time();
my $q_serverinfo=$dbi->quote($serverinfo);
my $resultsid;
if ($serverdone{$serverinfo}==-1) {
my $stj=$dbi->prepare("select id from z3950results where server=? and queryid=?");
$stj->execute($q_serverinfo,$id);
($resultsid) = $stj->fetchrow;
$stj->finish;
} else {
my $stj=$dbi->prepare("select id from z3950results where server=? and queryid=?");
$stj->execute($q_serverinfo,$id);
($resultsid) = $stj->fetchrow;
$stj->finish;
unless ($resultsid) {
$stj=$dbi->prepare("insert into z3950results (server, queryid, startdate) values (?,?,?)");
$stj->execute($q_serverinfo, $id, $now);
$resultsid=$dbi->{'mysql_insertid'};
$stj->finish;
}
my $attr='';
if ($type eq 'isbn') {
$attr='1=7';
} elsif ($type eq 'title') {
$attr='1=4';
} elsif ($type eq 'author') {
$attr='1=1003';
} elsif ($type eq 'lccn') {
$attr='1=9';
} elsif ($type eq 'keyword') {
$attr='1=1016';
}
my $stj=$dbh->prepare("update z3950results set active=1 where id=?");
$stj->execute($resultsid);
my $query="\@attr $attr \"$term\"";
print "$$/$id : Processing $type=$term at $name $server $database $syntax (".($forkcounter+1)." forks)\n";
# try to connect
my $conn;
my $noconnection=0;
my $error=0;
# the z3950 query is builded. Launch it.
if ($user) {
eval { $conn= new Net::Z3950::Connection($servername, $port, databaseName => $database, user => $user, password => $password); };
if ($@) {
$noconnection=1;
} else {
$error=pe();
}
$conn= new Net::Z3950::Connection($servername, $port, databaseName => $database, user => $user, password => $password) || ($noconnection=1);
} else {
eval { $conn= new Net::Z3950::Connection($servername, $port, databaseName => $database); };
if ($@) {
$noconnection=1;
} else {
$error=pe();
}
$conn= new Net::Z3950::Connection($servername, $port, databaseName => $database) || ($noconnection=1);
}
if ($noconnection || $error) {
warn "no connection at $globalname ";
# if connection impossible, don't go further !
print "$$/$id : no connection at $globalname\n";
my $result = MARC::Record->new();
my ($notmarcrecord,$alreadyindb,$alreadyinfarm,$imported) = ImportBreeding($result,-1,"$globalname server is NOT responding","",$random);
} else {
warn "$globalname ==> $globalsyntax";
# else, build z3950 query and do it !
$now=time();
my $resultsid="";
# create z3950results entries.
if ($serverdone{$serverinfo}==-1) { # if entry exist, just retrieve it
my $stj=$dbi->prepare("select id from z3950results where server=? and queryid=?");
$stj->execute($serverinfo,$id);
($resultsid) = $stj->fetchrow;
$stj->finish;
print "$$/$id : 1 >> $resultsid\n";
} else { # else create it : (may be serverdone=1 or 0)
my $stj=$dbi->prepare("select id from z3950results where server=? and queryid=?");
$stj->execute($serverinfo,$id);
($resultsid) = $stj->fetchrow;
$stj->finish;
print "$$/$id : 2 >> $resultsid\n";
unless ($resultsid) {
$stj=$dbi->prepare("insert into z3950results (server, queryid, startdate) values (?,?,?)");
$stj->execute($serverinfo, $id, $now);
$resultsid=$dbi->{'mysql_insertid'};
$stj->finish;
print "$$/$id : creating and ";
}
}
print "$$/$id : working on results entry $resultsid\n";
# set active to 1 => this request is on the way.
my $stj=$dbi->prepare("update z3950results set active=1 where id=?");
$stj->execute($resultsid);
#######
print "$$/$id : connected to $globalname\n";
eval {$conn->option(elementSetName => 'F')};
eval { $conn->option(preferredRecordSyntax => Net::Z3950::RecordSyntax::USMARC);} if ($globalsyntax eq "USMARC");
eval { $conn->option(preferredRecordSyntax => Net::Z3950::RecordSyntax::UNIMARC);} if ($globalsyntax eq "UNIMARC");
if ($@) {
print "$globalname ERROR: $@\n";
print "$$/$id : $globalname ERROR: $@ for $resultsid\n";
# in case pb during connexion, set result to "empty" to avoid everlasting loops
my $stj=$dbi->prepare("update z3950results set numrecords=?,numdownloaded=?,highestseen=0,results='',enddate=? where id=?");
$stj->execute(0,0,$now,$resultsid);
} else {
# print "Q: $query\n";
my $rs=$conn->search($query);
pe();
# we have an answer for a query => get results & store them in marc_breeding table
my $numresults=$rs->size();
if ($numresults eq 0) {
warn "$globalname ==> answered : no records found";
print "$$/$id : $globalname : no records found\n";
} else {
warn "$globalname ==> answered : $numresults found";
print "$$/$id : $globalname : $numresults records found, retrieving them (max 80)\n";
}
pe();
my $i;
@ -197,7 +292,7 @@ while (1) {
my $elapsed=$scantimerend-$scantimerstart;
if ($elapsed) {
my $speed=int($numresults/$elapsed*100)/100;
print "$globalname SPEED: $speed $server done $numrecords\n";
print "$$/$id : $globalname : $server records retrieved $numrecords SPEED: $speed\n";
}
my $q_result=$dbi->quote($result);
($q_result) || ($q_result='""');
@ -209,67 +304,23 @@ while (1) {
my $stj=$dbi->prepare("update z3950results set numrecords=?,numdownloaded=?,highestseen=0,results='',enddate=? where id=?");
$stj->execute($numresults,$numrecords,$now,$resultsid);
}
my $counter=0;
while ($counter<60 && $numrecords<$numresults) {
$counter++;
my $stj=$dbi->prepare("select highestseen from z3950results where id=?");
$stj->execute($resultsid);
my ($highestseen) = $stj->fetchrow;
if ($highestseen>($numrecords-30)) {
$counter=0;
print " $server rescanning\n";
my $scantimerstart=time();
for ($i=$numrecords+1; $i<=(($numresults<($numrecords+40)) ? ($numresults) : ($numrecords+40)); $i++) {
my $rec=$rs->record($i);
my $marcdata=$rec->rawdata();
$result.=$marcdata;
}
my $scantimerend=time();
($numresults<$numrecords+40) ? ($numrecords=$numresults) : ($numrecords += 40);
my $elapsed=$scantimerend-$scantimerstart;
if ($elapsed) {
my $speed=int($numresults/$elapsed*100)/100;
print " SPEED: $speed $server done $numrecords\n";
}
my $q_result=$dbi->quote($result);
($q_result) || ($q_result='""');
$now=time();
my $stj=$dbi->prepare("update z3950results set numdownloaded=?,results=? where id=?");
$stj->execute($numrecords,$q_result,$resultsid);
}
sleep 5;
}
}
$stj=$dbi->prepare("update z3950results set active=-1 where id=?");
$stj->execute($resultsid);
eval {my $stj->finish};
}
# FIXME - There's already a $stj in this scope
my $stj=$dbi->prepare("update z3950results set active=0 where id=?");
$stj->execute($resultsid);
eval {$stj->finish};
print " $server done.\n";
#OK, the search is done inactivate it..
print "$$/$id : $server search done.\n";
exit;
sub pe {
return 0;
my $code=$conn->errcode();
my $msg=$conn->errmsg();
my $ai=$conn->addinfo();
print << "EOF";
CODE: $code
MSG: $msg
ADDTL: $ai
EOF
return 0;
}
}
}
unless ($stillprocessing) {
#my $sti=$dbh->prepare("select enddate from z3950queue where id=?");
#$sti->execute($id);
#my ($enddate) = $sti->fetchrow;
#unless ($enddate) {
}
} else {
# $forkcounter >=12
}
# delete z3950queue entry, as everything is done
my $sti=$dbh->prepare("update z3950queue set done=1,enddate=? where id=?");
$now=time();
$sti->execute($now,$id);
}
$lastrun=time();
}
@ -288,3 +339,6 @@ sub checkqueue {
}
sub pe {
return 0;
}

View File

@ -49,24 +49,19 @@ my $toggle;
my $record;
my $oldbiblio;
warn "search.pl : $bibid / $title / $author / $isbn";
if ($bibid > 0) {
$record = MARCgetbiblio($dbh,$bibid);
$oldbiblio = MARCmarc2koha($dbh,$record);
}
my $errmsg;
unless ($random) { # if random is a parameter => we're just waiting for the search to end, it's a refresh.
warn "NO RANDOM";
if ($isbn) {
warn "ADD ISBN $isbn";
$random =rand(1000000000);
$errmsg = addz3950queue($isbn, "isbn", $random, 'CHECKED');
} elsif ($author) {
warn "ADD AUTHOR $author";
$random =rand(1000000000);
$errmsg = addz3950queue($author, "author", $random, 'CHECKED');
} elsif ($title) {
warn "ADD TITLE : $title";
$random =rand(1000000000);
$errmsg = addz3950queue($title, "title", $random, 'CHECKED');
}