Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

<!-- DEBUT FORM_NOM -->
<script type="text/javascript" language="JavaScript" src="<?=$url_js;?>XmlHttpLookup.js"></script>
<form id="ef-form-nomenclature" name="ef-form-nomenclature" action="<?=$url_form;?>" method="get">
        <fieldset>
                <legend><?=$i18n['legende'];?></legend>
                <table>
                        <tr>
                                <?php if ($referentiel_unique == false) : ?>
                                <td>
                                        <label for="eflore_referentiel_select"><?=$i18n['form_referentiel'];?></label>
                                        <select id="eflore_referentiel_select" name="eflore_referentiel" onchange="actualiserUrl();">
                                                <!--<option value="0">Tous</option>-->
                                                <?php foreach ($referentiels as $referentiel) : ?>
                                                <?php if ($referentiel['historique'] == false) : ?>
                                                <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>
                                                <?php endif; ?>
                                                <?php endforeach; ?>
                                        </select>
                                </td>
                                <?php endif; ?>
                                <td>
                                        <label for="eflore_nom"><?=$i18n['form_nom'];?></label>
                                        <input id="eflore_nom" name="eflore_nom" class="champ" size="30" maxlength="255" type="text" autocomplete="off" value="<?=$eflore_nom;?>" />
                                        <?php if ($referentiel_unique == true) : ?>
                                                <input id="eflore_referentiel" name="eflore_referentiel" type="hidden" value="<?=$referentiel_unique_id;?>"/>
                                        <?php endif; ?>
                                </td>
                                <td>
                                        <ul>
                                                <li>
                                                        <input id="eflore_type_nom_scientifique" name="eflore_type_nom" value="nom_scientifique" type="radio" <?=($eflore_type_nom == 'nom_scientifique') ? 'checked="checked"': '';?> />
                                                        <label for="eflore_type_nom_scientifique">nom scientifique</label>
                                                </li>
                                                <li>
                                                        <input id="eflore_type_nom_vernaculaire" name="eflore_type_nom" value="nom_vernaculaire" type="radio" <?=($eflore_type_nom == 'nom_vernaculaire') ? 'checked="checked"': '';?> />
                                                        <label for="eflore_type_nom_vernaculaire" title="(en fran�ais, allemand, anglais, catalan, espagnol, italien ou n�erlandais)">nom commun</label>
                                                </li>
                                        </ul>
                                </td>
                                <td>
                                        <input id="module" name="module" type="hidden" value="recherche" />
                                        <input id="action" name="action" type="hidden" value="recherche_nom" />                                 
                                        <input id="eflore_nomenclature_submit" type="submit" value="OK" />
                                </td>
                        </tr>
                </table>
        </fieldset>
</form>
<script type="text/javascript"language="JavaScript">
<!-- 
        function actualiserUrl() {
                cache = new Object();
                url_referentiel = document.getElementsByName('ef-referentiel').item(0).value;
                url = '<?=$url_completion_prefixe;?>'+url_referentiel+'<?=$url_completion_param;?>';
                return url;
        }
        url = actualiserUrl();
        document.onLoad = InitQueryCode('ef-nom', url, 'ef-type-nom-scientifique');
//--> 
</script>
<?php if ($nom_approche) : ?>
        <p id="efr-ortho-approche"> <span class="erreur"><?=$i18n['orthographe'];?></span><a href="<?=$nom_approche_url;?>"><?=$nom_approche;?></a></p>
<?php endif; ?>
<!-- FIN FORM_NOM -->