Loading src/UnicaenAutoform/View/Helper/partial/result/custom.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use UnicaenAutoform\Entity\Db\Champ; <?php echo $champ->getLibelle(); ?> : <?php $libelles = explode(';',$champ->getOptions()); ?> <?php $size = max(count($libelles), count($splits)); ?> <div> <ul > <?php for($position = 0 ; $position < $size ; $position ++) : ?> <li> Loading @@ -24,4 +25,5 @@ use UnicaenAutoform\Entity\Db\Champ; </li> <?php endfor; ?> </ul> </div> <?php endif; ?> src/UnicaenAutoform/View/Helper/partial/result/plus_custom.phtml +19 −14 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $nbFields = count($fields); $libelles = []; foreach ($fields as $field) { $liste = explode('|',$field); $libelles[] = $liste[1]; $libelles[] = $liste[1]??"Aucun·e"; } $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); Loading @@ -20,6 +20,9 @@ $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); ?> <?php echo $champ->getLibelle(); ?> : <?php if (empty($reponses) OR str_replace(";","",$reponses[0]) === "") : ?> aucun·e <?php else : ?> <?php foreach ($reponses as $reponse) : ?> <ul> <?php if ($data !== 'null') : ?> Loading @@ -32,4 +35,6 @@ $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); <?php endforeach; ?> <?php endif; ?> </ul> <br> <?php endforeach; ?> <?php endif; ?> src/UnicaenAutoform/View/Helper/partial/text/custom.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ use UnicaenAutoform\Entity\Db\Champ; <?php echo $champ->getLibelle(); ?> : <?php echo $libelles = explode(';',$champ->getOptions()); ?> <?php $size = max(count($libelles), count($splits)); ?> <ul> <ul srt> <?php for($position = 0 ; $position < $size ; $position ++) : ?> <li> <?php $sub = explode("|", $libelles[$position]); ?> Loading Loading
src/UnicaenAutoform/View/Helper/partial/result/custom.phtml +3 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use UnicaenAutoform\Entity\Db\Champ; <?php echo $champ->getLibelle(); ?> : <?php $libelles = explode(';',$champ->getOptions()); ?> <?php $size = max(count($libelles), count($splits)); ?> <div> <ul > <?php for($position = 0 ; $position < $size ; $position ++) : ?> <li> Loading @@ -24,4 +25,5 @@ use UnicaenAutoform\Entity\Db\Champ; </li> <?php endfor; ?> </ul> </div> <?php endif; ?>
src/UnicaenAutoform/View/Helper/partial/result/plus_custom.phtml +19 −14 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $nbFields = count($fields); $libelles = []; foreach ($fields as $field) { $liste = explode('|',$field); $libelles[] = $liste[1]; $libelles[] = $liste[1]??"Aucun·e"; } $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); Loading @@ -20,6 +20,9 @@ $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); ?> <?php echo $champ->getLibelle(); ?> : <?php if (empty($reponses) OR str_replace(";","",$reponses[0]) === "") : ?> aucun·e <?php else : ?> <?php foreach ($reponses as $reponse) : ?> <ul> <?php if ($data !== 'null') : ?> Loading @@ -32,4 +35,6 @@ $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data); <?php endforeach; ?> <?php endif; ?> </ul> <br> <?php endforeach; ?> <?php endif; ?>
src/UnicaenAutoform/View/Helper/partial/text/custom.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ use UnicaenAutoform\Entity\Db\Champ; <?php echo $champ->getLibelle(); ?> : <?php echo $libelles = explode(';',$champ->getOptions()); ?> <?php $size = max(count($libelles), count($splits)); ?> <ul> <ul srt> <?php for($position = 0 ; $position < $size ; $position ++) : ?> <li> <?php $sub = explode("|", $libelles[$position]); ?> Loading