summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-04 07:22:56 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-04 13:01:23 -0400
commit3245357749d30f655ce10e8f71737680a61f59db (patch)
treecb371b2b4f41fe07378c6fa8f9a23e2ee37c41dd /plugins
parent7a742a0572a3f0aa529785f4f7eab320a2dd099d (diff)
add account settings menu item for OpenID
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OpenID/OpenIDPlugin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php
index b70b1da19..f76fe1e3c 100644
--- a/plugins/OpenID/OpenIDPlugin.php
+++ b/plugins/OpenID/OpenIDPlugin.php
@@ -87,4 +87,16 @@ class OpenIDPlugin extends Plugin
return true;
}
+
+ function onEndAccountSettingsNav(&$action)
+ {
+ $action_name = $action->trimmed('action');
+
+ $action->menuItem(common_local_url('openidsettings'),
+ _('OpenID'),
+ _('Add or remove OpenIDs'),
+ $action_name === 'openidsettings');
+
+ return true;
+ }
} \ No newline at end of file