add fancy url for block action
darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz
This commit is contained in:
parent
ad3fcbce43
commit
49adb8b552
@ -44,6 +44,8 @@ RewriteRule ^main/sup$ index.php?action=sup [L,QSA]
|
|||||||
|
|
||||||
RewriteRule ^main/tagother$ index.php?action=tagother [L,QSA]
|
RewriteRule ^main/tagother$ index.php?action=tagother [L,QSA]
|
||||||
|
|
||||||
|
RewriteRule ^main/block$ index.php?action=block [L,QSA]
|
||||||
|
|
||||||
RewriteRule ^settings/delete$ index.php?action=deleteprofile [L,QSA]
|
RewriteRule ^settings/delete$ index.php?action=deleteprofile [L,QSA]
|
||||||
RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
|
RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
|
||||||
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
|
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
|
||||||
|
@ -1081,6 +1081,7 @@ function common_fancy_url($action, $args=NULL) {
|
|||||||
}
|
}
|
||||||
case 'doc':
|
case 'doc':
|
||||||
return common_path('doc/'.$args['title']);
|
return common_path('doc/'.$args['title']);
|
||||||
|
case 'block':
|
||||||
case 'login':
|
case 'login':
|
||||||
case 'logout':
|
case 'logout':
|
||||||
case 'subscribe':
|
case 'subscribe':
|
||||||
|
Loading…
Reference in New Issue
Block a user