_params['filter']}',
'count': '{$this->_params['count']}'
});
EOT;
$page_output->addInlineScript($script);
// Start building the block UI.
$html .= '';
try {
$html .= Horde_Themes_Image::tag(
'loading.gif',
array(
'attr' => array(
'id' => $instance. '_loading',
'style' => 'display:none;'
)
)
);
} catch (Horde_Service_Facebook_Exception $e) {
$prefs = $GLOBALS['registry']->getServiceLink('prefs');
$html .= sprintf(_("There was an error making the request: %s"), $e->getMessage());
$html .= sprintf(_("You can also check your Facebook settings in your %s."), $prefs->add('group', 'facebook')->link() . _("preferences") . '');
return $html;
}
$html .= '
'; // Close the node that wraps the status
// Build the stream feed.
$html .= '
';
$html .= '';
$html .= '