forked from ZwiiCMS-Team/ZwiiCMS
Suppression de commentaires
This commit is contained in:
parent
0f490a4d61
commit
ef0e40af72
@ -2940,11 +2940,6 @@ class template {
|
|||||||
$html .= sprintf('<select %s>',
|
$html .= sprintf('<select %s>',
|
||||||
helper::sprintAttributes($attributes)
|
helper::sprintAttributes($attributes)
|
||||||
);
|
);
|
||||||
// Options
|
|
||||||
// Quand selected vaut 0, afficher une sélection vide
|
|
||||||
//if ($attributes['selected'] === 0) {
|
|
||||||
// $html .= sprintf('<option value=""></option>');
|
|
||||||
//}
|
|
||||||
foreach($options as $value => $text) {
|
foreach($options as $value => $text) {
|
||||||
$html .= sprintf(
|
$html .= sprintf(
|
||||||
'<option value="%s"%s>%s</option>',
|
'<option value="%s"%s>%s</option>',
|
||||||
|
Loading…
Reference in New Issue
Block a user