X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Finfo%2Foptions.php;h=13328239ebf8e4bf13f5881959a73d9b75d2fdc6;hb=821d1f1424ce74d60ae3b6e357a148658f17424e;hp=278e22c20dae61a13843f456c2f97bee4190f3d2;hpb=6e515418431c0a99f10705da21366fe7093f95b6;p=squirrelmail.git diff --git a/plugins/info/options.php b/plugins/info/options.php index 278e22c2..13328239 100644 --- a/plugins/info/options.php +++ b/plugins/info/options.php @@ -6,7 +6,7 @@ * This is where it all happens :) * * @author Jason Munro - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2012 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -26,7 +26,7 @@ require_once(SM_PATH . 'plugins/info/functions.php'); global $username, $color, $folder_prefix, $default_charset; $default_charset = strtoupper($default_charset); -displayPageHeader($color, 'None'); +displayPageHeader($color); $mailbox = 'INBOX'; /** @@ -75,7 +75,7 @@ echo '
'._("IMAP server information")." "
\n"; foreach($caps_array[0] as $value) { - echo htmlspecialchars($value); + echo sm_encode_html_special_chars($value); } echo "\n"; @@ -92,8 +92,8 @@ if (!isset($submit) || $submit == 'default') { } } else { - echo 'folder_prefix = ' . htmlspecialchars($folder_prefix)."
\n" . - 'default_charset = '.htmlspecialchars($default_charset)."\n"; + echo 'folder_prefix = ' . sm_encode_html_special_chars($folder_prefix)."
\n" . + 'default_charset = '.sm_encode_html_special_chars($default_charset)."\n"; } echo "

\n";