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