[10.0.036.dev] fix aperçu des polices
This commit is contained in:
parent
0d15efd316
commit
8bc15e54f3
@ -543,7 +543,7 @@ class template {
|
|||||||
$html .= $attributes['fonts'] === true ? sprintf(
|
$html .= $attributes['fonts'] === true ? sprintf(
|
||||||
'<option value="%s"%s style="font-family: %s;">%s</option>',
|
'<option value="%s"%s style="font-family: %s;">%s</option>',
|
||||||
$value,
|
$value,
|
||||||
$attributes['selected'] == str_replace('+',' ',$value) ? ' selected' : '', // Double == pour ignorer le type de variable car $_POST change les types en string
|
$attributes['selected'] == $value ? ' selected' : '', // Double == pour ignorer le type de variable car $_POST change les types en string
|
||||||
str_replace('+',' ',$value),
|
str_replace('+',' ',$value),
|
||||||
$text
|
$text
|
||||||
) : sprintf(
|
) : sprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user