Subversion Repositories Applications.annuaire

Rev

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

Rev 133 Rev 166
Line 1... Line 1...
1
<label style="display:inline;"> <?= $amc_nom ?> : </label>
1
<label style="display:inline;"> <?= $amc_nom ?> : </label>
2
<?php if (isset($liste_valeurs)) { ?>
2
<?php if (isset($liste_valeurs)) { ?>
3
	<?php foreach($liste_valeurs as $valeur) : ?>
3
	<?php foreach($liste_valeurs as $valeur) : ?>
4
		<span class="checkbox_alignee" style="margin-right:20px">
4
		<span class="checkbox_alignee" >
5
			<input style="margin-right:2px" type="checkbox" name="checkbox_<?=$amc_id_champ.'['.$valeur['amo_id_ontologie'].']' ?>" id="checkbox_<?=$amc_id_champ.'['.$valeur['amo_id_ontologie'].']' ?>" <?php  if ((isset($valeur_defaut['amv_valeur']) && ((is_array($valeur_defaut['amv_valeur'])  
5
			<input class="groupe_checkbox" type="checkbox" name="checkbox_<?=$amc_id_champ.'['.$valeur['amo_id_ontologie'].']' ?>" id="checkbox_<?=$amc_id_champ.'['.$valeur['amo_id_ontologie'].']' ?>" <?php  if ((isset($valeur_defaut['amv_valeur']) && ((is_array($valeur_defaut['amv_valeur'])  
6
																																																				&& in_array($valeur['amo_id_ontologie'],$valeur_defaut['amv_valeur'])) || ($valeur['amo_id_ontologie'] == $valeur_defaut['amv_valeur'])))) { echo 'checked="checked"'; } ?> />	
6
																																																				&& in_array($valeur['amo_id_ontologie'],$valeur_defaut['amv_valeur'])) || ($valeur['amo_id_ontologie'] == $valeur_defaut['amv_valeur'])))) { echo 'checked="checked"'; } ?> />	
7
			<label class="label_groupe_checkbox" style="display:inline;" name="checkbox_<?=$amc_id_champ ?>"
7
			<label class="label_groupe_checkbox" name="checkbox_<?=$amc_id_champ ?>"
8
			for="checkbox_<?=$valeur['amo_id_ontologie'] ?>"><?=$valeur['amo_nom'] ?></label>
8
			for="checkbox_<?=$valeur['amo_id_ontologie'] ?>"><?=$valeur['amo_nom'] ?></label>
9
		</span>
9
		</span>
10
	<?php endforeach; ?>
10
	<?php endforeach; ?>
11
<?php } else { ?>
11
<?php } else { ?>
12
	</label> <input style="margin-right:2px;display:inline;" type="checkbox" <?php if (isset($valeur_defaut) && $valeur_defaut['amv_valeur'] == '1') { echo "checked=checked"; } ?> name="checkbox_<?=$amc_id_champ ?>" id="checkbox_<?=$amc_id_champ ?>" />	
12
	</label> <input class="label_checkbox" type="checkbox" <?php if (isset($valeur_defaut) && $valeur_defaut['amv_valeur'] == '1') { echo "checked=checked"; } ?> name="checkbox_<?=$amc_id_champ ?>" id="checkbox_<?=$amc_id_champ ?>" />	
13
<?php } ?>
13
<?php } ?>
14
<input type="hidden" name="checkbox_hidden_<?=$amc_id_champ ?>" id="checkbox_hidden_<?=$amc_id_champ ?>" value="checkbox_hidden_<?=$amc_id_champ ?>" />
14
<input type="hidden" name="checkbox_hidden_<?=$amc_id_champ ?>" id="checkbox_hidden_<?=$amc_id_champ ?>" value="checkbox_hidden_<?=$amc_id_champ ?>" />
15
<?php if(isset($erreurs[$amc_id_champ])) { ?>
15
<?php if(isset($erreurs[$amc_id_champ])) { ?>
16
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
16
		<div style="color:#FF0000"> <?= $erreurs[$amc_id_champ] ?> </div>
17
<?php } ?>
17
<?php } ?>
18
18