From c4b810ec0179882dc3d090ea1b3e3608d823a211 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 12 Oct 2023 18:36:31 +0200 Subject: [PATCH] captcha taille operateur --- core/class/template.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/class/template.class.php b/core/class/template.class.php index c485d64..68dbfb3 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -93,19 +93,19 @@ class template // Icône de l'opérateur et calcul du résultat switch ($operator) { case 1: - $operator = template::ico('plus'); + $operator = template::ico('plus', ['fontSize' => '2em;']); $result = $firstNumber + $secondNumber; break; case 2: - $operator = template::ico('minus'); + $operator = template::ico('minus', ['fontSize' => '2em;']); $result = $firstNumber - $secondNumber; break; case 3: - $operator = template::ico('cancel'); + $operator = template::ico('cancel', ['fontSize' => '2em;']); $result = $firstNumber * $secondNumber; break; case 4: - $operator = template::ico('divide'); + $operator = template::ico('divide', ['fontSize' => '2em;']); $limit2 = [10, 10, 6, 5, 4, 3, 2, 2, 2, 2]; for ($i = 1; $i <= $firstNumber; $i++) { $limit = $limit2[$i - 1]; @@ -134,7 +134,7 @@ class template // Label $html .= self::label( $attributes['id'], - ' ' . $operator . ' ' . template::ico('eq'), + ' ' . $operator . ' ' . template::ico('eq', ['fontSize' => '2em;']), [ 'help' => $attributes['help'] ]