Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 917 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 917 Rev 947
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
	var VALEUR_DEFAUT_AU = "<?=$i18n['valeur-form-auteur']?>";
9
	var VALEUR_DEFAUT_AU = "<?=$i18n['valeur-form-auteur']?>";
10
	var VALEUR_DEFAUT_BIB = "<?=$i18n['valeur-form-bib']?>";
10
	var VALEUR_DEFAUT_BIB = "<?=$i18n['valeur-form-bib']?>";
11
	var VALEUR_DEFAUT_DATE = "<?=$i18n['valeur-form-date']?>";
11
	var VALEUR_DEFAUT_DATE = "<?=$i18n['valeur-form-date']?>";
12
	var URL_BASE_FICHE_TAXON = "<?=$url_base_fiche_taxon?>";
12
	var URL_BASE_FICHE_TAXON = "<?=$url_base_fiche_taxon?>";
13
	var URL_BASE_POPUP = "<?=Config::get('base_url_application_popup');?>";
13
	var URL_BASE_POPUP = "<?=Config::get('base_url_application_popup');?>";
-
 
14
	var REFERENTIEL = "<?= Registre::get('parametres.referentiel');?>";
14
	
15
	
15
 // -->
16
 // -->
16
</script>
17
</script>
17
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
18
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
18
	<fieldset>
19
	<fieldset>
19
		<span class="zone-choix-type-nom">
20
		<span class="zone-choix-type-nom">
20
			<?php if (isset($nom_verna)) { ?>
21
			<?php if (isset($nom_verna)) { ?>
21
			    <span class="type-nom">
22
			    <span class="type-nom">
22
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
23
					<input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
23
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
24
					<label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
24
				</span>
25
				</span>
25
				<span class="type-nom">
26
				<span class="type-nom">
26
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
27
					<input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
27
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
28
					<label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
28
				</span>
29
				</span>
29
			<?php } else {?>
30
			<?php } else {?>
30
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
31
				<input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
31
				<?=$i18n['ns'];?>
32
				<?=$i18n['ns'];?>
32
			<?php } ?>
33
			<?php } ?>
33
		</span>
34
		</span>
34
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
35
		<input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
35
		<span id="zone-liens-recherche">
36
		<span id="zone-liens-recherche">
36
			<input id="eflore_nomenclature_referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
37
			<input id="eflore_nomenclature_referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
37
			<input id="eflore_nomenclature_niveau" name="niveau" type="hidden" value="<?=Registre::get('parametres.niveau')?>" />
38
			<input id="eflore_nomenclature_niveau" name="niveau" type="hidden" value="<?=Registre::get('parametres.niveau')?>" />
38
			<input id="eflore_nomenclature_module" name="module" type="hidden" value="recherche" />
39
			<input id="eflore_nomenclature_module" name="module" type="hidden" value="recherche" />
39
			<input id="eflore_nomenclature_action" name="action" type="hidden" value="rechercheSimple" />
40
			<input id="eflore_nomenclature_action" name="action" type="hidden" value="rechercheSimple" />
40
			<input id="eflore_nomenclature_submit" name="submit" type="submit" value="<?=$i18n['recherche'];?>" class="ok"/>
41
			<input id="eflore_nomenclature_submit" name="submit" type="submit" value="<?=$i18n['recherche'];?>" class="ok"/>
41
			<input id="eflore_nomenclature_fiche" name="acces_fiche" type="submit" value="<?=$i18n['fiche'];?>" />
42
			<input id="eflore_nomenclature_fiche" name="acces_fiche" type="submit" value="<?=$i18n['fiche'];?>" />
42
		</span>
43
		</span>
43
	</fieldset>
44
	</fieldset>
44
</form>
45
</form>
45
 
46
 
46
 
47
 
47
<?php if (isset($message)) : ?>
48
<?php if (isset($message)) : ?>
48
	<p class="<?= (isset($message['attention'])) ? 'attention' : 'information'; ?>">
49
	<p class="<?= (isset($message['attention'])) ? 'attention' : 'information'; ?>">
49
		<?= (isset($message['attention'])) ? $i18n[$message['attention']] : ''; ?>
50
		<?= (isset($message['attention'])) ? $i18n[$message['attention']] : ''; ?>
50
		<?= (isset($message['nom_ss_corresp'])) ? $message['nom_ss_corresp']['nom'].$i18n['nom_ss_corresp'].
51
		<?= (isset($message['nom_ss_corresp'])) ? $message['nom_ss_corresp']['nom'].$i18n['nom_ss_corresp'].
51
				'<a href="http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtfx&module=FicheTaxon&num_nom='.$message['nom_ss_corresp']['id'].'">'.
52
				'<a href="http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtfx&module=FicheTaxon&num_nom='.$message['nom_ss_corresp']['id'].'">'.
52
				$i18n['reftax'].'</a>' : ''; ?>
53
				$i18n['reftax'].'</a>' : ''; ?>
53
		<?php if (isset($message['nom_approche'])) : ?>
54
		<?php if (isset($message['nom_approche'])) : ?>
54
			<?=$i18n['orthographe'];?>
55
			<?=$i18n['orthographe'];?>
55
			<?php foreach ($message['nom_approche'] as $cle => $nom) :?>
56
			<?php foreach ($message['nom_approche'] as $cle => $nom) :?>
56
				<a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
57
				<a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
57
				<?= (isset($message['nom_approche'][$cle+1]['nom'])) ? ' ou ' : ''; ?>
58
				<?= (isset($message['nom_approche'][$cle+1]['nom'])) ? ' ou ' : ''; ?>
58
			<?php endforeach; ?>
59
			<?php endforeach; ?>
59
		<?php endif; ?>
60
		<?php endif; ?>
60
	</p>
61
	</p>
61
<?php endif; ?>
62
<?php endif; ?>
62
<!-- FIN FORM_NOM -->
63
<!-- FIN FORM_NOM -->