diff -r 880c4b7eb658 -r 9d5c04c1414f plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sat Jan 17 15:16:36 2009 -0500 +++ b/plugins/SpecialAdmin.php Sun Jan 25 21:18:05 2009 -0500 @@ -304,6 +304,10 @@ if(isset($_POST['enable-comments'])) setConfig('enable_comments', '1'); else setConfig('enable_comments', '0'); setConfig('comments_need_login', $_POST['comments_need_login']); + if ( in_array($_POST['comment_spam_policy'], array('moderate', 'reject', 'accept')) ) + { + setConfig('comment_spam_policy', $_POST['comment_spam_policy']); + } // Powered by link if ( isset($_POST['enano_powered_link']) ) setConfig('powered_btn', '1'); @@ -604,6 +608,27 @@ + + + + get('acpgc_field_comment_spam_policy'); ?>
+ get('acpgc_field_comment_spam_policy_hint'); ?> + + + + + + +