class FacebookinviteAction extends FacebookAction
{
-
function handle($args)
{
parent::handle($args);
$this->facebook->api_client->data_getUserPreference(
FACEBOOK_PROMPTED_UPDATE_PREF) == 'true') {
+ // @todo FIXME: Missing i18n?
echo '<h1>REDIRECT TO HOME</h1>';
}
} else {
function showContent()
{
-
// If the user has opted not to initially allow the app to have
// Facebook status update permission, store that preference. Only
// promt the user the first time she uses the app
}
if ($this->flink) {
-
$this->user = $this->flink->getUser();
// If this is the first time the user has started the app
return;
}
}
-
} else {
$this->showLoginForm();
}
function title()
{
- return sprintf(_('Login'));
+ // @todo FIXME: Give a more precise description? Suggestion: "Login with Facebook Connect"
+ // TRANS: Page title.
+ return sprintf(_m('Login'));
}
function redirectHome()
{
}
-
}