X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=b4977941ce7b39f1e7d12af42109b634140dd574;hb=2df7b3ba92e26f6570dfdeaae9a78d5fdb01fd23;hp=583c7211138d22e08a51e7d771caafeb936fb0e9;hpb=91e0dccca7b2452d8b450791cae3aa4125e8889e;p=squirrelmail.git diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php index 583c7211..b4977941 100644 --- a/plugins/filters/spamoptions.php +++ b/plugins/filters/spamoptions.php @@ -1,26 +1,11 @@ '. - '
'. + '
'. html_tag( 'table', '', '', '', 'width="85%" border="0" cellpadding="2" cellspacing="0"' ) . html_tag( 'tr' ) . - html_tag( 'th', _("Move spam to:"), 'right', '', 'nowrap' ) . + html_tag( 'th', _("Move spam to:"), 'right', '', 'style="white-space: nowrap;"' ) . html_tag( 'td', '', 'left' ) . ''. '
'. + ''. ''; } 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 '

'.