diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index 14fdf56c6..94851f174 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -52,11 +52,11 @@ class AdminCategoriesControllerCore extends AdminController 'id_category' => array( 'title' => $this->l('ID'), 'align' => 'center', - 'width' => 30 + 'width' => 20 ), 'name' => array( 'title' => $this->l('Name'), - 'width' => 100 + 'width' => 'auto' ), 'description' => array( 'title' => $this->l('Description'), @@ -77,6 +77,7 @@ class AdminCategoriesControllerCore extends AdminController 'active' => 'status', 'align' => 'center', 'type' => 'bool', + 'width' => 70, 'orderby' => false ) ); @@ -133,17 +134,17 @@ class AdminCategoriesControllerCore extends AdminController // $this->toolbar_title = stripslashes($this->_category->getName()); if (empty($this->display)) $this->toolbar_btn['new'] = array( - 'href' => self::$currentIndex.'&add'.$this->table.'&token='.$this->token, + 'href' => self::$currentIndex.'&add'.$this->table.'&token='.$this->token, 'desc' => $this->l('Add new') ); if (Tools::getValue('id_category')) $this->toolbar_btn['edit'] = array( - 'href' => self::$currentIndex.'&update'.$this->table.'&id_category='.Tools::getValue('id_category').'&token='.$this->token, + 'href' => self::$currentIndex.'&update'.$this->table.'&id_category='.Tools::getValue('id_category').'&token='.$this->token, 'desc' => $this->l('Edit') ); if ($this->display == 'view') $this->toolbar_btn['new'] = array( - 'href' => self::$currentIndex.'&add'.$this->table.'&id_parent='.Tools::getValue('id_category').'&token='.$this->token, + 'href' => self::$currentIndex.'&add'.$this->table.'&id_parent='.Tools::getValue('id_category').'&token='.$this->token, 'desc' => $this->l('Add new') ); parent::initToolbar(); diff --git a/controllers/admin/AdminManufacturersController.php b/controllers/admin/AdminManufacturersController.php index e359c88bd..2db72f1f3 100644 --- a/controllers/admin/AdminManufacturersController.php +++ b/controllers/admin/AdminManufacturersController.php @@ -53,31 +53,36 @@ class AdminManufacturersControllerCore extends AdminController 'title' => $this->l('ID'), 'width' => 25 ), - 'name' => array( - 'title' => $this->l('Name'), - 'width' => 200 - ), 'logo' => array( 'title' => $this->l('Logo'), 'image' => 'm', 'orderby' => false, - 'search' => false + 'search' => false, + 'width' => 150, + 'align' => 'center', + ), + 'name' => array( + 'title' => $this->l('Name'), + 'width' => 'auto' ), 'addresses' => array( 'title' => $this->l('Addresses'), 'tmpTableFilter' => true, - 'width' => 20 + 'width' => 20, + 'align' => 'center', ), 'products' => array( 'title' => $this->l('Products'), 'tmpTableFilter' => true, - 'width' => 20 + 'width' => 20, + 'align' => 'center', ), 'active' => array( 'title' => $this->l('Enabled'), - 'width' => 25, + 'width' => 70, 'active' => 'status', 'type' => 'bool', + 'align' => 'center', 'orderby' => false ) ); @@ -111,7 +116,7 @@ class AdminManufacturersControllerCore extends AdminController public function initListManufacturerAddresses() { - + $this->toolbar_title = $this->l('Addresses'); // reset actions and query vars $this->actions = array(); @@ -148,7 +153,7 @@ class AdminManufacturersControllerCore extends AdminController ), 'manufacturer_name' => array( 'title' => $this->l('Manufacturer'), - 'width' => 100 + 'width' => 'auto' ), 'firstname' => array( 'title' => $this->l('First name'), diff --git a/controllers/admin/AdminSuppliersController.php b/controllers/admin/AdminSuppliersController.php index 84818a0b1..37397370e 100644 --- a/controllers/admin/AdminSuppliersController.php +++ b/controllers/admin/AdminSuppliersController.php @@ -45,10 +45,10 @@ class AdminSuppliersControllerCore extends AdminController $this->fieldsDisplay = array( 'id_supplier' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), - 'name' => array('title' => $this->l('Name'), 'width' => 120), - 'logo' => array('title' => $this->l('Logo'), 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false), - 'products' => array('title' => $this->l('Number of products'), 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true), - 'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false) + 'logo' => array('title' => $this->l('Logo'), 'width' => 150, 'align' => 'center', 'image' => 'su', 'orderby' => false, 'search' => false), + 'name' => array('title' => $this->l('Name'), 'width' => 'auto'), + 'products' => array('title' => $this->l('Number of products'), 'width' => 70, 'align' => 'right', 'filter_type' => 'int', 'tmpTableFilter' => true), + 'active' => array('title' => $this->l('Enabled'), 'width' => 70, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false) ); parent::__construct();