forked from ZwiiCMS-Team/ZwiiCampus
template select multiple
This commit is contained in:
parent
06f74c1be7
commit
0e9fcf4148
@ -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(
|
||||
'<select %s>',
|
||||
|
Loading…
Reference in New Issue
Block a user