// fix duplicate 'add new'
This commit is contained in:
@@ -1571,8 +1571,6 @@ if (false)
|
|||||||
</script>';
|
</script>';
|
||||||
////////////////////////
|
////////////////////////
|
||||||
$this->l('in category').' "'.stripslashes($this->_category->getName()).'"</h3>';
|
$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->content .= '<div style="margin:10px;">';
|
||||||
// $this->displayList($token);
|
// $this->displayList($token);
|
||||||
// $this->display = 'list';
|
// $this->display = 'list';
|
||||||
|
|||||||
Reference in New Issue
Block a user