synch'ing french templates

This commit is contained in:
tipaul 2003-08-07 14:41:23 +00:00
parent d9935b0e5e
commit a877e49d10
3 changed files with 274 additions and 1 deletions

View file

@ -1,6 +1,5 @@
<TMPL_INCLUDE name="acquisitions-top.inc"> <TMPL_INCLUDE name="acquisitions-top.inc">
<FONT SIZE=6><em>Recherche fournisseur</em></FONT><br /> <FONT SIZE=6><em>Recherche fournisseur</em></FONT><br />
<a href=supplier.pl?id=0><input type=image src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/filenew.png" title="Add supplier" ALT="Add" BORDER=0 ></a>
<CENTER> <CENTER>
vous avez cherché le <b>fournisseur <TMPL_VAR name="supplier">,</b> <TMPL_VAR name="count"> réponses trouvées<p> vous avez cherché le <b>fournisseur <TMPL_VAR name="supplier">,</b> <TMPL_VAR name="count"> réponses trouvées<p>
<table border=0 cellspacing=0 cellpadding=5 width="80%"> <table border=0 cellspacing=0 cellpadding=5 width="80%">
@ -40,8 +39,14 @@ vous avez cherch
</tr> </tr>
</TMPL_LOOP> </TMPL_LOOP>
</table> </table>
</td>
</tr> </tr>
</TMPL_LOOP> </TMPL_LOOP>
<tr>
<td colspan=4><br/>
<a class="button" href="supplier.pl?id=0">Ajouter fournisseur</a>
<br/><br/>
</tr>
</table> </table>
</CENTER> </CENTER>
<TMPL_INCLUDE name="acquisitions-bottom.inc"> <TMPL_INCLUDE name="acquisitions-bottom.inc">

View file

@ -0,0 +1,106 @@
<TMPL_INCLUDE Name="cat-top.inc">
<h1><a href=/cgi-bin/koha/detail.pl?bib="<TMPL_VAR Name="biblionumber">"&type=intra><TMPL_VAR Name="title"> (<TMPL_VAR Name="author">)</a><br>
Modifier Groupe - <TMPL_VAR Name="description"></h1><br>
<form action=updatebibitem.pl method=post>
<table border=0 cellspacing=0 cellpadding=5 align=left>
<TR VALIGN=TOP bgcolor="99cc33">
<TD bgcolor="99cc33" background="/images/background-mem.gif" colspan=2 ><b><input type=radio name=existing value=YES > Assigner à un groupe existant</b></td>
</tr>
<tr valign=top>
<td colspan=3>
<select name=existinggroup><br>
<TMPL_LOOP Name="bibitemloop">
<option value="<TMPL_VAR Name="biblioitemnumber">"><TMPL_VAR Name="description"> - <TMPL_VAR Name="isbn"><br>
</TMPL_LOOP>
</select>
</td>
</tr>
<TR VALIGN=TOP bgcolor="99cc33">
<TD bgcolor="99cc33" background="/images/background-mem.gif" colspan=2 ><b><input type=radio name=existing value=NO checked >OR MODIFY DETAILS</b></td>
</tr>
<tr valign=top bgcolor=white><td>Item Type</td><td><input type=text name=Item Type value="<TMPL_VAR Name="itemtype">" size=20></td></tr>
<tr valign="top" bgcolor="white">
<td>URL</td>
<td><input type="text" name="url" value="<TMPL_VAR Name="url">" size="20"></td>
</tr>
<tr valign=top bgcolor=white><td>Class</td><td><input type=text name=Class value="<TMPL_VAR Name="classification"><TMPL_VAR Name="dewey"><TMPL_VAR Name="subclass">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Publisher</td><td><input type=text name=Publisher value="<TMPL_VAR Name="publishercode">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Place</td><td><input type=text name=Place value="<TMPL_VAR Name="place">" size=20></td></tr>
<tr valign=top bgcolor=white><td>ISBN</td><td><input type=text name=ISBN value="<TMPL_VAR Name="isbn">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Publication Year</td><td><input type=text name=Publication Year value="<TMPL_VAR Name="publicationyear">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Pages</td><td><input type=text name=Pages value="<TMPL_VAR Name="pages">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Illustrations</td><td><input type=text name=Illustrations value="<TMPL_VAR Name="illustration">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Volume</td>
<td><input type=text name=Volume value="<TMPL_VAR Name="volumeddesc">" size=20></td></tr>
<tr valign=top bgcolor=white><td>Notes</td>
<td><input name="Notes" size="20" value="<TMPL_VAR name="bnotes">"></td></tr>
<tr valign=top bgcolor=white><td>Size</td>
<td><input type=text name=Size value="<TMPL_VAR Name="size">" size=20></td></tr>
<input type=hidden name=bibnum value="<TMPL_VAR Name="biblionumber">">
<input type=hidden name=bibitemnum value="<TMPL_VAR Name="biblioitemnumber">">
</table>
<img src="/images/holder.gif" width=16 height=500 align=left>
<TABLE cellspacing=0 cellpadding=5 border=0 >
<TR VALIGN=TOP bgcolor="99cc33">
<TD bgcolor="99cc33" background="/images/background-mem.gif" colspan=5 ><b>CHANGES TO AFFECT THESE BARCODES<br>
Tick ALL barcodes that changes are to apply too. Those left un-ticked will keep the original group record.</td>
</tr>
<tr valign=top bgcolor=99cc33>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">Barcode</td>
<td background="/images/background-mem.gif">Location</td>
<td background="/images/background-mem.gif">Date Due</td>
<td background="/images/background-mem.gif">Last Seen</td>
</tr>
<TMPL_LOOP Name="itemloop">
<tr valign=top gcolor=#ffffcc>
<td><input type=checkbox name="check_group_<TMPL_VAR Name="barcode">"></td>
<td><a href="/cgi-bin/koha/moredetail.pl?item="<TMPL_VAR Name="itemnumber">"&bib="<TMPL_VAR Name="biblionumber">"&bi="<TMPL_VAR Name="biblioitemnumber">""><TMPL_VAR Name="barcode"></a></td>
<td><TMPL_VAR Name="holdingbranch"></td>
<td></td>
<td><TMPL_VAR Name="datelastseen"></td>
</tr>
</TMPL_LOOP>
</table>
<p>
<input type=image name=submit src=/images/save-changes.gif border=0 width=187 height=42>
</form>
<p>
<B>HELP:</B> You <b>must</b> 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.
<br clear=all>
<p> &nbsp; </p>
<TMPL_INCLUDE Name="cat-bottom.inc">

View file

@ -0,0 +1,162 @@
<TMPL_INCLUDE NAME="parameters-top.inc">
<script>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
if (f.value.length ==0) {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
var x=f.value.toUpperCase();
f.value=x;
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
return false;
}
if (maybenull==0 && v.value=='') {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
var t = Date.parse(f.value);
if (isNaN(t)) {
return false;
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
var ok=1;
var _alertString="";
var alertString2;
if (f.itemtype.value.length==0) {
_alertString += "- Itemtype absent\n";
}
if (!(isNotNull(window.document.Aform.description,1))) {
_alertString += "- Description absente\n";
}
if ((!isNum(f.loanlength,0)) && f.loanlength.value.length > 0) {
_alertString += "- Durée de prêt n'est pas un nombre\n";
}
if ((!isNum(f.rentalcharge,0)) && f.rentalcharge.value.length > 0) {
_alertString += "- Cout du prêt n'est pas un nombre\n";
}
if (_alertString.length==0) {
document.Aform.submit();
} else {
alertString2 = "Le formulaire n'est pas validé pour les raisons suivantes\n";
alertString2 += "------------------------------------------------------------------------------------\n\n";
alertString2 += _alertString;
alert(alertString2);
}
}
</SCRIPT>
<TMPL_IF name="add_form">
<TMPL_IF name="itemtype">
<h1>Modifier le type d'exemplaire</h1>
<TMPL_ELSE>
<h1>Ajouter le type d'exemplaire</h1>
</TMPL_IF>
<form action='<TMPL_VAR name="script_name">' name=Aform method=post>
<input type=hidden name=op value='add_validate'>
<input type=hidden name=checked value=0>
<table>
<TMPL_IF name="itemtype">
<tr><td>Type exemplaire</td><td><input type=hidden name=itemtype value=<TMPL_VAR name="itemtype">><TMPL_VAR name="itemtype"></td></tr>
<TMPL_ELSE>
<tr><td>Type exemplaire</td><td><input type=text name=itemtype size=6 maxlength=4 onBlur="toUC(this)"></td></tr>
</TMPL_IF>
<tr>
<td>Description</td>
<td><input type=text name=description size=40 maxlength=80 value='<TMPL_VAR name="description" escape=HTML>'>&nbsp;</td>
</tr>
<tr>
<td>Durée d'emprunt</td>
<td><input type=text name=loanlength size=10 value='<TMPL_VAR name="loanlength">'></td>
</tr>
<tr>
<td>Renouvellement autorisé</td>
<td><input type=checkbox name=renewalsallowed <TMPL_IF name="renewalsallowed">coché</TMPL_IF> value=1></td>
</tr>
<tr>
<td>Coût emprunt</td>
<td><input type=text name=rentalcharge size=10 value='<TMPL_VAR name="rentalcharge">'></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><INPUT type=button value='OK' onClick='Check(this.form)'></td>
</tr>
</table>
</form>
</TMPL_IF>
<TMPL_IF name="delete_confirm">
<TABLE bg="#99cc33">
<tr>
<th>Type exemplaire</th>
<th><TMPL_VAR name="itemtype"></th>
</tr>
<form action='<TMPL_VAR name="script_name">' method=post>
<input type=hidden name=op value=delete_confirmed><input type=hidden name=itemtype value='<TMPL_VAR name="itemtype">'>
<tr><td>Description</td><td><TMPL_VAR name="description"></td></tr>
<tr><td>Durée emprunt</td><td><TMPL_VAR name="loanlength"></td></tr>
<tr><td>Renouvellement</td><td><TMPL_IF name="renewalsallowed">Autorisé<TMPL_ELSE>Pas autorisé</TMPL_IF></td></tr>
<tr><td>Coût emprunt</td><td><TMPL_VAR name="rentalcharge"></td></tr>
<TMPL_IF name="total">
<tr><td colspan=2 align=center><b>Cette donnée est utilisée <TMPL_VAR name="total"> fois. Suppression impossible</b></td></tr>
<tr><td colspan=2></form><form action='<TMPL_VAR name="script_name">' method=post><input type=submit value=OK></form></td></tr>
<TMPL_ELSE>
<tr><td colspan=2 align=center>CONFIRMER SUPPRESSION</td></tr>
<tr><td><INPUT type=submit value='YES'></form></td><td><form action='<TMPL_VAR name="script_name">' method=post><input type=submit value=NO></form></td></tr>
</TMPL_IF>
</table>
</TMPL_IF>
<TMPL_IF name="else">
<h1>Administration type exemplaire</h1>
<table border='1' cellpadding='5' cellspacing='0' width='550'>
<tr>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Code</b></th>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Description</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Durée emprunt</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Renouvelable</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Coût</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif">Modifier</td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif">Supprimer</td>
</tr>
<TMPL_LOOP name="loop">
<tr>
<td><TMPL_VAR name="itemtype"></td>
<td><TMPL_VAR name="description"></td>
<td><TMPL_VAR name="loanlength"></td>
<td><TMPL_IF name="renewalsallowed">Yes<TMPL_ELSE>No</TMPL_IF></td>
<td><TMPL_VAR name="rentalcharge"></td>
<td><a href="<TMPL_VAR name="script_name">?op=add_form&itemtype=<TMPL_VAR name="itemtype" escape="HTML">"><img src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="<TMPL_VAR name="script_name">?op=delete_confirm&itemtype=<TMPL_VAR name="itemtype" escape="HTML">"><img src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>
<form action='<TMPL_VAR name="script_name">' method=post>
<input type=hidden name=op value=add_form>
<br>
<table width=40%>
<tr>
<td width="33%">
<input type=submit class="button" value="Add Item Type" title="Add item type" alt="Add item type" >
</td>
<td width=33%><TMPL_IF name="previous"><a href="<TMPL_VAR name=previous>"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0></a></TMPL_IF></td>
<td width=33%><TMPL_IF name="next"><a href="<TMPL_VAR name=next>"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
</tr>
</table>
</form>
</TMPL_IF>
<TMPL_INCLUDE NAME="parameters-bottom.inc">