X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=include%2Foptions%2Fdisplay.php;fp=include%2Foptions%2Fdisplay.php;h=ef11c50ea557ea36a384e9b080b01c5238bd31cf;hp=d2e82c2a31f74075e774d6cfce4ef1aa04463065;hb=3047e291f2982efe9501ec790faafd3da843d22d;hpb=ffa9cc0ed8a813c3009a2aa03cde7f883f4bed32 diff --git a/include/options/display.php b/include/options/display.php index d2e82c2a..ef11c50e 100644 --- a/include/options/display.php +++ b/include/options/display.php @@ -82,14 +82,14 @@ function load_optpage_data_display() { $template_themes = $oTemplate->get_alternative_stylesheets(true); asort($template_themes); foreach ($template_themes as $sheet=>$name) { - $theme_values[$sheet] = 'Template Theme - '.htmlspecialchars($name); + $theme_values[$sheet] = 'Template Theme - '.sm_encode_html_special_chars($name); } // Next, list user-provided styles asort($user_themes); foreach ($user_themes as $style) { if ($style['PATH'] == 'none') continue; - $theme_values[$style['PATH']] = 'User Theme - '.htmlspecialchars($style['NAME']); + $theme_values[$style['PATH']] = 'User Theme - '.sm_encode_html_special_chars($style['NAME']); } if (count($user_themes) + count($template_themes) > 1) {