View IP adress page, ban form.

This commit is contained in:
Michael Save 2012-04-13 09:29:08 +10:00
parent f9ca74d763
commit 78f3ea7833
7 changed files with 289 additions and 3 deletions

View file

@ -25,10 +25,11 @@ $pages = array(
'!^/$!' => 'dashboard', // dashboard
'!^/IP/(.+)$!' => 'ip', // view ip address
'!^/ban$!' => 'ban', // new ban
// This should always be at the end:
'!^/(\w+)/' . preg_quote($config['file_index'], '!') . '?$!' => 'view_board',
'!^/(\w+)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!/' => 'view_board',
'!^/(\w+)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!' => 'view_board',
'!^/(\w+)/' . preg_quote($config['dir']['res'], '!') .
str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!' => 'view_thread',
);