X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=bcef8e51addffabfce244b1c75aba5bdb9f4ef8a;hb=4b5049de2fa934c45599d6e4c74bf2bbee10d34d;hp=c2ab0b0ca18a7863e996ef9240545d51ad73b051;hpb=e5c8ec611295a8f30f40049612af9b9c198d6075;p=squirrelmail.git
diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php
index c2ab0b0c..bcef8e51 100644
--- a/plugins/filters/spamoptions.php
+++ b/plugins/filters/spamoptions.php
@@ -1,29 +1,25 @@
'.
- '
'.
+ ''.
html_tag( 'table', '', '', '', 'width="85%" border="0" cellpadding="2" cellspacing="0"' ) .
html_tag( 'tr' ) .
html_tag( 'th', _("Move spam to:"), 'right', '', 'style="white-space: nowrap;"' ) .
@@ -172,14 +168,14 @@ if (isset($action) && $action == 'spam') {
html_tag( 'td', '', 'center', '', 'colspan="2"' )
) . "\n" .
''.
- ''.
+ '
'.
'';
} else {
// action is not set or action is not spam
echo html_tag( 'p', '', 'center' ) .
'[' . _("Edit") . ']' .
- ' - [' . _("Done") . ']
';
- printf( _("Spam is sent to %s."), ($filters_spam_folder?''.imap_utf7_decode_local($filters_spam_folder).'':'['._("not set yet").']' ) );
+ ' - [' . _("Done") . ']
';
+ printf( _("Spam is sent to %s."), ($filters_spam_folder?''.htmlspecialchars(imap_utf7_decode_local($filters_spam_folder)).'':'['._("not set yet").']' ) );
echo '
';
printf( _("Spam scan is limited to %s."), '' . ( ($filters_spam_scan == 'new')?_("Unread messages only"):_("All messages") ) . '' );
echo ''.
@@ -216,4 +212,4 @@ if (isset($action) && $action == 'spam') {
echo '';
}
?>
-