public function __construct() { $this->name = 'trustedshops'; $this->tab = 'advertising_marketing'; $this->version = '2.3.1'; $this->author = 'silbersaiten'; $this->bootstrap = true; self::$template_version = version_compare(_PS_VERSION_, '1.6', '<') ? '1.5' : '1.6'; parent::__construct(); TSCommon::setTranslationObject($this); self::$obj_ts_common = new TSCommon(); self::$obj_ts_common->setEnvApi(TSCommon::ENV_MOD); self::$obj_ts_common->setModuleName($this->name); self::$obj_ts_common->setSmarty($this->context->smarty); if (!extension_loaded('soap')) { $this->warnings[] = $this->l('This module requires the SOAP PHP extension to function properly.'); } if (!empty(self::$obj_ts_common->warnings)) { $this->warnings = array_merge($this->warnings, self::$obj_ts_common->warnings); } if (!empty($this->warnings)) { $this->warning = implode(',<br />', $this->warnings) . '.'; } $this->displayName = $this->l('Trusted Shops Customer Reviews'); $this->description = $this->l('Easily collect, show and manage real customer reviews. Integrate the TrustedShops Trustbadge® within minutes and display trust at first glance.'); $this->confirmUninstall = $this->l('Are you sure you want to delete all your settings?'); }