[+] BO Scenes - Tags - Attachments

This commit is contained in:
Kevin Granger
2013-07-26 11:12:50 +02:00
parent 72b046d5f0
commit 8b7c29dd18
5 changed files with 34 additions and 45 deletions
+12 -16
View File
@@ -73,7 +73,7 @@ class AdminSuppliersControllerCore extends AdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Suppliers'),
'image' => '../img/admin/suppliers.gif'
'icon' => 'icon-truck'
),
'input' => array(
array(
@@ -84,7 +84,6 @@ class AdminSuppliersControllerCore extends AdminController
'type' => 'text',
'label' => $this->l('Name'),
'name' => 'name',
'size' => 40,
'required' => true,
'hint' => $this->l('Invalid characters:').' <>;=#{}',
),
@@ -92,25 +91,23 @@ class AdminSuppliersControllerCore extends AdminController
'type' => 'textarea',
'label' => $this->l('Description:'),
'name' => 'description',
'cols' => 60,
'rows' => 10,
'lang' => true,
'hint' => $this->l('Invalid characters:').' <>;=#{}',
'desc' => $this->l('Will appear in the supplier list')
'hint' => array(
$this->l('Invalid characters:').' <>;=#{}',
$this->l('Will appear in the supplier list')
)
),
array(
'type' => 'text',
'label' => $this->l('Phone:'),
'name' => 'phone',
'size' => 15,
'maxlength' => 16,
'desc' => $this->l('Phone number for this supplier')
'hint' => $this->l('Phone number for this supplier')
),
array(
'type' => 'text',
'label' => $this->l('Address:'),
'name' => 'address',
'size' => 100,
'maxlength' => 128,
'required' => true
),
@@ -118,14 +115,12 @@ class AdminSuppliersControllerCore extends AdminController
'type' => 'text',
'label' => $this->l('Address:').' (2)',
'name' => 'address2',
'size' => 100,
'maxlength' => 128,
),
array(
'type' => 'text',
'label' => $this->l('Postal Code/Zip Code:'),
'name' => 'postcode',
'size' => 10,
'maxlength' => 12,
'required' => true,
),
@@ -133,7 +128,6 @@ class AdminSuppliersControllerCore extends AdminController
'type' => 'text',
'label' => $this->l('City:'),
'name' => 'city',
'size' => 20,
'maxlength' => 32,
'required' => true,
),
@@ -164,7 +158,7 @@ class AdminSuppliersControllerCore extends AdminController
'label' => $this->l('Logo:'),
'name' => 'logo',
'display_image' => true,
'desc' => $this->l('Upload a supplier logo from your computer')
'hint' => $this->l('Upload a supplier logo from your computer')
),
array(
'type' => 'text',
@@ -185,11 +179,13 @@ class AdminSuppliersControllerCore extends AdminController
'label' => $this->l('Meta keywords:'),
'name' => 'meta_keywords',
'lang' => true,
'hint' => $this->l('Forbidden characters:').' <>;=#{}',
'desc' => $this->l('To add "tags" click in the field, write something and then press "Enter"')
'hint' => array(
$this->l('To add "tags" click in the field, write something and then press "Enter"'),
$this->l('Forbidden characters:').' <>;=#{}'
)
),
array(
'type' => 'radio',
'type' => 'switch',
'label' => $this->l('Enable:'),
'name' => 'active',
'required' => false,