Exemple #1
0
 function display($tpl = null)
 {
     $cid = JRequest::getVar('cid', array(0), '', 'array');
     TOOLBAR_enmasse::_SMENU();
     TOOLBAR_enmasse::_SETTING();
     $setting = JModel::getInstance('setting', 'enmasseModel')->getSetting($cid[0]);
     $countryJOptList = JModel::getInstance('setting', 'enmasseModel')->listCountryJOpt('country', $setting->country, true);
     $taxList = JModel::getInstance('tax', 'enmasseModel')->listAllPublished();
     $this->assignRef('setting', $setting);
     $this->assignRef('countryJOptList', $countryJOptList);
     $this->assignRef('taxList', $taxList);
     $this->userGroupList = EnmasseHelper::getJoomlaUserGroups();
     parent::display($tpl);
 }