// fix duplicate 'add new'

This commit is contained in:
mMarinetti
2011-10-20 16:13:40 +00:00
parent bbfe2fe2e0
commit b4cb8649da
@@ -1571,8 +1571,6 @@ if (false)
</script>';
////////////////////////
$this->l('in category').' "'.stripslashes($this->_category->getName()).'"</h3>';
if ($this->tabAccess['add'] === '1')
$this->content .= '<a href="'.self::$currentIndex.'&id_category='.$id_category.'&add'.$this->table.'&token='.($token != null ? $token : $this->token).'"><img src="../img/admin/add.gif" border="0" /> '.$this->l('Add a new product').'</a>';
$this->content .= '<div style="margin:10px;">';
// $this->displayList($token);
// $this->display = 'list';