]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fancy url for tagother
authorEvan Prodromou <evan@prodromou.name>
Fri, 21 Nov 2008 00:52:16 +0000 (19:52 -0500)
committerEvan Prodromou <evan@prodromou.name>
Fri, 21 Nov 2008 00:52:16 +0000 (19:52 -0500)
darcs-hash:20081121005216-84dde-5dea247b1c64f276cf2b2b5d3d6ce51ba3d9d615.gz

htaccess.sample
lib/util.php

index 702894e2e317eb783fcbfeb90e2d3590db8eae2f..28da7b66f6e52744669e9b7a940a8890abad6583 100644 (file)
@@ -42,6 +42,8 @@ RewriteRule ^main/disfavor$ index.php?action=disfavor [L,QSA]
 
 RewriteRule ^main/sup$ index.php?action=sup [L,QSA]
 
+RewriteRule ^main/tagother$ index.php?action=tagother [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]
index 1365380ab9669270668a89dd8f01f5c71152d877..ce9e312b691a49306ada4d71cd078e8b67a87348 100644 (file)
@@ -985,6 +985,8 @@ function common_fancy_url($action, $args=NULL) {
         case 'unsubscribe':
         case 'invite':
                return common_path('main/'.$action);
+        case 'tagother':
+               return common_path('main/tagother?id='.$args['id']);
         case 'register':
                if ($args && $args['code']) {
                        return common_path('main/register/'.$args['code']);