/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); foreach (Turba::getAddressBooks(Horde_Perms::READ) as $key => $addressbook) { $this->_options[$key] = $addressbook['title']; } $this->_name = _("Contact Search"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); if (!isset($this->_params['days'])) { $this->_params['days'] = 7; } $this->_name = _("Calendar Summary"); }
/** */ public function __construct($app, $params = array()) { global $injector; parent::__construct($app, $params); try { $this->_weather = $injector->getInstance('Horde_Weather'); } catch (Horde_Exception $e) { $this->enabled = false; } $this->_name = _("Weather"); }
/** */ public function __construct($app, $params = array()) { try { $this->_facebook = $GLOBALS['injector']->getInstance('Horde_Service_Facebook'); } catch (Horde_Exception $e) { $this->enabled = false; return; } parent::__construct($app, $params); $this->_name = _("My Facebook Stream"); $this->_fbp = unserialize($GLOBALS['prefs']->getValue('facebook')); }
/** */ public function __construct($app, $params = array()) { global $injector, $conf; parent::__construct($app, $params); $this->_name = _("Metar Weather"); if (!class_exists('Horde_Service_Weather_Metar')) { $this->enabled = false; return; } $params = array('cache' => $injector->getInstance('Horde_Cache'), 'cache_lifetime' => $conf['weather']['params']['lifetime'], 'http_client' => $injector->createInstance('Horde_Core_Factory_HttpClient')->create(), 'db' => $injector->getInstance('Horde_Db_Adapter')); $this->_weather = new Horde_Service_Weather_Metar($params); $this->_weather->units = $this->_params['units']; }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Example Block"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Wiki page"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Sunrise/Sunset"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Recent visitors"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = class_exists('Horde_Feed'); $this->_name = _("Syndicated Feed"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Account Information"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = !empty($GLOBALS['conf']['sql']['phptype']) && class_exists('Services_Weather') && class_exists('DB'); $this->_name = _("Metar Weather"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = isset($GLOBALS['conf']['api']['googlesearch']); $this->_name = _("Google Search"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = isset($GLOBALS['conf']['fortune']['exec_path']) && is_executable($GLOBALS['conf']['fortune']['exec_path']); $this->_name = _("Random Fortune"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = Horde_Service_Scribd_Translation::t("Scribd Documents"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Bookmarks tagged with '%s'"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("View an external web page"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Overview"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("My Galleries"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = !empty($GLOBALS['conf']['twitter']['enabled']); $this->_name = _("Twitter Timeline"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Most-clicked Bookmarks"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Most Popular Stories"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = !empty($GLOBALS['conf']['faces']['driver']); $this->_name = _("Recent faces"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("People you might know"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Tasks Summary"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Last comments on my profile"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Latest News"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Upcoming Events"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Tag Cloud"); }
/** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("Single Thread"); }