exit(1);
}
-
require_once INSTALLDIR . '/plugins/Facebook/FacebookPlugin.php';
class FBConnectLoginAction extends Action
parent::handle($args);
if (common_is_real_login()) {
- $this->clientError(_('Already logged in.'));
+ $this->clientError(_m('Already logged in.'));
}
$this->showPage();
function getInstructions()
{
- return _('Login with your Facebook Account');
+ // TRANS: Instructions.
+ return _m('Login with your Facebook Account');
}
function showPageNotice()
function title()
{
- return _('Facebook Login');
+ // TRANS: Page title.
+ return _m('Facebook Login');
}
function showContent() {
$this->elementEnd('fieldset');
}
+ function showLocalNav()
+ {
+ $nav = new LoginGroupNav($this);
+ $nav->show();
+ }
}