* @copyright PrestaShop * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 * @version 1.3 * */ include_once(dirname(__FILE__).'/../../classes/AdminTab.php'); class AdminZones extends AdminTab { public function __construct() { $this->table = 'zone'; $this->className = 'Zone'; $this->lang = false; $this->edit = true; $this->delete = true; $this->fieldsDisplay = array( 'id_zone' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), 'name' => array('title' => $this->l('Zone'), 'width' => 150), 'active' => array('title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false) ); parent::__construct(); } public function displayForm($isMainTab = true) { global $currentIndex; parent::displayForm(); $obj = $this->loadObject(true); echo '
'; } } ?>