// Fields resizing
This commit is contained in:
@@ -103,6 +103,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Name'),
|
||||
'name' => 'name',
|
||||
'required' => true,
|
||||
'col' => 4,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
),
|
||||
array(
|
||||
@@ -121,6 +122,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Phone:'),
|
||||
'name' => 'phone',
|
||||
'maxlength' => 16,
|
||||
'col' => 4,
|
||||
'hint' => $this->l('Phone number for this supplier')
|
||||
),
|
||||
array(
|
||||
@@ -128,12 +130,14 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Address:'),
|
||||
'name' => 'address',
|
||||
'maxlength' => 128,
|
||||
'col' => 6,
|
||||
'required' => true
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Address:').' (2)',
|
||||
'name' => 'address2',
|
||||
'col' => 6,
|
||||
'maxlength' => 128,
|
||||
),
|
||||
array(
|
||||
@@ -141,6 +145,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Postal Code/Zip Code:'),
|
||||
'name' => 'postcode',
|
||||
'maxlength' => 12,
|
||||
'col' => 2,
|
||||
'required' => true,
|
||||
),
|
||||
array(
|
||||
@@ -148,6 +153,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('City:'),
|
||||
'name' => 'city',
|
||||
'maxlength' => 32,
|
||||
'col' => 4,
|
||||
'required' => true,
|
||||
),
|
||||
array(
|
||||
@@ -155,6 +161,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Country:'),
|
||||
'name' => 'id_country',
|
||||
'required' => true,
|
||||
'col' => 4,
|
||||
'default_value' => (int)$this->context->country->id,
|
||||
'options' => array(
|
||||
'query' => Country::getCountries($this->context->language->id, false),
|
||||
@@ -166,6 +173,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'type' => 'select',
|
||||
'label' => $this->l('State'),
|
||||
'name' => 'id_state',
|
||||
'col' => 4,
|
||||
'options' => array(
|
||||
'id' => 'id_state',
|
||||
'query' => array(),
|
||||
@@ -184,6 +192,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta title:'),
|
||||
'name' => 'meta_title',
|
||||
'lang' => true,
|
||||
'col' => 4,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -191,6 +200,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta description:'),
|
||||
'name' => 'meta_description',
|
||||
'lang' => true,
|
||||
'col' => 6,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -198,6 +208,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta keywords:'),
|
||||
'name' => 'meta_keywords',
|
||||
'lang' => true,
|
||||
'col' => 6,
|
||||
'hint' => array(
|
||||
$this->l('To add "tags" click in the field, write something and then press "Enter"'),
|
||||
$this->l('Forbidden characters:').' <>;=#{}'
|
||||
|
||||
Reference in New Issue
Block a user