This commit is contained in:
Michael RICOIS 2018-02-22 15:30:25 +01:00
parent 89478191be
commit 71e3ab5317

View File

@ -8,9 +8,12 @@ class AdminPrivateSalesSales extends AdminTab {
private $imagelist;
public function __construct() {
$this->lang = TRUE;
public function __construct()
{
$this->lang = true;
parent::__construct();
$this->imagelist = array(
'liston' => array($this->l('Listing image (on)'), '380x178'),
'listoff' => array($this->l('Listing image (off)'), '380x178'),
@ -24,7 +27,8 @@ class AdminPrivateSalesSales extends AdminTab {
);
}
public function displayForm($isMainTab=TRUE) {
public function displayForm($isMainTab = true)
{
global $currentIndex, $cookie;
parent::displayForm();