// Cms categories list

This commit is contained in:
Jerome Nadaud
2013-09-23 10:13:45 +02:00
parent 39d84759a3
commit 45c7cb7757
2 changed files with 6 additions and 6 deletions
@@ -44,12 +44,12 @@ class AdminCmsCategoriesControllerCore extends AdminController
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
$this->fields_list = array(
'id_cms_category' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 30),
'id_cms_category' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'),
'name' => array('title' => $this->l('Name'), 'width' => 'auto', 'callback' => 'hideCMSCategoryPosition', 'callback_object' => 'CMSCategory'),
'description' => array('title' => $this->l('Description'), 'width' => 500, 'maxlength' => 90, 'orderby' => false),
'position' => array('title' => $this->l('Position'), 'width' => 40,'filter_key' => 'position', 'align' => 'center', 'position' => 'position'),
'description' => array('title' => $this->l('Description'), 'maxlength' => 90, 'orderby' => false),
'position' => array('title' => $this->l('Position'),'filter_key' => 'position', 'align' => 'center', 'class' => 'fixed-width-sm', 'position' => 'position'),
'active' => array(
'title' => $this->l('Displayed'), 'width' => 25, 'active' => 'status',
'title' => $this->l('Displayed'), 'class' => 'fixed-width-sm', 'active' => 'status',
'align' => 'center','type' => 'bool', 'orderby' => false
));
+2 -2
View File
@@ -46,8 +46,8 @@ class AdminCmsControllerCore extends AdminController
'id_cms' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'),
'link_rewrite' => array('title' => $this->l('URL')),
'meta_title' => array('title' => $this->l('Title'), 'filter_key' => 'b!meta_title'),
'position' => array('title' => $this->l('Position'),'filter_key' => 'position', 'align' => 'center', 'class' => 'fixed-width-md', 'position' => 'position'),
'active' => array('title' => $this->l('Displayed'), 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false)
'position' => array('title' => $this->l('Position'),'filter_key' => 'position', 'align' => 'center', 'class' => 'fixed-width-sm', 'position' => 'position'),
'active' => array('title' => $this->l('Displayed'), 'align' => 'center', 'active' => 'status', 'class' => 'fixed-width-sm', 'type' => 'bool', 'orderby' => false)
);
// The controller can't be call directly