X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fspamcop%2Foptions.php;h=c16cf61d59f656479aa8d5bd3f4292a424bc45fc;hb=63104486df12af4274511284ea36e9d41318647c;hp=31d17ac133847c0965ee1f609311aacbe6b8b3c5;hpb=43404bdc46f6fa524bf5ec308a997393ce10d812;p=squirrelmail.git diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index 31d17ac1..c16cf61d 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -3,7 +3,7 @@ /** * options.php -- SpamCop options page * - * @copyright (c) 1999-2004 The SquirrelMail development team + * @copyright (c) 1999-2005 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -21,16 +21,16 @@ require_once(SM_PATH . 'include/validate.php'); * @access private */ function spamcop_enable_disable($option,$disable_action,$enable_action) { - if ($option) { - $ret= _("Enabled") . "(" . _("Disable it") . ")\n"; + if ($option) { + $ret= _("Enabled") . "(" . _("Disable it") . ")\n"; } else { - $ret = _("Disabled") . "(" . _("Enable it") . ")\n"; + $ret = _("Disabled") . "(" . _("Enable it") . ")\n"; } return $ret; } displayPageHeader($color, 'None'); - + /* globals */ sqgetGlobalVar('action', $action); sqgetGlobalVar('meth', $meth); @@ -64,7 +64,7 @@ switch ($action) { if (isset($type)) { setPref($data_dir, $username, 'spamcop_type', $type); } - break; + break; case 'save_id': if (isset($ID)) { $ID = trim($ID); @@ -82,100 +82,100 @@ spamcop_load();
-
- -
+
+ +

- + - - + + + + \n" . + '(' . _("Only works with email-based reporting") . ')', + 'right','','valign="top"'); + echo html_tag('td', spamcop_enable_disable($spamcop_delete,'save','delete'),'','','valign="top"'); + ?> + + + + + + + + + - \n" . - '(' . _("Only works with email-based reporting") . ')', - 'right','','valign="top"'); - echo html_tag('td', spamcop_enable_disable($spamcop_delete,'save','delete'),'','','valign="top"'); - ?> - - - - - - - - - - - " . - '(' . _("see below") . ')','right','','valign="top"'); - ?> - - + " . + '(' . _("see below") . ')','right','','valign="top"'); + ?> + +
+
+ + + \n"; + ?> +
+
+ + ' . + '\n"; + ?> +
-
- - - \n"; - ?> -
-
- - ' . - '\n"; - ?> -
- - - \n"; - ?> -
+ + + \n"; + ?> +
' . _("About SpamCop") . '
'; @@ -213,11 +213,11 @@ echo _("The SpamCop service will display information as it finds it, so scroll d echo "

\n"; echo '

' . _("SpamCop service type") . '
'; -echo _("Service type option allows selecting which spamcop services you are using. Member services use different web reporting forms and does not display nags. You can purchase these services, if you want to support SpamCop."); +echo _("Service type option allows selecting which SpamCop services you are using. Member services use different web reporting forms and does not display nags. You can purchase these services, if you want to support SpamCop."); echo "

\n"; echo '

' . _("More information") . '
'; printf(_("For more information about SpamCop, it's services, spam in general, and many related topics, try reading through SpamCop's %sHelp and Feedback%s section."), '', ''); echo "

\n"; ?> - + \ No newline at end of file