X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=16b25835a824fbf49fc3f846c4663bb6787e5bba;hp=5b3a09f3735834b45533162d0d179de3e4435844;hb=fb0bcfdbbcbd1bfb5e8183c4b48b0ef184d21dbb;hpb=0a1dc88e11c9c6b1734eaa35849e3476dc425c6d
diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php
index 5b3a09f3..16b25835 100644
--- a/plugins/filters/spamoptions.php
+++ b/plugins/filters/spamoptions.php
@@ -1,74 +1,49 @@
$Value) {
@@ -94,7 +69,7 @@ echo html_tag( 'table',
if ($SpamFilters_YourHop == ' ') {
echo '
' .
html_tag( 'div', '' .
- sprintf(_("WARNING! Tell your admin to set the %s variable"),'SpamFilters_YourHop') .
+ sprintf(_("WARNING! Tell the administrator to set the %s variable."), '"SpamFilters_YourHop"') .
'' ,
'center' ) .
'
';
@@ -102,7 +77,7 @@ if ($SpamFilters_YourHop == ' ') {
if (isset($action) && $action == 'spam') {
- $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
+ $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);
$boxes = sqimap_mailbox_list($imapConnection);
sqimap_logout($imapConnection);
$numboxes = count($boxes);
@@ -116,10 +91,10 @@ if (isset($action) && $action == 'spam') {
}
echo '