Subversion Repositories Applications.annuaire

Rev

Rev 24 | Rev 255 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24 Rev 219
Line 1... Line 1...
1
<label style="display:inline;"> <?= $amc_nom ?> : </label>
1
<label style="display:inline;"> <?= $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
<?php foreach($liste_valeurs as $valeur) : ?>
3
<?php foreach($liste_valeurs as $valeur) : ?>
4
		<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>			
4
		<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
<?php endforeach; ?>
5
<?php endforeach; ?>
6
</select>
6
</select>
7
<?php if(isset($erreurs[$amc_id_champ])) { ?>
7
<?php if(isset($erreurs[$amc_id_champ])) { ?>
8
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
8
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
9
<?php } ?>
9
<?php } ?>
10
10