X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fspamcop%2Foptions.php;h=2d0d839f8c2000efa93f94714dc4363952bdd23c;hp=aba95c89069d144774d16d13ffb86878ca28a98c;hb=9ae70b623b5bda18ee4b60d9481d49d057b2f508;hpb=13a35bdeef5951587933be3dc25d8eec2fc1f3b4 diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index aba95c89..2d0d839f 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -3,7 +3,7 @@ /** * options.php -- SpamCop options page * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2014 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -18,7 +18,7 @@ require('../../include/init.php'); /* plugin functions */ include_once(SM_PATH . 'plugins/spamcop/functions.php'); -displayPageHeader($color, 'None'); +displayPageHeader($color); /** is spamcop plugin disabled */ // option changes do nothing, if read_body_header_right hook is not active. @@ -117,19 +117,19 @@ spamcop_load_function(); echo ">"._("Quick email-based reporting"); echo ''; } - ?> - - + $selected = ''; + if ($spamcop_method == 'thorough_email') { + $selected = ' selected'; + } + echo sprintf(' ',$selected, _("Through email-based reporting")); + + $selected = ''; + if ($spamcop_method == 'web_form') { + $selected = ' selected'; + } + echo sprintf(' ', $selected, _("Web-based form")); + + ?> (' . _("see below") . ')','right','','valign="top"'); ?>
- + \n"; @@ -194,4 +194,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 +