X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=1ff4b48760adf013c9628b0541dcf50ffac9271a;hp=b8d71946d902f3e7c8cc950e719b49140b02a85a;hb=e7d5ff29db69101e42cd491d2fa42d4f83cd35a4;hpb=5e2e38954c46c4897499e7ce16654e8de5b15b52 diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php index b8d71946..1ff4b487 100644 --- a/plugins/filters/spamoptions.php +++ b/plugins/filters/spamoptions.php @@ -1,183 +1,216 @@ $Value) { - $input = $spam_filters[$Key]['prefname'] . '_set'; - setPref($data_dir, $username, $spam_filters[$Key]['prefname'], - $$input); - } - } - - $filters_spam_folder = getPref($data_dir, $username, 'filters_spam_folder'); - $filters_spam_scan = getPref($data_dir, $username, 'filters_spam_scan'); - $filters = load_filters(); - - echo "
' . _("Spam Filtering") . ' |
---|
[' . _("Edit") . ']' .
- ' - [' . _("Done") . ']
';
- printf( _("Spam is sent to %s"), ($filters_spam_folder?$filters_spam_folder:_("[not set yet]") ) );
- echo '
';
- printf( _("Spam scan is limited to %s"), (($filters_spam_scan == 'new')?_("New Messages Only"):_("All Messages") ) );
- echo '
'; - - if ($spam_filters[$Key]['enabled']) { - echo _("ON"); - } else { - echo _("OFF"); - } - - echo ' | - | '; - - if ($spam_filters[$Key]['link']) { - echo ''; - } - - echo $spam_filters[$Key]['name']; - if ($spam_filters[$Key]['link']) { - echo ''; - } - echo " |
---|