forked from GNUsocial/gnu-social
fancy url for remote subscribe
darcs-hash:20080701164058-84dde-9e3864ddd1174b771d0830bb77db7889c4e3def1.gz
This commit is contained in:
@@ -656,6 +656,12 @@ function common_fancy_url($action, $args=NULL) {
|
||||
case 'subscribe':
|
||||
case 'unsubscribe':
|
||||
return common_path('main/'.$action);
|
||||
case 'remotesubscribe':
|
||||
if ($args && $args['nickname']) {
|
||||
return common_path('main/remote?nickname=' . $args['nickname']);
|
||||
} else {
|
||||
return common_path('main/remote');
|
||||
}
|
||||
case 'openidlogin':
|
||||
return common_path('main/openid');
|
||||
case 'avatar':
|
||||
|
||||
Reference in New Issue
Block a user