// Cms categories list
This commit is contained in:
@@ -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
|
||||
));
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user