diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 14:49:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 14:49:31 -0400 |
commit | ec4a6c78127103b699ab7bad155747f060ffbb88 (patch) | |
tree | 86a891fd995e2f8d70d383ca7d3ac2b8a191b5bc | |
parent | 0b0beda026a2b922b8554b94a7ef768cb4331e66 (diff) |
fancy URLs for IM settings
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
-rw-r--r-- | htaccess.sample | 1 | ||||
-rw-r--r-- | lib/util.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index a5d2cd4e0..9e621d9d6 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -25,6 +25,7 @@ RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA] RewriteRule ^settings/password$ index.php?action=password [L,QSA] RewriteRule ^settings/profile$ index.php?action=profilesettings [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/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] diff --git a/lib/util.php b/lib/util.php index e3c00b31d..e50582d1a 100644 --- a/lib/util.php +++ b/lib/util.php @@ -695,6 +695,8 @@ function common_fancy_url($action, $args=NULL) { $path .= '/' . $args['code']; } return common_path($path); + case 'imsettings': + return common_path('settings/im'); default: return common_simple_url($action, $args); } |