[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/value_builder unimarc_field_105.tmpl,1.1,1.2 unimarc_field_225a.tmpl,1.1,1.2 unimarc_field_700_701_702.tmpl,1.1,1.2 unimarc_field_100.tmpl,1.1,1.2 unimarc_field_60X.tmpl,1.2,1.3 unimarc_field_700-4.tmpl,1.1,1.2

Paul POULAIN tipaul at users.sourceforge.net
Wed Feb 11 09:59:11 CET 2004


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

Modified Files:
	unimarc_field_100.tmpl unimarc_field_60X.tmpl 
	unimarc_field_700-4.tmpl 
Added Files:
	unimarc_field_105.tmpl unimarc_field_225a.tmpl 
	unimarc_field_700_701_702.tmpl 
Log Message:
synch'ing 2.0.0 branch (RC4 tag) and head




Index: unimarc_field_100.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/value_builder/unimarc_field_100.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc_field_100.tmpl	3 Feb 2003 12:34:57 -0000	1.1
--- unimarc_field_100.tmpl	11 Feb 2004 08:58:38 -0000	1.2
***************
*** 1,51 ****
! <html>

! <head>

! <title>UNIMARC constructeur champ 100</title>

! </head>

! <body>

! <form name="f_pop" onSubmit="javascript:report()">

! <table>

! 	<tr>

! 		<td>Date d'enregistrement </td>

! 		<td><input type="text" name="f1" maxlength=8 size=8 value="<TMPL_VAR name="f1">"></td>

! 	</tr>

! 	<tr>

! 		<td>Code date publication </td><td><select name="f2" size="1">

! 		<option value="a" ><TMPL_IF name="f2a">SELECTED</TMPL_IF>>p&eacute;riodique en cours</option>

! 			<option value="b" ><TMPL_IF name="f2b">SELECTED</TMPL_IF>>p&eacute;riodique mort</option>

! 			<option value="c" ><TMPL_IF name="f2c">SELECTED</TMPL_IF>>p&eacute;riodique d'&eacute;tat inconnu</option>

! 			<option value="d" ><TMPL_IF name="f2d">SELECTED</TMPL_IF>>monographie compl&egrave;te</option>

! 			<option value="e" ><TMPL_IF name="f2e">SELECTED</TMPL_IF>>reproduction</option>

! 			</select>

! 		</td>

! 	</tr>

! 	<tr>

! 		

! 	  <td>Ann&eacute;e d&eacute;but</td>

! 		<td><input type="text" name="f3" maxlength=4 size=5 value="<TMPL_VAR name="f3">"></td>

! 	</tr>

! 	<tr>

! 	  <td>

! 		<p>Ann&eacute;e fin</p>

! 		</td>

! 	<td><input type="text" name="f4" maxlength=4 size=5 value="<TMPL_VAR name="f4">"></td>

! 	</tr>

! 	<tr><td colspan=2><input type="submit" value="Envoyer"></td></tr>

! </table>

! </form>

! <script>

! 	function report() {

! 		document.f_pop.f1.value=document.f_pop.f1.value+'        ';

! 		document.f_pop.f3.value=document.f_pop.f3.value+'    ';

! 		document.f_pop.f4.value=document.f_pop.f4.value+'    ';

! 		document.f_pop.f1.value=document.f_pop.f1.value.substring(0,8);

! 		document.f_pop.f3.value=document.f_pop.f3.value.substring(0,4);

! 		document.f_pop.f4.value=document.f_pop.f4.value.substring(0,4);

! 

! 		opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.f1.value + document.f_pop.f2.value +document.f_pop.f3.value +document.f_pop.f4.value;

! 		self.close();

! 		return false;

! 	}

! </script>

! </body>

! </html>

--- 1,48 ----
! <html>
! <head>
! <title>UNIMARC constructeur champ 100</title>
! </head>
! <body>
! <form name="f_pop" onSubmit="javascript:report()">
! <table>
! 	<tr>
! 		<td>Date d'enregistrement </td>
! 		<td><input type="text" name="f1" maxlength=8 size=8 value="<!-- TMPL_VAR name="f1" -->"></td>
! 	</tr>
! 	<tr>
! 		<td>Code date publication </td><td><select name="f2" size="1">
! 		<option value="a" <!-- TMPL_IF name="f2a" -->SELECTED<!-- /TMPL_IF -->>périodique en cours</option>
! 			<option value="b" <!-- TMPL_IF name="f2b" -->SELECTED<!-- /TMPL_IF -->>périodique mort</option>
! 			<option value="c" <!-- TMPL_IF name="f2c" -->SELECTED<!-- /TMPL_IF -->>périodique d'état inconnu</option>
! 			<option value="d" <!-- TMPL_IF name="f2d" -->SELECTED<!-- /TMPL_IF -->>monographie complète</option>
! 			<option value="e" <!-- TMPL_IF name="f2e" -->SELECTED<!-- /TMPL_IF -->>reproduction</option>
! 			</select>
! 		</td>
! 	</tr>
! 	<tr>
! 		<td>Année début</td>
! 		<td><input type="text" name="f3" maxlength=4 size=5 value="<!-- TMPL_VAR name="f3" -->"></td>
! 	</tr>
! 	<tr>
! 	<td>Année fin</td>
! 	<td><input type="text" name="f4" maxlength=4 size=5 value="<!-- TMPL_VAR name="f4" -->"></td>
! 	</tr>
! 	<tr><td colspan=2><input type="submit" value="OK"></td></tr>
! </table>
! </form>
! <script>
! 	function report() {
! 		document.f_pop.f1.value=document.f_pop.f1.value+'        ';
! 		document.f_pop.f3.value=document.f_pop.f3.value+'    ';
! 		document.f_pop.f4.value=document.f_pop.f4.value+'    ';
! 		document.f_pop.f1.value=document.f_pop.f1.value.substring(0,8);
! 		document.f_pop.f3.value=document.f_pop.f3.value.substring(0,4);
! 		document.f_pop.f4.value=document.f_pop.f4.value.substring(0,4);
! 
! 		opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.f1.value + document.f_pop.f2.value +document.f_pop.f3.value +document.f_pop.f4.value;
! 		self.close();
! 		return false;
! 	}
! </script>
! </body>
! </html>

Index: unimarc_field_60X.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/value_builder/unimarc_field_60X.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** unimarc_field_60X.tmpl	28 Nov 2003 14:09:33 -0000	1.2
--- unimarc_field_60X.tmpl	11 Feb 2004 08:58:39 -0000	1.3
***************
*** 1,5 ****
  <html>
  <head>
! 	<title>Recherche Th&eacute;saurus</title>
  </head>
  <body>
--- 1,5 ----
  <html>
  <head>
! 	<title>Recherche Thésaurus</title>
  </head>
  <body>
***************
*** 16,20 ****
  	<script>
  		function finish() {
! 			opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.result.value;
  			self.close();
  			return false;
--- 16,20 ----
  	<script>
  		function finish() {
! 			opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.result.value;
  			self.close();
  			return false;
***************
*** 23,27 ****
  	<form name="f_pop" action="plugin_launcher.pl" method="post">
  		<input type="hidden" name="plugin_name" value="unimarc_field_60X.pl">
! 		<textarea name="result" rows=10 cols=50><TMPL_VAR name="result"></textarea>
  		<br/><input type="button" value="OK" onClick="javascript:finish()">
  		<p><h2>Recherche</h2>
--- 23,27 ----
  	<form name="f_pop" action="plugin_launcher.pl" method="post">
  		<input type="hidden" name="plugin_name" value="unimarc_field_60X.pl">
! 		<textarea name="result" rows=10 cols=50><!-- TMPL_VAR name="result" --></textarea>
  		<br/><input type="button" value="OK" onClick="javascript:finish()">
  		<p><h2>Recherche</h2>
***************
*** 53,59 ****
  			<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Z">Z</a>
  			<br/>
! 			<input type="text" name="search_string" value="<TMPL_VAR name="search_string">">
! 			<input type="hidden" name="category" value="<TMPL_VAR name="category">">
! 			<input type="hidden" name="index" value="<TMPL_VAR name="index">">
  			<input type="hidden" name="op" value="search">
  			<input type="submit" value="Chercher">
--- 53,59 ----
  			<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&search_string=Z">Z</a>
  			<br/>
! 			<input type="text" name="search_string" value="<!-- TMPL_VAR name="search_string" -->">
! 			<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
! 			<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
  			<input type="hidden" name="op" value="search">
  			<input type="submit" value="Chercher">
***************
*** 65,107 ****
  		<h2>Résultats</h2>
  			<table>
! 				<TMPL_LOOP name="results">
  					<tr>
  					<td>
! 						<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<TMPL_VAR name="index">&level=<TMPL_VAR name="level">&search_string=<TMPL_VAR name=value ESCAPE=URL>">
! 							<TMPL_VAR name="value">
  						</a>
  					</td>
  					<td>
! 						<input type="button" value="Reporter" OnClick="javascript:report('<TMPL_VAR name="value">')"><br/>
  					</td>
  					</tr>
! 				</TMPL_LOOP>
  			</table>
  		</td>
  		<td>
! 		<TMPL_IF name=deeper>
  		<td valign="top">
! 			<h2>Dépendances</h2>
! 			</TMPL_IF>
  			<table>
! 			<TMPL_LOOP name="deeper">
  				<tr><td>
! 				<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<TMPL_VAR name="index">&level=<TMPL_VAR name="level">&search_string=<TMPL_VAR ESCAPE="URL" name="father">+<TMPL_VAR ESCAPE="URL" name="stdlib">">
! 					<TMPL_VAR name="father"> <TMPL_VAR name="stdlib">
  				</a></td>
  				<td>
! 					<input type="button" value="Reporter" OnClick="javascript:report('<TMPL_VAR ESCAPE=HTML name="father"> <TMPL_VAR ESCAPE=HTML name="stdlib">')"><br/>
  				</td></tr>
! 			</TMPL_LOOP>
  			</table>
  		</td>
  	</tr>
  	</table>
! <h2>Création</h2>
  <form name="f3_pop"  action="thesaurus_popup.pl" method="post">
! 	<input type="hidden" name="index" value="<TMPL_VAR name="index">">
  	<input type="hidden" name="op" value="add">
! 	<input type="hidden" name="category" value="<TMPL_VAR name="category">">
! 	Insérer une nouvelle autorité : <input type="text" name="insert" value="<TMPL_VAR name="search_string">">
  	<input type="submit" name="NEW" value="Ajouter">
  	</form>
--- 65,107 ----
  		<h2>Résultats</h2>
  			<table>
! 				<!-- TMPL_LOOP name="results" -->
  					<tr>
  					<td>
! 						<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR name=value ESCAPE=URL -->">
! 							<!-- TMPL_VAR name="value" -->
  						</a>
  					</td>
  					<td>
! 						<input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR name="value" -->')"><br/>
  					</td>
  					</tr>
! 				<!-- /TMPL_LOOP -->
  			</table>
  		</td>
  		<td>
! 		<!-- TMPL_IF name=deeper -->
  		<td valign="top">
! 			<h2>Subordinations</h2>
! 			<!-- /TMPL_IF -->
  			<table>
! 			<!-- TMPL_LOOP name="deeper" -->
  				<tr><td>
! 				<a href="plugin_launcher.pl?plugin_name=unimarc_field_60X.pl&index=<!-- TMPL_VAR name="index" -->&level=<!-- TMPL_VAR name="level" -->&search_string=<!-- TMPL_VAR ESCAPE="URL" name="father" -->+<!-- TMPL_VAR ESCAPE="URL" name="stdlib" -->">
! 					<!-- TMPL_VAR name="father" --> <!-- TMPL_VAR name="stdlib" -->
  				</a></td>
  				<td>
! 					<input type="button" value="Reporter" OnClick="javascript:report('<!-- TMPL_VAR ESCAPE=HTML name="father" --> <!-- TMPL_VAR ESCAPE=HTML name="stdlib" -->')"><br/>
  				</td></tr>
! 			<!-- /TMPL_LOOP -->
  			</table>
  		</td>
  	</tr>
  	</table>
! <h2>Ajout</h2>
  <form name="f3_pop"  action="thesaurus_popup.pl" method="post">
! 	<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
  	<input type="hidden" name="op" value="add">
! 	<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
! 	Create a new authority/thesaurus entry : <input type="text" name="insert" value="<!-- TMPL_VAR name="search_string" -->">
  	<input type="submit" name="NEW" value="Ajouter">
  	</form>

Index: unimarc_field_700-4.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/value_builder/unimarc_field_700-4.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc_field_700-4.tmpl	3 Feb 2003 12:34:57 -0000	1.1
--- unimarc_field_700-4.tmpl	11 Feb 2004 08:58:39 -0000	1.2
***************
*** 1,36 ****
! <html>

! <head>

! <title>UNIMARC constructeur champ 700-4</title>

! </head>

! <body>

! <p>Sélectionnez la valeur pour la zone 700 $4. Elle sera automatiquement reportée 

!   dans la zone 700 $8.</p>

! <form name="f_pop" onSubmit="javascript:report()">

! <table>

! 	<tr>

! 		<td>Code date publication </td>

! 		<td><select name="f1" size="1">

! 		  <option value="075 - postface" selected>SELECTED>postface</option>

! 		  <option value="651 - dir. de publication">SELECTED>dir. de publication</option>

! 		  <option value="440 - illustrateur">SELECTED>illustrateur</option>

! 		  <option value="080 - pr&eacute;face, notes">SELECTED>pr&eacute;face, notes</option>

! 		  <option value="730 - traducteur">SELECTED>traducteur</option>

! 		</select>

! 		</td>

! 	</tr>

! 	<tr><td colspan=2><input type="submit" value="Envoyer"></td></tr>

! </table>

! </form>

! <script>

! 	function report() {

! 		x = document.f_pop.f1.value.split(' - ');

! 		opener.document.f.field_value[<TMPL_VAR name="index">].value= x[0];

! 		if (<TMPL_VAR name="index2">>0) {

! 			opener.document.f.field_value[<TMPL_VAR name="index2">].value= x[1];

! 		}

! 		self.close();

! 		return false;

! 	}

! </script>

! </body>

! </html>

--- 1,34 ----
! <html>
! <head>
! <title>UNIMARC constructeur champ 700-4</title>
! </head>
! <body>
! <p>Sélectionnez la valeur pour le champ 700 $4. Elle sera automatiquement reportée dans la zone 700 $8 qui suit.</p>
! <form name="f_pop" onSubmit="javascript:report()">
! <table>
! 	<tr>
! 		<td>Code date publication </td><td><select name="f1" size="1">
! 		<option value="075 - postface" <!-- TMPL_IF name="f1_075" -->SELECTED<!-- /TMPL_IF -->>postface</option>
! 			<option value="651 - dir. de publication" <!-- TMPL_IF name="f1_651" -->SELECTED<!-- /TMPL_IF -->>dir. de publication</option>
! 			<option value="440 - illustrateur" <!-- TMPL_IF name="f1_440" -->SELECTED<!-- /TMPL_IF -->>illustrateur</option>
! 			<option value="080 - préface, notes" <!-- TMPL_IF name="f1_080" -->SELECTED<!-- /TMPL_IF -->>préface, notes</option>
! 			<option value="730 - traducteur" <!-- TMPL_IF name="f1_730" -->SELECTED<!-- /TMPL_IF -->>traducteur</option>
! 			</select>
! 		</td>
! 	</tr>
! 	<tr><td colspan=2><input type="submit" value="OK"></td></tr>
! </table>
! </form>
! <script>
! 	function report() {
! 		x = document.f_pop.f1.value.split(' - ');
! 		opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= x[0];
! 		if (<!-- TMPL_VAR name="index2" -->>0) {
! 			opener.document.f.field_value[<!-- TMPL_VAR name="index2" -->].value= x[1];
! 		}
! 		self.close();
! 		return false;
! 	}
! </script>
! </body>
! </html>





More information about the Koha-cvs mailing list