|
From: | Chris Cormack |
Subject: | [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/es/value_builder unimarc_field_100.tmpl,NONE,1.1 unimarc_field_225a.tmpl,NONE,1.1 unimarc_field_700-4.tmpl,NONE,1.1 unimarc_field_700_701_702.tmpl,NONE,1.1 |
Date: | Tue, 03 Jun 2003 14:44:44 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/es/value_builder In directory sc8-pr-cvs1:/tmp/cvs-serv23369/value_builder Added Files: unimarc_field_100.tmpl unimarc_field_225a.tmpl unimarc_field_700-4.tmpl unimarc_field_700_701_702.tmpl Log Message: Continuing import --- NEW FILE --- <html> <head> <title>UNIMARC Field 100 builder</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> --- NEW FILE --- <html> <head> <title>UNIMARC Field 225a builder</title> </head> <body> <form name="f_pop" onSubmit="javascript:report()"> <table> <tr> <td>Select a collection</td> <td><TMPL_VAR name="collection"></td> </tr> <tr><td colspan=2><input type="submit" value="OK"></td></tr> </table> </form> <script> function report() { opener.document.f.field_value[<TMPL_VAR name="index">].value= document.f_pop.f1.value; self.close(); return false; } </script> </body> </html> --- NEW FILE --- <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> --- NEW FILE --- <html> <head> <title>Personal Authorities builder</title> </head> <body> <form name="f_pop" action="plugin_launcher.pl" method="post"> <input type="hidden" name="plugin_name" value="unimarc_field_700_701_702.pl"> <textarea name="result" rows=10 cols=60><TMPL_VAR name="result"></textarea></br> <p><input type="text" name="search_string" value="<TMPL_VAR name="search_string">"> <input type="hidden" name="index" value="<TMPL_VAR name="index">"> <input type="hidden" name="op" value="search"> <input type="hidden" name="a" value="<TMPL_VAR name="a">"> <input type="hidden" name="b" value="<TMPL_VAR name="b">"> <input type="hidden" name="c" value="<TMPL_VAR name="c">"> <input type="hidden" name="f" value="<TMPL_VAR name="f">"> <input type="submit" value="Search"><input type="button" value="END" onClick="javascript:report()"> </form> <TMPL_IF name="search_string"> <form name="f2_pop" action="plugin_launcher.pl" method="post"> <input type="hidden" name="plugin_name" value="unimarc_field_700_701_702.pl"> <TMPL_VAR name="select_list"> <input type="hidden" name="index" value="<TMPL_VAR name="index">"> <input type="hidden" name="op" value="select"> <input type="hidden" name="result" value="<TMPL_VAR name="result">"> <input type="submit" name="OK" value="OK"> </form> </TMPL_IF> <form name="f3_pop" action="plugin_launcher.pl" method="post"> <input type="hidden" name="plugin_name" value="unimarc_field_700_701_702.pl"> <input type="hidden" name="index" value="<TMPL_VAR name="index">"> <input type="hidden" name="op" value="add"> insert a new authority : <input type="text" name="insert" value="<TMPL_VAR name="search_string">"> <input type="submit" name="NEW" value="NEW"> </form> <script> function report() { var index_start=<TMPL_VAR name="index">; opener.document.f.field_value[index_start].value= document.f_pop.result.value; var whichfield = opener.document.f.tag[index_start].value; for (i=index_start ; i<opener.document.f.field_value.length ; i++) { if (opener.document.f.tag[i].value == whichfield && opener.document.f.subfield[i].value == 'a') { opener.document.f.field_value[i].value = document.f_pop.a.value; } } for (i=index_start ; i<opener.document.f.field_value.length ; i++) { if (opener.document.f.tag[i].value == whichfield && opener.document.f.subfield[i].value == 'b') { opener.document.f.field_value[i].value = document.f_pop.b.value; } } for (i=index_start ; i<opener.document.f.field_value.length ; i++) { if (opener.document.f.tag[i].value == whichfield && opener.document.f.subfield[i].value == 'c') { opener.document.f.field_value[i].value = document.f_pop.c.value; } } for (i=index_start ; i<opener.document.f.field_value.length ; i++) { if (opener.document.f.tag[i].value == whichfield && opener.document.f.subfield[i].value == 'f') { opener.document.f.field_value[i].value = document.f_pop.f.value; } } self.close(); return false; } </script> </body> </html>
[Prev in Thread] | Current Thread | [Next in Thread] |