Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 118 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 118 Rev 123
1
<!-- DEBUT FORM_NOM -->
1
<!-- DEBUT FORM_NOM -->
2
<script type="text/javascript">
2
<script type="text/javascript">
3
<!--
3
<!--
4
	var urlServiceAutocompletionNomsSci = "<?= $url_base_completion_noms_sci; ?>";
4
	var urlServiceAutocompletionNomsSci = "<?= $url_base_completion_noms_sci; ?>";
5
	var urlServiceAutocompletionNomsVerna = "<?= $url_base_completion_noms_verna; ?>";
5
	var urlServiceAutocompletionNomsVerna = "<?= $url_base_completion_noms_verna; ?>";
6
	var urlBaseFicheTaxon = "<?= $url_base_fiche_taxon; ?>";
6
	var urlBaseFicheTaxon = "<?= $url_base_fiche_taxon; ?>";
7
	var valeurDefautNomSci = "<?= $i18n['valeur-form-nom-sci']; ?>";
7
	var valeurDefautNomSci = "<?= $i18n['valeur-form-nom-sci']; ?>";
8
	var valeurDefautNomVerna = "<?= $i18n['valeur-form-nom-verna']; ?>";
8
	var valeurDefautNomVerna = "<?= $i18n['valeur-form-nom-verna']; ?>";
9
 // -->
9
 // -->
10
</script>
10
</script>
11
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get" class="importance1">
11
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get" class="importance1">
12
	<fieldset>
12
	<fieldset>
13
		<h1><?=$i18n['titre-nom'];?></h1>
13
		<h1><?=$i18n['titre-nom'];?></h1>
14
		<span class="zone-choix-type-nom">
14
		<span class="zone-choix-type-nom">
15
			<?php if (isset($nom_verna)) { ?>
15
			<?php if (isset($nom_verna)) { ?>
16
			    <span class="type-nom">
16
			    <span class="type-nom">
17
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
17
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
18
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
18
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
19
				</span>
19
				</span>
20
				<span class="type-nom">
20
				<span class="type-nom">
21
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
21
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
22
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
22
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
23
				</span>
23
				</span>
24
			<?php } else {?>
24
			<?php } else {?>
25
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
25
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
26
				<?=$i18n['ns'];?>
26
				<?=$i18n['ns'];?>
27
			<?php } ?>
27
			<?php } ?>
28
		</span>
28
		</span>
29
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" autocomplete="off" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
29
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" autocomplete="off" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
30
		<span id="zone-liens-recherche">
30
		<span id="zone-liens-recherche">
31
			<input id="referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
31
			<input id="referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
32
			<input id="module" name="module" type="hidden" value="recherche" />
32
			<input id="module" name="module" type="hidden" value="recherche" />
33
			<input id="action" name="action" type="hidden" value="rechercheSimple" />
33
			<input id="action" name="action" type="hidden" value="rechercheSimple" />
34
			<input id="eflore_nomenclature_submit" name="submit" type="submit" value="<?=$i18n['recherche'];?>" class="ok"/>
34
			<input id="eflore_nomenclature_submit" name="submit" type="submit" value="<?=$i18n['recherche'];?>" class="ok"/>
35
			<input id="eflore_nomenclature_fiche" name="submit" type="submit" value="<?=$i18n['fiche'];?>" />
35
			<input id="eflore_nomenclature_fiche" name="submit" type="submit" value="<?=$i18n['fiche'];?>" />
36
		</span>
36
		</span>
37
	</fieldset>
37
	</fieldset>
38
</form>
38
</form>
39
 
-
 
40
<?php if (isset($nom_approche)) : ?>
-
 
41
	<p id="efr-ortho-approche"> <span class="erreur"><?=$i18n['orthographe'];?></span><a href="<?=$url_nom_approche?>"><?=$nom_approche;?></a></p>
39
 
42
	
40
 
-
 
41
<?php if (isset($message)) : ?>
-
 
42
	<p class= "<?= ($message['attention']) ? 'attention' : 'information'; ?>">
43
<?php endif; ?>
43
		<?= ($message['attention']) ? $i18n[$message['attention']] : ''; ?>
-
 
44
		<?php if (isset($message['nom_approche'])) : ?>
-
 
45
			<?=$i18n['orthographe'];?>
44
<?php if (isset($information)) : ?>
46
			<?php foreach ($message['nom_approche'] as $nom) :?>
-
 
47
				<a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
-
 
48
			<?php endforeach; ?>
-
 
49
		<?php endif; ?>
45
	<p id="information"><?=$information?></p>
50
	</p>
-
 
51
<?php endif; ?>
-
 
52
 
46
<?php endif; ?>
53
 
47
<!-- FIN FORM_NOM -->
54
<!-- FIN FORM_NOM -->