]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fancy URLs for IM settings
authorEvan Prodromou <evan@controlezvous.ca>
Thu, 26 Jun 2008 18:49:31 +0000 (14:49 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Thu, 26 Jun 2008 18:49:31 +0000 (14:49 -0400)
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz

htaccess.sample
lib/util.php

index a5d2cd4e0a7400d166ed6d1905710332a50c6e08..9e621d9d60f17b301a2eba338a61ca6c85ffcd24 100644 (file)
@@ -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&notice=$1 [L,QSA]
index e3c00b31d9dc6704ab304a089b598722b7a68e3f..e50582d1a98f200fffa57ac3adb184d6686dee8f 100644 (file)
@@ -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);
        }