--- a/plugins/SpecialAdmin.php Thu Dec 27 22:09:33 2007 -0500
+++ b/plugins/SpecialAdmin.php Thu Dec 27 23:32:11 2007 -0500
@@ -181,6 +181,8 @@
if(isset($_POST['editmsg'])) setConfig('wiki_edit_notice', '1');
else setConfig('wiki_edit_notice', '0');
setConfig('wiki_edit_notice_text', $_POST['editmsg_text']);
+ if(isset($_POST['guest_edit_require_captcha'])) setConfig('guest_edit_require_captcha', '1');
+ else setConfig('guest_edit_require_captcha', '0');
// Stats
if(isset($_POST['log_hits'])) setConfig('log_hits', '1');
@@ -341,6 +343,19 @@
</td>
</tr>
+ <tr>
+ <td class="row1">
+ <b>Require visual confirmation for guests editing pages</b><br />
+ If this is enabled, guests will be asked to enter a visual confirmation code before saving changes to a page.
+ </td>
+ <td class="row1">
+ <label>
+ <input type="checkbox" name="guest_edit_require_captcha" <?php if ( getConfig('guest_edit_require_captcha') == '1' ) echo 'checked="checked" '; ?>/>
+ Require guests to complete a CAPTCHA when editing pages
+ </label>
+ </td>
+ </tr>
+
<!-- Site statistics -->
<tr><th class="subhead" colspan="2">Statistics and hit counting</th></tr>