summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-21 15:15:32 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-21 15:15:32 +1000
commit2a301de29feb08d40a9740a574dbef8b07bd595c (patch)
treef4e149c041c88ff45976c4a525f8f94684b3c704 /mod.php
parent2c1f14d24b644e02f59758d04e1a029e2e73ed5a (diff)
Paginate ?/noticeboard
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod.php b/mod.php
index b5edd255..4495ae52 100644
--- a/mod.php
+++ b/mod.php
@@ -24,8 +24,6 @@ $pages = array(
'!^$!' => ':?/', // redirect to dashboard
'!^/$!' => 'dashboard', // dashboard
'!^/confirm/(.+)$!' => 'confirm', // confirm action (if javascript didn't work)
- '!^/log$!' => 'log', // modlog
- '!^/log/(\d+)$!' => 'log', // modlog
'!^/users$!' => 'users', // manage users
'!^/users/(\d+)$!' => 'user', // edit user
@@ -33,6 +31,10 @@ $pages = array(
'!^/new_PM/([^/]+)$!' => 'new_pm', // create a new pm
'!^/PM/(\d+)(/reply)?$!' => 'pm', // read a pm
+ '!^/noticeboard$!' => 'noticeboard', // view noticeboard
+ '!^/noticeboard/(\d+)$!' => 'noticeboard', // view noticeboard
+ '!^/log$!' => 'log', // modlog
+ '!^/log/(\d+)$!' => 'log', // modlog
'!^/rebuild$!' => 'rebuild', // rebuild static files
'!^/reports$!' => 'reports', // report queue
'!^/reports/(\d+)/dismiss(all)?$!' => 'report_dismiss', // dismiss a report