forked from GNUsocial/gnu-social
fancy URLs for IM settings
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
This commit is contained in:
parent
0b0beda026
commit
ec4a6c7812
@ -25,6 +25,7 @@ RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
|
|||||||
RewriteRule ^settings/password$ index.php?action=password [L,QSA]
|
RewriteRule ^settings/password$ index.php?action=password [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]
|
||||||
|
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
|
||||||
|
|
||||||
RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
|
RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
|
||||||
RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA]
|
RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA]
|
||||||
|
@ -695,6 +695,8 @@ function common_fancy_url($action, $args=NULL) {
|
|||||||
$path .= '/' . $args['code'];
|
$path .= '/' . $args['code'];
|
||||||
}
|
}
|
||||||
return common_path($path);
|
return common_path($path);
|
||||||
|
case 'imsettings':
|
||||||
|
return common_path('settings/im');
|
||||||
default:
|
default:
|
||||||
return common_simple_url($action, $args);
|
return common_simple_url($action, $args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user