From: Evan Prodromou Date: Fri, 21 Nov 2008 00:52:16 +0000 (-0500) Subject: fancy url for tagother X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf54010e75411546bbe9cbc6dc3d79fad4faa52a;p=quix0rs-gnu-social.git fancy url for tagother darcs-hash:20081121005216-84dde-5dea247b1c64f276cf2b2b5d3d6ce51ba3d9d615.gz --- diff --git a/htaccess.sample b/htaccess.sample index 702894e2e3..28da7b66f6 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -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] diff --git a/lib/util.php b/lib/util.php index 1365380ab9..ce9e312b69 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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']);