From 176b1f5494649a8427bc2edb6d3a4c6d2f0dedc0 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Thu, 11 May 2017 21:45:38 +0900 Subject: Add merge thread functionality as a moderator feature (shadow threading and leaving OP is not yet supported) and board filter to Recent Posts iinterface. --- mod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod.php') diff --git a/mod.php b/mod.php index a6424d5d..69694425 100644 --- a/mod.php +++ b/mod.php @@ -73,7 +73,8 @@ $pages = array( '/ban-appeals' => 'secure_POST ban_appeals', // view ban appeals '/recent/(\d+)' => 'recent_posts', // view recent posts - '/recent/(\d+)/(json)?' => 'recent_posts', // view recent posts JSON + '/recent/(\d+)/([\w,]+?)' => 'recent_posts', // view recent posts + '/recent/(\d+)/([\w,]+?)/(json)?' => 'recent_posts', // view recent posts JSON '/search' => 'search_redirect', // search '/search/(posts|IP_notes|bans|log)/(.+)/(\d+)' => 'search', // search @@ -82,6 +83,7 @@ $pages = array( '/(\%b)/ban(&delete)?/(\d+)' => 'secure_POST ban_post', // ban poster '/(\%b)/move/(\d+)' => 'secure_POST move', // move thread '/(\%b)/move_reply/(\d+)' => 'secure_POST move_reply', // move reply + '/(\%b)/merge/(\d+)' => 'secure_POST merge', // merge thread '/(\%b)/edit(_raw)?/(\d+)' => 'secure_POST edit_post', // edit post '/(\%b)/delete/(\d+)' => 'secure delete', // delete post '/(\%b)/deletefile/(\d+)/(\d+)' => 'secure deletefile', // delete file from post -- cgit v1.3