name = 'blockauth'; $this->tab = 'front_office_features'; $this->version = '1.0'; parent::__construct(); $this->displayName = $this->l('Auth block'); $this->description = $this->l('Adds an authentication block on the homepage.'); } function install() { if (!parent::install()) return false; return $this->registerHook('home'); } function hookHome($params) { return $this->display(__FILE__, 'blockauth.tpl'); } } ?>