les définitions sont des labels !

This commit is contained in:
2025-12-05 16:50:23 +01:00
parent d20e5b1559
commit 8f1e323c8a

View File

@@ -171,7 +171,7 @@ function mot_courant($mots, $position) {
return isset($definition[0]);
});
?>
<li>
<label for="A<?=$y + 1?>"><li>
<?php if (count($definitions)): ?>
<?php if (count($definitions) == 1): ?>
<?= formatter_definition(reset($definitions)) ?>
@@ -185,7 +185,7 @@ function mot_courant($mots, $position) {
</ol>
<?php endif ?>
<?php endif ?>
</li>
</li></label>
<?php endforeach; ?>
</ol>
</div>
@@ -199,7 +199,7 @@ function mot_courant($mots, $position) {
return isset($definition[0]);
});
?>
<li>
<label for="<?=chr($x + 0x41)?>1"><li>
<?php if (count($definitions)): ?>
<?php if (count($definitions) == 1): ?>
<?= formatter_definition(reset($definitions)) ?>
@@ -213,7 +213,7 @@ function mot_courant($mots, $position) {
</ol>
<?php endif ?>
<?php endif ?>
</li>
</li></label>
<?php endforeach; ?>
</ol>
</div>