forked from leftypol/leftypol
various improvements
This commit is contained in:
parent
fb3e819132
commit
ad55a634bf
7 changed files with 247 additions and 37 deletions
4
mod.php
4
mod.php
|
@ -26,16 +26,18 @@ $pages = array(
|
|||
'!^/confirm/(.+)$!' => 'confirm', // confirm action (if javascript didn't work)
|
||||
'!^/log$!' => 'log', // modlog
|
||||
'!^/log/(\d+)$!' => 'log', // modlog
|
||||
|
||||
|
||||
'!^/users$!' => 'users', // manage users
|
||||
'!^/users/(\d+)/(promote|demote)$!' => 'user_promote', // prmote/demote user
|
||||
'!^/new_PM/([^/]+)$!' => 'new_pm', // create a new pm
|
||||
'!^/PM/(\d+)(/reply)?$!' => 'pm', // read a pm
|
||||
|
||||
'!^/rebuild$!' => 'rebuild', // rebuild static files
|
||||
|
||||
'!^/ban$!' => 'ban', // new ban
|
||||
'!^/IP/([\w.:]+)$!' => 'ip', // view ip address
|
||||
'!^/IP/([\w.:]+)/remove_note/(\d+)$!' => 'ip_remove_note', // remove note from ip address
|
||||
'!^/bans$!' => 'bans', // ban list
|
||||
|
||||
'!^/(\w+)/delete/(\d+)$!' => 'delete', // delete post
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue