summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 12:07:33 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 12:07:33 -0400
commit052e8eb7a485fe5b7125e4aa6b10013338a5fd66 (patch)
treed4fdafa04f6c605209867823062b9fefa1e0987f /lib
parent71dab316c3d65d25e98b3f749510103ab6a778a2 (diff)
better URLs for OpenID stuff
darcs-hash:20080618160733-84dde-cb233a9b2073b6333f2944682bb3ab0c1a7a547a.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index b78edc93c..072ab0047 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -266,6 +266,7 @@ function common_nav_menu() {
} else {
common_menu_item(common_local_url('login'), _t('Login'));
common_menu_item(common_local_url('register'), _t('Register'));
+ common_menu_item(common_local_url('openidlogin'), _t('OpenID'));
}
common_element_end('ul');
}
@@ -529,6 +530,8 @@ function common_fancy_url($action, $args=NULL) {
case 'subscribe':
case 'unsubscribe':
return common_path('main/'.$action);
+ case 'openidlogin':
+ return common_path('main/openid');
case 'avatar':
case 'password':
return common_path('settings/'.$action);