Subversion Repositories Applications.annuaire

Rev

Rev 366 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 366 Rev 428
Line 1... Line 1...
1
<label class="label_champ_annuaire"> <?= $amc_nom ?> : </label>
1
<label class="label_champ_annuaire"> <?= $amc_nom ?> : </label>
2
<select name="select_<?=$amc_id_champ?>" id="select_<?=$amc_id_champ ?>">
2
<select name="select_<?=$amc_id_champ?>" id="select_<?=$amc_id_champ ?>">
3
		<option name="" id="" value=""> ... </option>			
3
		<option name="" id="" value=""> ... </option>			
4
<?php foreach($liste_valeurs as $valeur) : ?>
4
<?php foreach($liste_valeurs as $valeur) : ?>
5
		<option name="option_<?=$valeur['amo_id_ontologie']?>" id="option_<?=$valeur['amo_id_ontologie']?>" value="<?=$valeur['amo_id_ontologie'] ?>" <?php if (isset($valeur_defaut['amv_valeur'])  && $valeur['amo_id_ontologie'] == $valeur_defaut['amv_valeur']) { echo 'selected="selected"'; } ?> > <?=$valeur['amo_nom']?> </option>			
5
		<option name="option_<?=$valeur['amo_id_ontologie']?>" id="option_<?=$valeur['amo_id_ontologie']?>" value="<?=$valeur['amo_id_ontologie'] ?>" <?php if (isset($valeur_defaut['amv_valeur'])  && $valeur['amo_id_ontologie'] == $valeur_defaut['amv_valeur']) { echo 'selected="selected"'; } ?> > <?=$valeur['amo_nom']?> </option>			
6
<?php endforeach; ?>
6
<?php endforeach; ?>
7
</select>
7
</select>
8
<?php if(isset($erreurs[$amc_id_champ])) { ?>
8
<?php if(isset($erreurs[$amc_id_champ])) { ?>
9
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
9
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
10
<?php } ?>
10
<?php } ?>
11
11