X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fspamcop%2Foptions.php;h=77a55f54771924c0fe27095e2111a198f42352d8;hb=d887e067a0f745e8dc6eb327069d4189acd61a53;hp=f30987ad46b9a27141c63410a89ddeeb65a203dd;hpb=4b5049de2fa934c45599d6e4c74bf2bbee10d34d;p=squirrelmail.git diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index f30987ad..77a55f54 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -3,7 +3,7 @@ /** * options.php -- SpamCop options page * - * @copyright © 1999-2007 The SquirrelMail Project Team + * @copyright 1999-2010 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")); + + ?> ' . _("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 +