Multiple improvements: ?/ban/<post> & ?/ban&delete/<post>

This commit is contained in:
Michael Save
2012-04-20 21:37:48 +10:00
parent 4fcf9c2c91
commit de84ca6f75
3 changed files with 79 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ $pages = array(
'!^/bans/(\d+)$!' => 'bans', // ban list
'!^/(\w+)/delete/(\d+)$!' => 'delete', // delete post
'!^/(\w+)/ban/(&delete/)?(\d+)$!' => 'ban_post', // ban poster
'!^/(\w+)/ban(&delete)?/(\d+)$!' => 'ban_post', // ban poster
'!^/(\w+)/(un)?lock/(\d+)$!' => 'lock', // lock thread
'!^/(\w+)/(un)?sticky/(\d+)$!' => 'sticky', // sticky thread
'!^/(\w+)/bump(un)?lock/(\d+)$!' => 'bumplock', // "bumplock" thread