correction des bugs d'affichages
This commit is contained in:
parent
82fd8a3fae
commit
b0ba3c25ba
@ -33,10 +33,18 @@ a
|
||||
<td>
|
||||
<?php if(is_array($valeur)):?>
|
||||
<?php $i=0; foreach ($valeur as $val):?>
|
||||
<?php if($label['type'] != 'textarea' and $label['type'] != 'interval') :?>
|
||||
<?php if($label['type'] != 'textarea' and $label['type'] != 'interval' and $label['type'] != 'intervalSelect') :?>
|
||||
<?php echo $label['fields'][$label['type']]['value'][$val];?> <?php (($i%3 == 0)?'<br />':''); $i++;?>
|
||||
<?php else :?>
|
||||
<?php echo $val;?>,
|
||||
<?php
|
||||
if($label['type'] == 'interval') {
|
||||
if(empty($val)) {
|
||||
echo '-';
|
||||
} else
|
||||
echo $val;
|
||||
} else
|
||||
echo $val.', ';
|
||||
?>
|
||||
<?php endif;?>
|
||||
<?php endforeach;?>
|
||||
<?php else: ?>
|
||||
|
Loading…
Reference in New Issue
Block a user