Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1301 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!-- DEBUT FORM_NOM -->
<script type="text/javascript">
<!--
        var AUTOCOMPLETION_ELEMENTS_NBRE = 50;
        var URL_SERVICE_AUTOCOMPLETION_NOM_SCI = "<?=$url_base_completion_noms_sci?>";
        var URL_SERVICE_AUTOCOMPLETION_NOM_VERNA = "<?=$url_base_completion_noms_verna?>";
        var VALEUR_DEFAUT_NOM_SCI = "<?= $i18n['valeur-form-nom-sci']; ?>";
        var VALEUR_DEFAUT_NOM_VERNA = "<?= $i18n['valeur-form-nom-verna']; ?>";
        var VALEUR_DEFAUT_AU = "<?=$i18n['valeur-form-auteur']?>";
        var VALEUR_DEFAUT_BIB = "<?=$i18n['valeur-form-bib']?>";
        var VALEUR_DEFAUT_DATE = "<?=$i18n['valeur-form-date']?>";
        var URL_BASE_FICHE_TAXON = "<?=$url_base_fiche_taxon?>";
        var URL_BASE_POPUP = "<?=Config::get('base_url_application_popup');?>";
        var REFERENTIEL = "<?= Registre::get('parametres.referentiel');?>";
        
 // -->
</script>
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
        <fieldset>
                <span class="zone-choix-type-nom">
                        <?php if (isset($nom_verna)) { ?>
                            <span class="type-nom">
                                        <input id="type_nom_scientifique" name="type_nom" value="nom_scientifique" type="radio" <?=($type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
                                        <label for="type_nom_scientifique"><?=$i18n['ns'];?></label>
                                </span>
                                <span class="type-nom">
                                        <input id="type_nom_vernaculaire" name="type_nom" value="nom_vernaculaire" type="radio" <?=($type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
                                        <label for="type_nom_vernaculaire" title="(en français, allemand, anglais, catalan, espagnol, italien ou néerlandais)"><?=$i18n['nv'];?></label>
                                </span>
                        <?php } else {?>
                                <input id="type-nom-scientifique" name="type_nom" type="hidden" value="nom_scientifique" />
                                <?=$i18n['ns'];?>
                        <?php } ?>
                </span>
                <input id="nom" name="nom" class="champ" size="30" maxlength="255" type="text" <?php if(isset($nom)) echo 'value="'.$nom.'"';?> />
                <span id="zone-liens-recherche">
                        <input id="eflore_nomenclature_referentiel" name="referentiel" type="hidden" value="<?=Registre::get('parametres.referentiel')?>" />
                        <input id="eflore_nomenclature_niveau" name="niveau" type="hidden" value="<?=Registre::get('parametres.niveau')?>" />
                        <input id="eflore_nomenclature_module" name="module" type="hidden" value="recherche" />
                        <input id="eflore_nomenclature_action" name="action" type="hidden" value="rechercheSimple" />
                        <input id="eflore_nomenclature_submit" name="submit" type="submit" value="<?=$i18n['recherche'];?>" class="ok"/>
                        <input id="eflore_nomenclature_fiche" name="acces_fiche" type="submit" value="<?=$i18n['fiche'];?>" />
                </span>
        </fieldset>
</form>


<?php if (isset($message)) : ?>
        <p class="<?= (isset($message['attention'])) ? 'attention' : 'information'; ?>">
                <?= (isset($message['attention'])) ? $i18n[$message['attention']] : ''; ?>
                <?= (isset($message['nom_ss_corresp'])) ? $message['nom_ss_corresp']['nom'].$i18n['nom_ss_corresp'].
                                '<a href="http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtfx&module=FicheTaxon&num_nom='.$message['nom_ss_corresp']['id'].'">'.
                                $i18n['reftax'].'</a>' : ''; ?>
                <?php if (isset($message['nom_approche'])) : ?>
                        <?=$i18n['orthographe'];?>
                        <?php foreach ($message['nom_approche'] as $cle => $nom) :?>
                                <a href="<?=$nom['url_nom_approche']?>"><?=$nom['nom'];?></a>
                                <?= (isset($message['nom_approche'][$cle+1]['nom'])) ? ' ou ' : ''; ?>
                        <?php endforeach; ?>
                <?php endif; ?>
        </p>
<?php endif; ?>
<!-- FIN FORM_NOM -->