[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple additem.tmpl,1.6,1.7

Paul POULAIN tipaul at users.sourceforge.net
Wed Feb 11 10:00:49 CET 2004


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27625/koha-tmpl/intranet-tmpl/default/fr/acqui.simple

Modified Files:
	additem.tmpl 
Log Message:
synch'ing 2.0.0 branch (RC4 tag) and head

Index: additem.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple/additem.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** additem.tmpl	18 Dec 2003 17:19:56 -0000	1.6
--- additem.tmpl	11 Feb 2004 09:00:44 -0000	1.7
***************
*** 1,3 ****
! <TMPL_INCLUDE NAME="cat-top.inc">
  <STYLE TYPE="text/css" MEDIA=screen>
  	table {	font-family:Arial;
--- 1,3 ----
! <!-- TMPL_INCLUDE NAME="cat-top.inc" -->
  <STYLE TYPE="text/css" MEDIA=screen>
  	table {	font-family:Arial;
***************
*** 8,21 ****
  <br /><br />
  <form method="post" action="additem.pl" name="f">
! <input type="hidden" name="op" value="<TMPL_VAR name="op">">
! <input type="hidden" name="bibid" value="<TMPL_VAR name="bibid">">
  <table width="80%" align="center" cellspacing=0 cellpadding=5 border=1>
! <tr background="<TMPL_VAR name="themelang">/images/background-mem.gif">
  	<td>
  	<table width="100%" border=0 cellpadding=0 cellspacing=0>
  		<tr>
! 			<td width=8%><a href="addbiblio.pl?oldbiblionumber=<TMPL_VAR name="biblionumber">"><img border="0" src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/fileopen.png"></a></td>
! 			<td width=8%><a href="../detail.pl?bib=<TMPL_VAR name="biblionumber">">Normal</a></td>
! 			<td align="center"><b>MARC biblio : <TMPL_VAR name="biblionumber"></b></td>
  		</tr>
  	</table>
--- 8,21 ----
  <br /><br />
  <form method="post" action="additem.pl" name="f">
! <input type="hidden" name="op" value="<!-- TMPL_VAR name="op" -->">
! <input type="hidden" name="bibid" value="<!-- TMPL_VAR name="bibid" -->">
  <table width="80%" align="center" cellspacing=0 cellpadding=5 border=1>
! <tr background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">
  	<td>
  	<table width="100%" border=0 cellpadding=0 cellspacing=0>
  		<tr>
! 			<td width=8%><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR name="biblionumber" -->"><img border="0" src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"></td>
! 			<td width=8%><a href="../detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->">Normal</a></td>
! 			<td align="center"><b>Notice biblio MARC : <!-- TMPL_VAR name="biblionumber" --></b></td>
  		</tr>
  	</table>
***************
*** 25,79 ****
  <br />
  <center>
  <DIV name="10XX" id="10XX">
  <table border=1 cellspacing=0 cellpadding=5 width=80%>
! 	<tr  background="<TMPL_VAR name="themelang">/images/background-mem.gif">
! 		<th>Exemplaires existants</th>
  	</tr>
  </table>
  <table border=1 cellspacing=0 cellpadding=0 width=80%>
! 	<tr  background="<TMPL_VAR name="themelang">/images/background-mem.gif">
! 		<TMPL_LOOP name="item_header_loop"><th><tmpl_var name="header_value"></th></TMPL_LOOP><th colspan=2>&nbsp;</th>
  	</tr>
! 		<TMPL_LOOP name="item_loop">
  		<tr>
! 			<TMPL_VAR name="item_value">
! 			<td><a href="additem.pl?op=edititem&bibid=<TMPL_VAR name="bibid">&itemnum=<TMPL_VAR name="itemnum">"><img src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/fileopen.png" border=0></a></td>
! 			<td><a href="javascript:confirm_deletion(<TMPL_VAR name="bibid">,<TMPL_VAR name="itemnum">)"><img src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/edittrash.png" border=0></a></td>
  		</tr>
! 		</TMPL_LOOP>
  </table>
  </DIV>
  <br /><br />
  <table border=1 cellspacing=0 cellpadding=5 width=80%>
! 	<tr  background="<TMPL_VAR name="themelang">/images/background-mem.gif">
! 		<th>Exemplaire</th>
  	</tr>
  </table><table width=80%  cellspacing=0 cellpadding=1 border=0>
! 	<TMPL_LOOP name="item">
  	<tr>
  		<td width="3%">&nbsp;</td>
! 		<td width="2%"><TMPL_VAR name="subfield"></td>
! 		<td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"> *</b></TMPL_IF></td>
  		<td width="40%">
! 			<TMPL_VAR name="marc_value">
! 			<input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
! 			<input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
! 			<input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
  		</td>
  	</tr>
  	</tmpl_loop>
  </table>
! <input type="hidden" name="itemnum" value="<TMPL_VAR name="itemnum">">
! <TMPL_IF name="barcode_not_unique">
! 	<div id="problem"><b>ERREUR : le code barre existe déjà !<b></div>
! </TMPL_IF>
! <TMPL_IF name="opisadd">
! <input type="button" value="Enregistrer" onClick='Check(this.form)' accesskey="w">
! <TMPL_ELSE>
! <input type="hidden" name="tag" value="<TMPL_VAR name="itemtagfield">">
! <input type="hidden" name="subfield" value="<TMPL_VAR name="itemtagsubfield">">
! <input type="hidden" name="field_value" value="<TMPL_VAR name="itemnum">">
! <input type="button" value="Enregistrer" onClick='Check(this.form)' accesskey="w">
! </TMPL_IF>
  </center>
  </form>
--- 25,81 ----
  <br />
  <center>
+ 
  <DIV name="10XX" id="10XX">
  <table border=1 cellspacing=0 cellpadding=5 width=80%>
! 	<tr  background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">
! 		<th>Ouvrages existant</th>
  	</tr>
  </table>
  <table border=1 cellspacing=0 cellpadding=0 width=80%>
! 	<tr  background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">
! 		<!-- TMPL_LOOP name="item_header_loop" --><th><tmpl_var name="header_value"></th><!-- /TMPL_LOOP --><th colspan=2>&nbsp;</th>
  	</tr>
! 		<!-- TMPL_LOOP name="item_loop" -->
  		<tr>
! 			<!-- TMPL_VAR name="item_value" -->
! 			<td><a href="additem.pl?op=edititem&bibid=<!-- TMPL_VAR name="bibid" -->&itemnum=<!-- TMPL_VAR name="itemnum" -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png" border=0></a></td>
! 			<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR name="bibid" -->,<!-- TMPL_VAR name="itemnum" -->)"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" border=0></a></td>
  		</tr>
! 		<!-- /TMPL_LOOP -->
  </table>
  </DIV>
  <br /><br />
+ 
  <table border=1 cellspacing=0 cellpadding=5 width=80%>
! 	<tr  background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">
! 		<th>Nouveau ouvrage</th>
  	</tr>
  </table><table width=80%  cellspacing=0 cellpadding=1 border=0>
! 	<!-- TMPL_LOOP name="item" -->
  	<tr>
  		<td width="3%">&nbsp;</td>
! 		<td width="2%"><!-- TMPL_VAR name="subfield" --></td>
! 		<td width="55%"><!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR name="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></td>
  		<td width="40%">
! 			<!-- TMPL_VAR name="marc_value" -->
! 			<input type="hidden" name="tag" value="<!-- TMPL_VAR name="tag" -->">
! 			<input type="hidden" name="subfield" value="<!-- TMPL_VAR name="subfield" -->">
! 			<input type="hidden" name="mandatory" value="<!-- TMPL_VAR name="mandatory" -->">
  		</td>
  	</tr>
  	</tmpl_loop>
  </table>
! <input type="hidden" name="itemnum" value="<!-- TMPL_VAR name="itemnum" -->">
! <!-- TMPL_IF name="barcode_not_unique" -->
! 	<div id="problem"><b>ERREUR: Code barre existe déjà!<b></div>
! <!-- /TMPL_IF -->
! <!-- TMPL_IF name="opisadd" -->
! <input type="button" value="Ajouter un ouvrage" onClick='Check(this.form)' accesskey="w">
! <!-- TMPL_ELSE -->
! <input type="hidden" name="tag" value="<!-- TMPL_VAR name="itemtagfield" -->">
! <input type="hidden" name="subfield" value="<!-- TMPL_VAR name="itemtagsubfield" -->">
! <input type="hidden" name="field_value" value="<!-- TMPL_VAR name="itemnum" -->">
! <input type="button" value="Modifier ouvrage" onClick='Check(this.form)' accesskey="w">
! <!-- /TMPL_IF -->
  </center>
  </form>
***************
*** 87,91 ****
  			document.getElementById(ong).style.visibility="visible";
  			document.getElementById(link).style.backgroundColor="#11AA11";
! 			document.getElementById(link).style.backgroundImage="url(<TMPL_VAR name="themelang">/images/background-mem.gif)";
  		} else {
  			document.getElementById(ong).style.visibility="hidden";
--- 89,93 ----
  			document.getElementById(ong).style.visibility="visible";
  			document.getElementById(link).style.backgroundColor="#11AA11";
! 			document.getElementById(link).style.backgroundImage="url(<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif)";
  		} else {
  			document.getElementById(ong).style.visibility="hidden";
***************
*** 111,117 ****
  		document.f.submit();
  	} else {
! 		alertString2 = "Formulaire invalide :\n";
  		alertString2 += "------------------------------------------------------------------------------------\n\n";
! 		alertString2 += "- "+ total_errors+" champs obligatoire laissés vides";
  		alert(alertString2);
  	}
--- 113,119 ----
  		document.f.submit();
  	} else {
! 		alertString2 = "Form not submitted because sur the following problem(s)\n";
  		alertString2 += "------------------------------------------------------------------------------------\n\n";
! 		alertString2 += "- "+ total_errors+" mandatory fields empty (see bold subfields)";
  		alert(alertString2);
  	}
***************
*** 119,126 ****
  function Dopop(link,i) {
  	defaultvalue=document.forms[0].field_value[i].value;
! 	newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=yes');
  }
  function confirm_deletion(bibid,itemnum) {
! 	var is_confirmed = confirm('Confirmez vous la suppression ?');
  	if (is_confirmed) {
  	window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
--- 121,128 ----
  function Dopop(link,i) {
  	defaultvalue=document.forms[0].field_value[i].value;
! 	newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=oui');
  }
  function confirm_deletion(bibid,itemnum) {
! 	var is_confirmed = confirm('Do you confirm item deletion ?');
  	if (is_confirmed) {
  	window.location = "additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;





More information about the Koha-cvs mailing list