Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 457 Rev 720
1
<!-- DEBUT FORM_NOM -->
1
<!-- DEBUT FORM_NOM -->
2
<script type="text/javascript">
2
<script type="text/javascript">
3
<!--
3
<!--
4
	var AUTOCOMPLETION_ELEMENTS_NBRE = 50;
4
	var AUTOCOMPLETION_ELEMENTS_NBRE = 50;
5
	var URL_SERVICE_AUTOCOMPLETION_NOM_SCI = "<?=$url_base_completion_noms_sci?>";
5
	var URL_SERVICE_AUTOCOMPLETION_NOM_SCI = "<?=$url_base_completion_noms_sci?>";
6
	var URL_SERVICE_AUTOCOMPLETION_NOM_VERNA = "<?=$url_base_completion_noms_verna?>";
6
	var URL_SERVICE_AUTOCOMPLETION_NOM_VERNA = "<?=$url_base_completion_noms_verna?>";
7
	var VALEUR_DEFAUT_NOM_SCI = "<?= $i18n['valeur-form-nom-sci']; ?>";
7
	var VALEUR_DEFAUT_NOM_SCI = "<?= $i18n['valeur-form-nom-sci']; ?>";
8
	var VALEUR_DEFAUT_NOM_VERNA = "<?= $i18n['valeur-form-nom-verna']; ?>";
8
	var VALEUR_DEFAUT_NOM_VERNA = "<?= $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">
11
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
12
	<fieldset>
12
	<fieldset>
13
		<span class="zone-choix-type-nom">
13
		<span class="zone-choix-type-nom">
14
			<?php if (isset($nom_verna)) { ?>
14
			<?php if (isset($nom_verna)) { ?>
15
			    <span class="type-nom">
15
			    <span class="type-nom">
16
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
16
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
17
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
17
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
18
				</span>
18
				</span>
19
				<span class="type-nom">
19
				<span class="type-nom">
20
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
20
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
21
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
21
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
22
				</span>
22
				</span>
23
			<?php } else {?>
23
			<?php } else {?>
24
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
24
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
25
				<?=$i18n['ns'];?>
25
				<?=$i18n['ns'];?>
26
			<?php } ?>
26
			<?php } ?>
27
		</span>
27
		</span>
28
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
28
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
29
		<span id="zone-liens-recherche">
29
		<span id="zone-liens-recherche">
30
			<input id="eflore_nomenclature_referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
30
			<input id="eflore_nomenclature_referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
31
			<input id="eflore_nomenclature_niveau" name="niveau" type="hidden" value="<?=Registre::get('parametres.niveau')?>" />
31
			<input id="eflore_nomenclature_niveau" name="niveau" type="hidden" value="<?=Registre::get('parametres.niveau')?>" />
32
			<input id="eflore_nomenclature_module" name="module" type="hidden" value="recherche" />
32
			<input id="eflore_nomenclature_module" name="module" type="hidden" value="recherche" />
33
			<input id="eflore_nomenclature_action" name="action" type="hidden" value="rechercheSimple" />
33
			<input id="eflore_nomenclature_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
 
39
 
40
 
40
 
41
<?php if (isset($message)) : ?>
41
<?php if (isset($message)) : ?>
42
	<p class="<?= ($message['attention']) ? 'attention' : 'information'; ?>">
42
	<p class="<?= ($message['attention']) ? 'attention' : 'information'; ?>">
43
		<?= ($message['attention']) ? $i18n[$message['attention']] : ''; ?>
43
		<?= ($message['attention']) ? $i18n[$message['attention']] : ''; ?>
-
 
44
		<?= ($message['nom_ss_corresp']) ? $message['nom_ss_corresp']['nom'].$i18n['nom_ss_corresp'].
-
 
45
				'<a href="http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtfx&module=FicheTaxon&num_nom='.$message['nom_ss_corresp']['id'].'">'.
-
 
46
				$i18n['reftax'].'</a>' : ''; ?>
44
		<?php if (isset($message['nom_approche'])) : ?>
47
		<?php if (isset($message['nom_approche'])) : ?>
45
			<?=$i18n['orthographe'];?>
48
			<?=$i18n['orthographe'];?>
46
			<?php foreach ($message['nom_approche'] as $key => $nom) :?>
49
			<?php foreach ($message['nom_approche'] as $cle => $nom) :?>
47
				<a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
50
				<a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
48
				<?= ($message['nom_approche'][$key+1]['nom'] != '') ? ' ou ' : ''; ?>
51
				<?= ($message['nom_approche'][$cle+1]['nom'] != '') ? ' ou ' : ''; ?>
49
			<?php endforeach; ?>
52
			<?php endforeach; ?>
50
		<?php endif; ?>
53
		<?php endif; ?>
51
	</p>
54
	</p>
52
<?php endif; ?>
55
<?php endif; ?>
53
<!-- FIN FORM_NOM -->
56
<!-- FIN FORM_NOM -->