premiére beta affichage des critères.
This commit is contained in:
parent
9c860a1f1f
commit
ad3c39fcfc
@ -6,10 +6,16 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td valign="top" style="width:150px"><b style="text-decoration: underline"><?php echo $critere;?></b></td>
|
<td valign="top" style="width:150px"><b style="text-decoration: underline"><?php echo $critere;?></b></td>
|
||||||
<td>
|
<td>
|
||||||
<?php if(is_array($valeur)):?>
|
<?php if(is_array($valeur)):
|
||||||
|
$label = $this->field->get($critere);
|
||||||
|
?>
|
||||||
<?php $i=0; foreach ($valeur as $val):?>
|
<?php $i=0; foreach ($valeur as $val):?>
|
||||||
<b><?php echo $val?></b> <?php (($i%3 == 0)?'<br />':''); $i++;?>
|
<?php if($label['type'] != 'textarea' and $label['type'] != 'interval') :?>
|
||||||
<?php endforeach;?>
|
<b><?php echo $label['fields'][$label['type']]['value'][$val];?></b> <?php (($i%3 == 0)?'<br />':''); $i++;?>
|
||||||
|
<?php else :?>
|
||||||
|
<b><?php echo $val;?></b>
|
||||||
|
<?php endif;?>
|
||||||
|
<?php endforeach;?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<b><?php echo $val;?></b>
|
<b><?php echo $val;?></b>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user