]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add fancy url for block action
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 07:15:21 +0000 (02:15 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 07:15:21 +0000 (02:15 -0500)
darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz

htaccess.sample
lib/util.php

index b0e89b9f27e1057f53c3cb1a8c3784b05abbbcc5..c06b5ed236cb03c16d124a66d500410cd2f0e46e 100644 (file)
@@ -44,6 +44,8 @@ RewriteRule ^main/sup$ index.php?action=sup [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/profile$ index.php?action=profilesettings [L,QSA]
 RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
index df736cf01caf68675aced02aea451f46e4b27f97..84befa53716aadcda45f75f06da6b518ba79337b 100644 (file)
@@ -1081,6 +1081,7 @@ function common_fancy_url($action, $args=NULL) {
                 }
         case 'doc':
                return common_path('doc/'.$args['title']);
+     case 'block':
         case 'login':
         case 'logout':
         case 'subscribe':