Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Mike Cochrane (mike@graftonhall.co.nz)
저자: Jan Schneider (jan@horde.org)
저자: Michael Slusarz (slusarz@horde.org)
예제 #1
0
 /**
  */
 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");
 }
예제 #2
0
파일: Summary.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     if (!isset($this->_params['days'])) {
         $this->_params['days'] = 7;
     }
     $this->_name = _("Calendar Summary");
 }
예제 #3
0
파일: Weather.php 프로젝트: kossamums/horde
 /**
  */
 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");
 }
예제 #4
0
 /**
  */
 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'));
 }
예제 #5
0
파일: Metar.php 프로젝트: horde/horde
 /**
  */
 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'];
 }
예제 #6
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Example Block");
 }
예제 #7
0
파일: Page.php 프로젝트: raz0rsdge/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Wiki page");
 }
예제 #8
0
파일: Sunrise.php 프로젝트: raz0rsdge/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Sunrise/Sunset");
 }
예제 #9
0
파일: Recent.php 프로젝트: jubinpatel/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Recent visitors");
 }
예제 #10
0
파일: Feed.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->enabled = class_exists('Horde_Feed');
     $this->_name = _("Syndicated Feed");
 }
예제 #11
0
파일: Account.php 프로젝트: horde/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Account Information");
 }
예제 #12
0
파일: Metar.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 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");
 }
예제 #13
0
파일: Google.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->enabled = isset($GLOBALS['conf']['api']['googlesearch']);
     $this->_name = _("Google Search");
 }
예제 #14
0
파일: Fortune.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 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");
 }
예제 #15
0
파일: Scribd.php 프로젝트: jubinpatel/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = Horde_Service_Scribd_Translation::t("Scribd Documents");
 }
예제 #16
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Bookmarks tagged with '%s'");
 }
예제 #17
0
파일: Iframe.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("View an external web page");
 }
예제 #18
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Overview");
 }
예제 #19
0
파일: MyGalleries.php 프로젝트: horde/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("My Galleries");
 }
예제 #20
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->enabled = !empty($GLOBALS['conf']['twitter']['enabled']);
     $this->_name = _("Twitter Timeline");
 }
예제 #21
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Most-clicked Bookmarks");
 }
예제 #22
0
파일: NewsPopular.php 프로젝트: horde/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Most Popular Stories");
 }
예제 #23
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->enabled = !empty($GLOBALS['conf']['faces']['driver']);
     $this->_name = _("Recent faces");
 }
예제 #24
0
파일: Know.php 프로젝트: jubinpatel/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("People you might know");
 }
예제 #25
0
파일: Summary.php 프로젝트: raz0rsdge/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Tasks Summary");
 }
예제 #26
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Last comments on my profile");
 }
예제 #27
0
파일: Latest.php 프로젝트: jubinpatel/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Latest News");
 }
예제 #28
0
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Upcoming Events");
 }
예제 #29
0
파일: Cloud.php 프로젝트: jubinpatel/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Tag Cloud");
 }
예제 #30
0
파일: Thread.php 프로젝트: raz0rsdge/horde
 /**
  */
 public function __construct($app, $params = array())
 {
     parent::__construct($app, $params);
     $this->_name = _("Single Thread");
 }