public function initContent($token = null) { $pproperties = new PProperties(); foreach ($pproperties->getTranslations('AdminProducts') as $key => $value) { $this->tpl_form_vars[$key] = $value; } if ($this->display == 'edit' || $this->display == 'add') { Product::$amend = false; } elseif ($this->tabAccess['edit'] === '1') { if (!is_array($this->bulk_actions)) { $this->bulk_actions = array(); } $this->bulk_actions['manageTemplatesDivider'] = array('text' => 'divider'); $this->bulk_actions['manageTemplates'] = array('text' => $this->l('Manage templates'), 'icon' => 'icon-template'); } parent::initContent($token); }