From eaf2a98daf2ad135f6daa1bcab391fbee7df3183 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 22 May 2009 00:54:22 +0000 Subject: - Show Facebook profile pic and favicon as dictated by Facebook Connnect policy - Logout fixed, again (cleans up Facebook cookies now) --- plugins/FBConnect/FBCLoginGroupNav.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugins/FBConnect/FBCLoginGroupNav.php') diff --git a/plugins/FBConnect/FBCLoginGroupNav.php b/plugins/FBConnect/FBCLoginGroupNav.php index 9aa01a094..6eb09c3c0 100644 --- a/plugins/FBConnect/FBCLoginGroupNav.php +++ b/plugins/FBConnect/FBCLoginGroupNav.php @@ -71,26 +71,24 @@ class FBCLoginGroupNav extends Widget function show() { - common_debug('FBCLoginGroupNav'); - $this->action->elementStart('dl', array('id' => 'site_nav_local_views')); $this->action->element('dt', null, _('Local views')); $this->action->elementStart('dd'); - + // action => array('prompt', 'title') $menu = array(); $menu['login'] = array(_('Login'), _('Login with a username and password')); - + if (!(common_config('site','closed') || common_config('site','inviteonly'))) { $menu['register'] = array(_('Register'), _('Sign up for a new account')); } - + $menu['openidlogin'] = array(_('OpenID'), _('Login or register with OpenID')); - + $menu['FBConnectLogin'] = array(_('Facebook'), _('Login or register using Facebook')); @@ -105,7 +103,7 @@ class FBCLoginGroupNav extends Widget } $this->action->elementEnd('ul'); - + $this->action->elementEnd('dd'); $this->action->elementEnd('dl'); } -- cgit v1.2.3-54-g00ecf