diff --git a/inc/8chan-mod-pages.php b/inc/8chan-mod-pages.php index 17e1306d..be3b3fb7 100644 --- a/inc/8chan-mod-pages.php +++ b/inc/8chan-mod-pages.php @@ -529,6 +529,7 @@ FLAGS; $force_flag = isset($_POST['force_flag']) ? 'true' : 'false'; $tor_posting = isset($_POST['tor_posting']) ? 'true' : 'false'; $tor_image_posting = isset($_POST['tor_image_posting']) ? 'true' : 'false'; + $robot_enable = isset($_POST['robot_enable']) ? 'true' : 'false'; $new_thread_capt = isset($_POST['new_thread_capt']) ? 'true' : 'false'; $oekaki = ($imgboard || $fileboard) && isset($_POST['oekaki']) ? 'true' : 'false'; $view_bumplock = isset($_POST['view_bumplock']) ? '-1' : 'MOD'; @@ -713,6 +714,7 @@ FLAGS; \$config['force_flag'] = $force_flag; \$config['tor_posting'] = $tor_posting; \$config['tor_image_posting'] = $tor_image_posting; +\$config['robot_enable'] = $robot_enable; \$config['new_thread_capt'] = $new_thread_capt; \$config['hour_max_threads'] = $hour_max_threads; \$config['reply_limit'] = $reply_limit; diff --git a/templates/mod/settings.html b/templates/mod/settings.html index becac62e..3cb360c7 100644 --- a/templates/mod/settings.html +++ b/templates/mod/settings.html @@ -49,6 +49,7 @@ {% trans %}Allow SWF uploading{% endtrans %} {% trans %}Allow PDF uploading{% endtrans %} {% trans %}Enable dice rolling{% endtrans %} + {% trans %}ROBOT9000{% endtrans %} {% trans %}Don't allow users to repost images (whole board){% endtrans %} {% trans %}Don't allow users to repost images (same thread){% endtrans %} {% trans %}Allow a poster to delete his own posts{% endtrans %}