X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=7bd7842fa188905e939317ff81076ebda5028a50;hb=30460a05016c7e066ad7b28df7788539e4054a99;hp=26bb53c207227987357280122ed0c2e29aaac5a3;hpb=15d98101f0c2b3cae541e1e8de0f5edfaa820965;p=squirrelmail.git diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php index 26bb53c2..7bd7842f 100644 --- a/plugins/filters/spamoptions.php +++ b/plugins/filters/spamoptions.php @@ -1,39 +1,31 @@ '. - '
'. + '
'. 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;"' ) . @@ -176,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 '

'. @@ -220,4 +212,4 @@ if (isset($action) && $action == 'spam') { echo ''; } ?> - \ No newline at end of file +