- <?php
- echo html_tag('td',_("Delete spam when reported:") . "<br />\n" .
- '<font size="-2">(' . _("Only works with email-based reporting") . ')</font>',
- 'right','','valign="top"');
- echo html_tag('td', spamcop_enable_disable($spamcop_delete,'save','delete'),'','','valign="top"');
- ?>
- </tr>
- <tr>
- <?php
- echo html_tag('td',_("Spam Reporting Method:"),'right');
- ?>
- <form method="post" action="options.php">
- <td>
- <select name="meth">
- <option value="quick_email"
- <?php
- if ($spamcop_method == 'quick_email') echo ' selected';
- echo ">"._("Quick email-based reporting");
- ?>
- </option>
- <option value="thorough_email"
- <?php
- if ($spamcop_method == 'thorough_email') echo ' selected';
- echo ">"._("Thorough email-based reporting");
- ?>
- </option>
- <option value="web_form"
- <?php
- if ($spamcop_method == 'web_form') echo ' selected';
- echo ">"._("Web-based form");
- ?>
- </option>
- </select>
- <input type="hidden" name="action" value="meth">
- <input type="submit" value="<?php echo _("Save Method"); ?>">
- </td></form>
- </tr>
- <tr>
- <?php
- echo html_tag('td',_("Your SpamCop authorization code:") . "<br />" .
- '<font size="-2">(' . _("see below") . ')</font>','right','','valign="top"');
- ?>
- <form method="post" action="options.php"><td valign="top">
- <input type="text" size="30" name="ID" value="<?php echo htmlspecialchars($spamcop_id) ?>" />
- <input type="hidden" name="action" value="save_id" />
- <input type="submit" value="<?php echo _("Save ID"); ?>" />
- </td></form>
- </tr>
+ <?php
+ echo html_tag('td',_("Delete spam when reported:") . "<br />\n" .
+ '<small>(' . _("Only works with email-based reporting") . ')</small>',
+ 'right','','valign="top"');
+ echo html_tag('td', spamcop_enable_disable($spamcop_delete,'save','delete'),'','','valign="top"');
+ ?>
+ </tr>
+ <tr>
+ <?php
+ echo html_tag('td',_("Save emails submitted to SpamCop:") . "<br />\n" .
+ '<small>(' . _("Only works with email-based reporting") . ')</small>',
+ 'right','','valign="top"');
+ echo html_tag('td', spamcop_enable_disable($spamcop_save,'keep','dontkeep'),'','','valign="top"');
+ ?>
+ </tr>
+ <tr>
+ <?php
+ echo html_tag('td',_("Spam Reporting Method:"),'right');
+ ?>
+ <td>
+ <form method="post" action="options.php">
+ <select name="meth">
+ <?php
+ if ($spamcop_quick_report) {
+ echo '<option value="quick_email"';
+ if ($spamcop_method == 'quick_email') echo ' selected="selected"';
+ echo ">"._("Quick email-based reporting");
+ echo '</option>';
+ }
+ ?>
+ <option value="thorough_email"
+ <?php
+ if ($spamcop_method == 'thorough_email') echo ' selected="selected"';
+ echo ">"._("Thorough email-based reporting");
+ ?>
+ </option>
+ <option value="web_form"
+ <?php
+ if ($spamcop_method == 'web_form') echo ' selected="selected"';
+ echo ">"._("Web-based form");
+ ?>
+ </option>
+ </select>
+ <input type="hidden" name="action" value="meth" />
+ <?php
+ echo '<input type="submit" value="' . _("Save Method") . "\" />\n";
+ ?>
+ </form></td>
+ </tr>
+ <tr>
+ <?php
+ echo html_tag('td',_("Your SpamCop authorization code:") . "<br />" .
+ '<small>(' . _("see below") . ')</small>','right','','valign="top"');
+ ?>
+ <td valign="top"><form method="post" action="options.php">
+ <input type="text" size="30" name="ID" value="<?php echo htmlspecialchars($spamcop_id) ?>" />
+ <input type="hidden" name="action" value="save_id" />
+ <?php
+ echo '<input type="submit" value="' . _("Save ID") . "\" />\n";
+ ?>
+ </form></td>
+ </tr>