name = 'uecookie'; $this->tab = 'Blocks'; $this->author = 'MyPresta.eu'; $this->version = '1.7.8'; $this->module_key = '98954d996259885532adabb50f129a9d'; $this->mypresta_link = 'https://mypresta.eu/modules/front-office-features/european-union-cookie-law.html'; $this->dir = '/modules/uecookie/'; $this->setup = $this->getconf(); $this->psver = $this->psversion(); $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('European Union Cookies Law'); $this->description = $this->l('This module displays a nice information about Cookies in your shop'); $this->checkforupdates(); } public function checkforupdates($display_msg = 0, $form = 0) { // ---------- // // ---------- // // VERSION 16 // // ---------- // // ---------- // $this->mkey = "nlc"; if (@file_exists('../modules/' . $this->name . '/key.php')) { @require_once('../modules/' . $this->name . '/key.php'); } else { if (@file_exists(dirname(__FILE__) . $this->name . '/key.php')) { @require_once(dirname(__FILE__) . $this->name . '/key.php'); } else { if (@file_exists('modules/' . $this->name . '/key.php')) { @require_once('modules/' . $this->name . '/key.php'); } } } if ($form == 1) { return '