X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fspamcop%2Foptions.php;h=6795e9216eb3559e4fb78df643285012f647c20e;hb=babad50305f1b991f32209a7f2e3b72a5eefe5c7;hp=ce58c77682719162e86e0d34f4d70ed424517fd1;hpb=da297dd0b801238dc73abfe09d78eeef11ba4ce9;p=squirrelmail.git diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index ce58c776..6795e921 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -1,23 +1,24 @@
-
+
-
+

@@ -102,7 +97,7 @@ spamcop_load_function(); \n" . + echo html_tag('td',_("Save emails submitted to SpamCop:") . "
\n" . '(' . _("Only works with email-based reporting") . ')', 'right','','valign="top"'); echo html_tag('td', spamcop_enable_disable($spamcop_save,'keep','dontkeep'),'','','valign="top"'); @@ -122,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")); + + ?> - - - -
- - ' . - '\n"; - ?> -
- " . '(' . _("see below") . ')','right','','valign="top"'); ?>
- + \n"; @@ -225,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 +