Subversion Repositories Applications.annuaire

Rev

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

Rev 8 Rev 21
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
	<option name="option_0" id="option_0" value="0" <?php if (!isset($valeur_defaut['amv_valeur'])) { echo 'selected="selected"'; } ?>" > ...  </option>
3
<?php foreach($liste_valeurs as $valeur) : ?>
4
<?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']?>" > <?=$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>			
5
<?php endforeach; ?>
6
<?php endforeach; ?>
6
</select>
7
</select>
7
8