Subversion Repositories Applications.annuaire

Rev

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

<div class="formulaire_annuaire_admin">
<h2>Ajout 

<?php if($amo_ce_parent == 0) { ?> 
        d'une nouvelle liste d'ontologie</h2>
<?php } else { ?>
        d'un nouvel élement</h2>
<?php } ?>      
<form method="post" action="<?php $url_form = clone($base_url); 
                                $url_form->setVariableRequete('m','liste_ontologie_ajout'); 
                                echo $url_form; ?>">
        <label for="amo_nom">Nom <?php if($amo_ce_parent == 0) { ?> 
                                                                de la liste </label>
                                                         <?php } else { ?>
                                                                de l'élement</label>
                                                         <?php } ?>     
        <textarea class="champ_nom" name="amo_nom" id="amo_nom"><?= $amo_nom ?></textarea>
        <br />
        <label for="amo_abreviation">Abr&eacute;viation</label>
        <input type="text" name="amo_abreviation" id="amo_abreviation" value="<?=$amo_abreviation ?>" />
        <br />
        <label for="amo_description">Description</label>
        <textarea name="amo_description" id="amo_description" ><?=$amo_description ?></textarea>
        <br />
        <input type="hidden" name="amo_ce_parent" value="<?=$amo_ce_parent ?>"/>
        
        <input type="submit" value="OK"> <a href="<?php $url_detail = clone($base_url); 
                                $url_detail->setVariableRequete('m','liste_ontologie'); 
                                $url_detail->setVariableRequete('id_liste','0'); 
                                echo $url_detail; ?>"> Annuler </a>             
</form>
<?php if (isset($erreurs['supp'])): ?>
<span class="symbole_obligatoire"> <?=$erreurs['supp'];?> </span>
<?php endif; ?>
</div>