示例#1
0
 /**
  * Display the view
  */
 function display($tpl = null)
 {
     require_once JPATH_COMPONENT . '/helpers/multilangstatus.php';
     $this->homes = multilangstatusHelper::getHomes();
     $this->language_filter = JLanguageMultilang::isEnabled();
     $this->switchers = multilangstatusHelper::getLangswitchers();
     $this->contentlangs = multilangstatusHelper::getContentlangs();
     $this->site_langs = multilangstatusHelper::getSitelangs();
     $this->statuses = multilangstatusHelper::getStatus();
     $this->homepages = multilangstatusHelper::getHomepages();
     parent::display($tpl);
 }
示例#2
0
 /**
  * Display the view
  */
 function display($tpl = null)
 {
     require_once JPATH_COMPONENT . '/helpers/multilangstatus.php';
     $this->homes = multilangstatusHelper::getHomes();
     $this->language_filter = JLanguageMultilang::isEnabled();
     $this->switchers = multilangstatusHelper::getLangswitchers();
     if (JComponentHelper::isEnabled('com_contact', true)) {
         $this->listUsersError = multilangstatusHelper::getContacts();
     }
     $this->contentlangs = multilangstatusHelper::getContentlangs();
     $this->site_langs = multilangstatusHelper::getSitelangs();
     $this->statuses = multilangstatusHelper::getStatus();
     $this->homepages = multilangstatusHelper::getHomepages();
     parent::display($tpl);
 }