1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <title>UNIMARC_constructeur champ 123d</title>
15 <select name="f1" size="1">
17 <!-- TMPL_IF name="f1w" -->
18 <option value="w" SELECTED>Ouest</option>
20 <option value="w">Ouest</option>
22 <!-- TMPL_IF name="f1e" -->
23 <option value="e" SELECTED>Est</option>
25 <option value="e">Est</option>
27 <!-- TMPL_IF name="f1n" -->
28 <option value="n" SELECTED>Nord</option>
30 <option value="n">Nord</option>
32 <!-- TMPL_IF name="f1s" -->
33 <option value="s" SELECTED>Sud</option>
35 <option value="s">Sud</option>
40 <tr> <td>Degres (completer avec des 0):</td>
41 <td><input type="text" name="f2" maxlength=3
43 value="<!-- TMPL_VAR name="f2" -->"></td>
45 <tr> <td>Minutes (completer avec des 0):</td>
46 <td><input type="text" name="f3" maxlength=2
48 value="<!-- TMPL_VAR name="f3" -->"></td>
50 <tr> <td>Secondes (completer avec des 0):</td>
51 <td><input type="text" name="f4" maxlength=2
53 value="<!-- TMPL_VAR name="f4" -->"></td>
57 <tr><td colspan=2><input type="button" value="OK" onClick="javascript:report()"></td></tr>
60 <script type="text/javascript">
62 document.f_pop.f2.value=document.f_pop.f2.value+' ';
63 document.f_pop.f3.value=document.f_pop.f3.value+' ';
64 document.f_pop.f4.value=document.f_pop.f4.value+' ';
65 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);
66 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
67 document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2);
69 var doc = opener.document;
70 var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
72 field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value;