fancy url for tagother
darcs-hash:20081121005216-84dde-5dea247b1c64f276cf2b2b5d3d6ce51ba3d9d615.gz
This commit is contained in:
parent
7b099a4c6b
commit
cf54010e75
|
@ -42,6 +42,8 @@ RewriteRule ^main/disfavor$ index.php?action=disfavor [L,QSA]
|
||||||
|
|
||||||
RewriteRule ^main/sup$ index.php?action=sup [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/profile$ index.php?action=profilesettings [L,QSA]
|
||||||
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
|
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
|
||||||
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
|
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
|
||||||
|
|
|
@ -985,6 +985,8 @@ function common_fancy_url($action, $args=NULL) {
|
||||||
case 'unsubscribe':
|
case 'unsubscribe':
|
||||||
case 'invite':
|
case 'invite':
|
||||||
return common_path('main/'.$action);
|
return common_path('main/'.$action);
|
||||||
|
case 'tagother':
|
||||||
|
return common_path('main/tagother?id='.$args['id']);
|
||||||
case 'register':
|
case 'register':
|
||||||
if ($args && $args['code']) {
|
if ($args && $args['code']) {
|
||||||
return common_path('main/register/'.$args['code']);
|
return common_path('main/register/'.$args['code']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user