forked from leftypol/leftypol
Paginate ?/noticeboard
This commit is contained in:
parent
2c1f14d24b
commit
2a301de29f
7 changed files with 125 additions and 10 deletions
6
mod.php
6
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue