diff --git a/core/class/template.class.php b/core/class/template.class.php index 68dbfb3..9ce3ca4 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -684,7 +684,8 @@ class template 'label' => '', 'name' => $nameId, 'selected' => '', - 'font' => [] + 'font' => [], + 'multiple' => false ], $attributes); // Traduction de l'aide et de l'étiquette $attributes['label'] = helper::translate($attributes['label']); @@ -713,6 +714,11 @@ class template $attributes['class'] .= ' notice'; } $html .= self::notice($attributes['id'], $notice); + // Attribut multiple + if ($attributes['multiple'] === true) { + echo "ppp"; + $attributes['multiple'] = 'multiple'; + } // Début sélection $html .= sprintf( '