Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 jpm 1
<!-- DEBUT FORM_NOM -->
2
<script type="text/javascript" language="JavaScript" src="<?=$url_js;?>XmlHttpLookup.js"></script>
3
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
4
	<fieldset>
5
		<legend><?=$i18n['legende'];?></legend>
6
		<table>
7
			<tr>
8
				<?php if ($referentiel_unique == false) : ?>
9
				<td>
10
					<label for="eflore_referentiel_select"><?=$i18n['form_referentiel'];?></label>
11
					<select id="eflore_referentiel_select" name="eflore_referentiel" onchange="actualiserUrl();">
12
						<!--<option value="0">Tous</option>-->
13
						<?php foreach ($referentiels as $referentiel) : ?>
14
			  			<?php if ($referentiel['historique'] == false) : ?>
15
			  			<option value="<?=$referentiel['id'];?>" title="<?=$referentiel['abreviation'];?> (version <?=$referentiel['code'];?>) - Auteur principal&nbsp;: <?=$referentiel['auteur'];?>" <?=($eflore_referentiel_selected == $referentiel['id']) ? 'selected="selected"' : '';?> > <?=$referentiel['intitule_court'];?></option>
16
			  			<?php endif; ?>
17
			  			<?php endforeach; ?>
18
					</select>
19
				</td>
20
				<?php endif; ?>
21
				<td>
22
					<label for="eflore_nom"><?=$i18n['form_nom'];?></label>
23
					<input id="eflore_nom" name="eflore_nom" class="champ" size="30" maxlength="255" type="text" autocomplete="off" value="<?=$eflore_nom;?>" />
24
					<?php if ($referentiel_unique == true) : ?>
25
						<input id="eflore_referentiel" name="eflore_referentiel" type="hidden" value="<?=$referentiel_unique_id;?>"/>
26
					<?php endif; ?>
27
				</td>
28
				<td>
29
					<ul>
30
						<li>
31
							<input id="eflore_type_nom_scientifique" name="eflore_type_nom" value="nom_scientifique" type="radio" <?=($eflore_type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
32
							<label for="eflore_type_nom_scientifique">nom scientifique</label>
33
						</li>
34
						<li>
35
							<input id="eflore_type_nom_vernaculaire" name="eflore_type_nom" value="nom_vernaculaire" type="radio" <?=($eflore_type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
36
							<label for="eflore_type_nom_vernaculaire" title="(en fran�ais, allemand, anglais, catalan, espagnol, italien ou n�erlandais)">nom commun</label>
37
						</li>
38
					</ul>
39
				</td>
40
				<td>
41
					<input id="module" name="module" type="hidden" value="recherche" />
42
					<input id="action" name="action" type="hidden" value="recherche_nom" />
43
					<input id="eflore_nomenclature_submit" type="submit" value="OK" />
44
				</td>
45
			</tr>
46
		</table>
47
	</fieldset>
48
</form>
49
<script type="text/javascript"language="JavaScript">
50
<!--
51
	function actualiserUrl() {
52
		cache = new Object();
53
		url_referentiel = document.getElementsByName('ef-referentiel').item(0).value;
54
		url = '<?=$url_completion_prefixe;?>'+url_referentiel+'<?=$url_completion_param;?>';
55
		return url;
56
	}
57
	url = actualiserUrl();
58
	document.onLoad = InitQueryCode('ef-nom', url, 'ef-type-nom-scientifique');
59
//-->
60
</script>
61
<?php if ($nom_approche) : ?>
62
	<p id="efr-ortho-approche"> <span class="erreur"><?=$i18n['orthographe'];?></span><a href="<?=$nom_approche_url;?>"><?=$nom_approche;?></a></p>
63
<?php endif; ?>
64
<!-- FIN FORM_NOM -->