equal
deleted
inserted
replaced
179 if(isset($_POST['wiki_mode_require_login'])) setConfig('wiki_mode_require_login', '1'); |
179 if(isset($_POST['wiki_mode_require_login'])) setConfig('wiki_mode_require_login', '1'); |
180 else setConfig('wiki_mode_require_login', '0'); |
180 else setConfig('wiki_mode_require_login', '0'); |
181 if(isset($_POST['editmsg'])) setConfig('wiki_edit_notice', '1'); |
181 if(isset($_POST['editmsg'])) setConfig('wiki_edit_notice', '1'); |
182 else setConfig('wiki_edit_notice', '0'); |
182 else setConfig('wiki_edit_notice', '0'); |
183 setConfig('wiki_edit_notice_text', $_POST['editmsg_text']); |
183 setConfig('wiki_edit_notice_text', $_POST['editmsg_text']); |
|
184 if(isset($_POST['guest_edit_require_captcha'])) setConfig('guest_edit_require_captcha', '1'); |
|
185 else setConfig('guest_edit_require_captcha', '0'); |
184 |
186 |
185 // Stats |
187 // Stats |
186 if(isset($_POST['log_hits'])) setConfig('log_hits', '1'); |
188 if(isset($_POST['log_hits'])) setConfig('log_hits', '1'); |
187 else setConfig('log_hits', '0'); |
189 else setConfig('log_hits', '0'); |
188 |
190 |
336 </tr> |
338 </tr> |
337 |
339 |
338 <tr> |
340 <tr> |
339 <td class="row2"> |
341 <td class="row2"> |
340 <textarea <?php if(getConfig('wiki_edit_notice')!='1') echo('style="display:none" '); ?>rows="5" cols="30" name="editmsg_text" id="editmsg_text"><?php echo getConfig('wiki_edit_notice_text'); ?></textarea> |
342 <textarea <?php if(getConfig('wiki_edit_notice')!='1') echo('style="display:none" '); ?>rows="5" cols="30" name="editmsg_text" id="editmsg_text"><?php echo getConfig('wiki_edit_notice_text'); ?></textarea> |
|
343 </td> |
|
344 </tr> |
|
345 |
|
346 <tr> |
|
347 <td class="row1"> |
|
348 <b>Require visual confirmation for guests editing pages</b><br /> |
|
349 If this is enabled, guests will be asked to enter a visual confirmation code before saving changes to a page. |
|
350 </td> |
|
351 <td class="row1"> |
|
352 <label> |
|
353 <input type="checkbox" name="guest_edit_require_captcha" <?php if ( getConfig('guest_edit_require_captcha') == '1' ) echo 'checked="checked" '; ?>/> |
|
354 Require guests to complete a CAPTCHA when editing pages |
|
355 </label> |
341 </td> |
356 </td> |
342 </tr> |
357 </tr> |
343 |
358 |
344 <!-- Site statistics --> |
359 <!-- Site statistics --> |
345 |
360 |