Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 43
Line 1... Line 1...
1
<!-- DEBUT FORM_NOM -->
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">
2
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
4
	<fieldset>
3
	<fieldset>
5
		<legend><?=$i18n['legende'];?></legend>
4
		<legend><?=$i18n['legende'];?></legend>
6
		<table>
5
		<table>
7
			<tr>
6
			<tr>
8
				<?php if ($referentiel_unique == false) : ?>
-
 
9
				<td>
7
				<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>
8
					<label for="eflore_nom"><?=($eflore_type_nom == 'nom_scientifique') ? $i18n['ns'] : $i18n['nv'];?></label>
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;?>" />
9
					<input id="eflore_nom" name="eflore_nom" class="champ" size="30" maxlength="255" type="text" autocomplete="off" />
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>
10
				</td>
28
				<td>
11
				<td>
29
					<ul>
12
					<ul>
30
						<li>
13
						<li>
31
							<input id="eflore_type_nom_scientifique" name="eflore_type_nom" value="nom_scientifique" type="radio" <?=($eflore_type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
14
							<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>
15
							<label for="eflore_type_nom_scientifique"><?=$i18n['ns'];?></label>
33
						</li>
16
						</li>
34
						<li>
17
						<li>
35
							<input id="eflore_type_nom_vernaculaire" name="eflore_type_nom" value="nom_vernaculaire" type="radio" <?=($eflore_type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
18
							<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>
19
							<label for="eflore_type_nom_vernaculaire" title="(en fran�ais, allemand, anglais, catalan, espagnol, italien ou n�erlandais)"><?=$i18n['nv'];?></label>
37
						</li>
20
						</li>
38
					</ul>
21
					</ul>
39
				</td>
22
				</td>
40
				<td>
23
				<td>
41
					<input id="module" name="module" type="hidden" value="recherche" />
24
					<input id="module" name="module" type="hidden" value="recherche-simple" />
42
					<input id="action" name="action" type="hidden" value="recherche_nom" />					
25
					<input id="action" name="action" type="hidden" value="rechercheNom" />					
43
					<input id="eflore_nomenclature_submit" type="submit" value="OK" />
26
					<input id="eflore_nomenclature_submit" type="submit" value="<?=$i18n['recherche'];?>" />
44
				</td>
27
				</td>
45
			</tr>
28
			</tr>
46
		</table>
29
		</table>
47
	</fieldset>
30
	</fieldset>
48
</form>
31
</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
	}
32
 
57
	url = actualiserUrl();
-
 
58
	document.onLoad = InitQueryCode('ef-nom', url, 'ef-type-nom-scientifique');
-
 
59
//--> 
-
 
60
</script>
-
 
61
<?php if ($nom_approche) : ?>
33
<?php if (isset($nom_approche)) : ?>
62
	<p id="efr-ortho-approche"> <span class="erreur"><?=$i18n['orthographe'];?></span><a href="<?=$nom_approche_url;?>"><?=$nom_approche;?></a></p>
34
	<p id="efr-ortho-approche"> <span class="erreur"><?=$i18n['orthographe'];?></span><a href="<?=$nom_approche_url;?>"><?=$nom_approche;?></a></p>
63
<?php endif; ?>
35
<?php endif; ?>
-
 
36
<?php if (isset($information)) : ?>
-
 
37
	<p id="information"><?=$information?></p>
-
 
38
<?php endif; ?>
64
<!-- FIN FORM_NOM -->
39
<!-- FIN FORM_NOM -->
65
40