-
Notifications
You must be signed in to change notification settings - Fork 529
Closed
Labels
Milestone
Description
In the code for the Degree of Certainty questions, there's a check on "ensemble" and "résultat" to resize the text. This is a very bad and non-portable idea 😉. What about simply checking for the size of the whole string and reduce it if it is larger than a length of 80 or 100 characters, instead?
See:
chamilo-lms/main/exercise/MultipleAnswerTrueFalseDegreeCertainty.php
Lines 716 to 717 in 6ff87c3
| strpos($title, 'ensemble') > 0 || | |
| strpos($title, 'votre dernier résultat à ce test') > 0 |