public function display() { global $cookie; if (isset($_GET["filename"])) { AgileSellerMessenger::openUploadedFile($_GET["id_seller"], $_GET["filename"]); } else { parent::display(); } }
public function display() { parent::display(); }
public function displayAjax() { if (Tools::getValue('action') == 'newCustomPrice' || Tools::getValue('action') == 'editCustomPrice') { $this->layout = 'layout-modal.tpl'; $this->bootstrap = true; $this->display_header = false; $this->display_header_javascript = true; $this->display_footer = true; $this->content_only = true; $this->lite_display = true; } else { if ($this->json) { $this->context->smarty->assign(array('json' => true, 'status' => $this->status)); } $this->layout = 'layout-ajax.tpl'; $this->display_header = false; $this->display_header_javascript = false; $this->display_footer = false; } return parent::display(); }