summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-01 12:40:58 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-01 12:40:58 -0400
commit2bb11987744812f794bb320a71658b61b2418a41 (patch)
treef2bc210ccc17e463a480cc8209d3d8bd21ddf27e /lib
parent596365672a9627dbcab0f1aeddc13e4fb9c3b18b (diff)
fancy url for remote subscribe
darcs-hash:20080701164058-84dde-9e3864ddd1174b771d0830bb77db7889c4e3def1.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 9e1b1a8c9..8bd99c816 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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':