X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fspamcop%2Foptions.php;h=c16cf61d59f656479aa8d5bd3f4292a424bc45fc;hb=63104486df12af4274511284ea36e9d41318647c;hp=d722d0d55e1354914e23fe15acd610f85e8428ee;hpb=e1728a7ada03ba597fc2f8a800773cb427a711ce;p=squirrelmail.git diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index d722d0d5..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") . '
'; @@ -220,4 +220,4 @@ 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