// Bring in the Facebook CSS
$html .= '<link href="' . $csslink . '" rel="stylesheet" type="text/css" />';
- $html .= '<div class="fbbody" style="float:left;padding-left: 8px;padding-right:8px;">';
+ $html .= '<div style="float:left;padding-left: 8px;padding-right:8px;">';
// User's current status and input box to change it.
$fql = 'SELECT first_name, last_name, status, pic_square_with_logo from user where uid=' . $fbp['uid'] . ' LIMIT 1';
//TODO: We could probably cache this perm somehow - maybe in the session?
if ($facebook->users->hasAppPermission(Horde_Service_Facebook_Auth::EXTEND_PERMS_PUBLISHSTREAM)) {
$html .= '<input style="width:100%;margin-top:4px;margin-bottom:4px;" type="text" class="fbinput" id="newStatus" name="newStatus" />'
- . '<div class="fbaction"><a class="fbbutton" onclick="updateStatus($F(\'newStatus\'), $(\'newStatus\'));" href="#">' . _("Update") . '</a></div>'
+ . '<div><a class="button" onclick="updateStatus($F(\'newStatus\'), $(\'newStatus\'));" href="#">' . _("Update") . '</a></div>'
. Horde::img('loading.gif', '', array('id' => 'loading', 'style' => 'display:none;'));
}
} catch (Horde_Service_Facebook_Exception $e) {
$csslink = $GLOBALS['registry']->get('themesuri', 'horde') . '/facebook.css';
$defaultText = _("What are you working on now?");
$html = '<link href="' . $csslink . '" rel="stylesheet" type="text/css" />';
- $html .= '<div class="fbbody" style="float:left;padding-left: 8px;padding-right:8px;">'
+ $html .= '<div style="float:left;padding-left: 8px;padding-right:8px;">'
. '<input style="width:98%;margin-top:4px;margin-bottom:4px;" type="text" id="' . $instance . '_newStatus" name="' . $instance . '_newStatus" value="' . $defaultText . '" />'
- . '<div class="fbaction"><a class="fbbutton" onclick="Horde.twitter.updateStatus($F(\'' . $instance . '_newStatus\'));" href="#">' . _("Update") . '</a><span id="' . $instance . '_inReplyTo"></span></div>'
+ . '<div><a class="button" onclick="Horde.twitter.updateStatus($F(\'' . $instance . '_newStatus\'));" href="#">' . _("Update") . '</a><span id="' . $instance . '_inReplyTo"></span></div>'
. Horde::img('loading.gif', '', array('id' => $instance . '_loading', 'style' => 'display:none;'));
$html .= '<div id="currentStatus" class="fbemptystatus" style="margin-left:10px;margin-top:10px;">' . sprintf(_("Latest: %s - %s"), $latestStatus, Horde_Date_Utils::relativeDateTime(strtotime($this->_profile->status->created_at), $GLOBALS['prefs']->getValue('date_format'), ($GLOBALS['prefs']->getValue('twentyFour') ? "%H:%M %P" : "%I %M %P"))) . '</div>';
$html .= '<div id="twitter_body' . $instance . '">';