summaryrefslogtreecommitdiff
path: root/plugins/FBConnect/FBCLoginGroupNav.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-22 10:21:22 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-22 10:21:22 -0400
commit677434b113ac58297a32135823c3fc2fc865105c (patch)
treebda8c003aec267e8ff0e3138cf037f1a83b3cd2c /plugins/FBConnect/FBCLoginGroupNav.php
parentebc16062ed2ba6a68d96fbe564c54a3b92b4ef68 (diff)
parent9f23807af4495889a96713c798c0007d5bd6cba7 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
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');
}