$notify->push(_("Temporarily unable to connect with Facebook, Please try again."), 'horde.alert');
}
/* URL links */
- $url = Horde_Util::addParameter(Horde::selfUrl(true), array('action' => 'revokeApplication'));
- $t->set('offline_url', Horde::signQueryString($url));
$t->set('have_session', true);
$t->set('user_pic_url', $user_info[0]['pic_with_logo']);
$t->set('user_name', $user_info[0]['first_name'] . ' ' . $user_info[0]['last_name']);
<else:have_offline>
<div class="fbbluebox">
<tag:app_name /><gettext> can interact with your Facebook account, but you must login to Facebook manually each time.</gettext>
- <div class="fbaction"><gettext>Authorize an infinite session:</gettext><a class="fbbutton" href="<tag:offline_url />">Facebook</a></div>
+ <div class="fbaction"><gettext>Authorize an infinite session:</gettext><a class="fbbutton" href="<tag:auth_url />">Facebook</a></div>
</div>
</else:have_offline>
</if:have_offline>