Template for 124a field plugin

This commit is contained in:
doxulting 2005-06-02 15:27:20 +00:00
parent f004e9fdd7
commit cd5f6cc0c7

View file

@ -1,47 +1,49 @@
<html>
<head>
<title>UNIMARC constructeur champ 124a</title>
</head>
<body>
<form name="f_pop" onSubmit="javascript:report()">
<table>
<tr>
<td>Origine de l'image:</td>
<td>
<select name="f1" size="1">
<!-- TMPL_IF name="f1 " -->
<option value=" " SELECTED>Aucun</option>
<!-- TMPL_ELSE -->
<option value=" ">Aucun</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1a" -->
<option value="a" SELECTED>Image non-photographique</option>
<!-- TMPL_ELSE -->
<option value="a">Image non-photographique</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1b" -->
<option value="b" SELECTED>Image photographique</option>
<!-- TMPL_ELSE -->
<option value="b">Image photographique</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1c" -->
<option value="c" SELECTED>Image de teledetection</option>
<!-- TMPL_ELSE -->
<option value="c">Image de teledetection</option>
<!-- /TMPL_IF -->
</select>
</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>
<!-- TMPL_INCLUDE Name="popup-top.inc" -->
<div id="mainbloc" style="padding-bottom:10px;margin:10px;width:95%;">
<h1 class="authority">Assistant champ codé 124a</h1>
<form name="f_pop" onSubmit="javascript:report()">
<p>
<label style="width:20em;">Origine de l'image</label>
<select name="f1" size="1">
<!-- TMPL_IF name="f1 " -->
<option value=" " SELECTED>Aucun</option>
<!-- TMPL_ELSE -->
<option value=" ">Aucun</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1a" -->
<option value="a" SELECTED>Image non-photographique</option>
<!-- TMPL_ELSE -->
<option value="a">Image non-photographique</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1b" -->
<option value="b" SELECTED>Image photographique</option>
<!-- TMPL_ELSE -->
<option value="b">Image photographique</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="f1c" -->
<option value="c" SELECTED>Image de télédétection</option>
<!-- TMPL_ELSE -->
<option value="c">Image de télédétection</option>
<!-- /TMPL_IF -->
</select>
</p>
<br>
<p>
<label style="width:20em;">&nbsp;</label>
<input type="submit" value="OK" class="button authority">
</p>
</form>
</div>
<script>
function report() {
opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.f1.value;
self.close();
return false;
}
</script>
<!-- TMPL_INCLUDE Name="popup-bottom.inc" -->