Subversion Repositories Applications.annuaire

Rev

Rev 166 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<h2>Ajout d'un nouveau champ de mappage à l'annuaire</h2>
<form method="post" action="<?php $url_form = clone($base_url); 
                                $url_form->setVariableRequete('m','mappage_ajout'); 
                                echo $url_form; ?>">
        <label for="amo_nom">Nom du champ dans l'annuaire mappé</label>
        <textarea class="champ_nom" name="amc_nom" id="amc_nom"> <?=$valeur['amc_nom'] ?> </textarea>
        <br />
        <label for="amc_ce_type_affichage">Role du champ</label>
        <select id="amc_ce_type_affichage" name="amc_ce_type_affichage">
                <option value=""> Aucun </option>
                <option value="champ_id">  </option>
                <option value="champ_nom">  </option>
                <option value="champ_prenom">  </option>
                <option value="champ_mail">  </option>
                <option value="champ_pays">  </option>
                <option value="champ_code_postal">  </option>
                <option value="champ_adresse">  </option>
                <option value="champ_adresse_comp">  </option>
        </select>
        <br />
        <label for="amc_ce_ontologie">Fait partie de la liste</label>
        <select id="amc_ce_ontologie" name="amc_ce_ontologie">
                <option value="0"> Aucune </option>
        <?php foreach($listes as $liste) : ?>
                <option value="<?=$liste['amo_id_ontologie']?>"> <?=$liste['amo_nom'] ?> </option>
        <?php endforeach; ?>
        </select>
        <br />
        <label for="amo_abreviation">Abréviation</label>
        <input type="text" name="amc_abreviation" id="amc_abreviation" value="<?=$valeur['amc_abreviation'] ?>" />
        <br />
        <label for="amo_description">Description</label>
        <textarea name="amc_description" id="amc_description"><?=$valeur['amc_description'] ?></textarea>
        <br />
        <input type="hidden" name="amc_ce_annuaire" value="<?=$valeur['amc_ce_annuaire'] ?>"/>
        
        <input type="submit" value="OK" /> <a href="<?=$base_url ?>"> Annuler </a>      
</form>
<?php if (isset($erreurs['supp'])): ?>
<span class="symbole_obligatoire"> <?=$erreurs['supp'];?> </span>
<?php endif; ?></html>