correction liste définition en cas de ligne sans définition
This commit is contained in:
@@ -191,7 +191,7 @@ function definition_courante($definitions, $position) {
|
|||||||
<?php if (count($definitions)): ?>
|
<?php if (count($definitions)): ?>
|
||||||
<?php if (count($definitions) == 1): ?>
|
<?php if (count($definitions) == 1): ?>
|
||||||
<?php foreach ($definitions as $id => $definition): ?>
|
<?php foreach ($definitions as $id => $definition): ?>
|
||||||
<li id="<?= "dh-$y-$id" ?>"><label for="case-A<?= $y + 1 ?>"><?= formatter_definition($definition) ?></label></li>
|
<li id="<?= "dh-$y-$id" ?>"><label for="case-A<?= $y + 1 ?>"><?= formatter_definition($definition) ?></label></li>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<li>
|
<li>
|
||||||
@@ -204,6 +204,8 @@ function definition_courante($definitions, $position) {
|
|||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<?php else: ?>
|
||||||
|
<li></li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</ol>
|
</ol>
|
||||||
@@ -232,6 +234,8 @@ function definition_courante($definitions, $position) {
|
|||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<?php else: ?>
|
||||||
|
<li></li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user