X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fspamcop%2Foptions.php;h=e13e7e275e817f63762b0df044227f2366641546;hb=22387c8d44f3ab104db6e19180d3775a45762359;hp=55e9c0454741d38dd9163cef64ebafdee5edf49d;hpb=1977ab5587905d225c6288141b82f7a6e3d29d02;p=squirrelmail.git diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index 55e9c045..e13e7e27 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -3,7 +3,7 @@ /** * options.php -- SpamCop options page * - * @copyright 1999-2010 The SquirrelMail Project Team + * @copyright 1999-2017 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -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";