summaryrefslogtreecommitdiff
path: root/plugins/FBConnect/FBCLoginGroupNav.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-05-22 00:54:22 +0000
committerZach Copley <zach@controlyourself.ca>2009-05-22 00:54:22 +0000
commiteaf2a98daf2ad135f6daa1bcab391fbee7df3183 (patch)
treeb0a90f340a6f2b85cda5e2f26d3bc6195996a99f /plugins/FBConnect/FBCLoginGroupNav.php
parentf25990cf8ed8683d53e9460fb63600a7bdfd10a3 (diff)
- Show Facebook profile pic and favicon as dictated by Facebook Connnect policy
- Logout fixed, again (cleans up Facebook cookies now)
Diffstat (limited to 'plugins/FBConnect/FBCLoginGroupNav.php')
-rw-r--r--plugins/FBConnect/FBCLoginGroupNav.php12
1 files changed, 5 insertions, 7 deletions
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');
}