// Add label attributes for, refacto browse file
This commit is contained in:
@@ -97,7 +97,7 @@ class AdminGendersControllerCore extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'hint' => $this->l('Invalid characters:').' 0-9!<>,;?=+()@#"�{}_$%:',
|
||||
'hint' => $this->l('Invalid characters:').' 0-9!<>,;?=+()@#"�{}_$%:',
|
||||
'required' => true
|
||||
),
|
||||
array(
|
||||
@@ -145,7 +145,7 @@ class AdminGendersControllerCore extends AdminController
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
'class' => 'button'
|
||||
'class' => 'btn btn-primary'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -43,8 +43,8 @@ class AdminImagesControllerCore extends AdminController
|
||||
$this->fields_list = array(
|
||||
'id_image_type' => array('title' => $this->l('ID'), 'align' => 'center'),
|
||||
'name' => array('title' => $this->l('Name'), 'width' => 'auto'),
|
||||
'width' => array('title' => $this->l('Width'), 'align' => 'right', 'suffix' => ' px'),
|
||||
'height' => array('title' => $this->l('Height'), 'align' => 'right', 'suffix' => ' px'),
|
||||
'width' => array('title' => $this->l('Width'), 'suffix' => ' px'),
|
||||
'height' => array('title' => $this->l('Height'), 'suffix' => ' px'),
|
||||
'products' => array('title' => $this->l('Products'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
|
||||
'categories' => array('title' => $this->l('Categories'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
|
||||
'manufacturers' => array('title' => $this->l('Manufacturers'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
|
||||
|
||||
Reference in New Issue
Block a user