[+] 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
@@ -60,14 +60,13 @@ class AdminAttachmentsControllerCore extends AdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Attachment'),
'image' => '../img/t/AdminAttachments.gif'
'icon' => 'icon-paper-clip'
),
'input' => array(
array(
'type' => 'text',
'label' => $this->l('Filename:'),
'name' => 'name',
'size' => 33,
'required' => true,
'lang' => true,
),
@@ -75,15 +74,13 @@ class AdminAttachmentsControllerCore extends AdminController
'type' => 'textarea',
'label' => $this->l('Description:'),
'name' => 'description',
'cols' => 40,
'rows' => 10,
'lang' => true,
),
array(
'type' => 'file',
'label' => $this->l('File:'),
'name' => 'file',
'desc' => $this->l('Upload a file from your computer.')
'hint' => $this->l('Upload a file from your computer.')
),
),
'submit' => array(
+2 -3
View File
@@ -140,7 +140,7 @@ class AdminScenesControllerCore extends AdminController
$fields_form = array(
'legend' => array(
'title' => $this->l('Image Maps'),
'image' => '../img/admin/photo.gif',
'icon' => 'icon-picture',
),
'submit' => array(
'title' => $this->l('Save'),
@@ -164,12 +164,11 @@ class AdminScenesControllerCore extends AdminController
'label' => $this->l('Image map name:'),
'name' => 'name',
'lang' => true,
'size' => 48,
'required' => true,
'hint' => $this->l('Invalid characters:').' <>;=#{}'
),
array(
'type' => 'radio',
'type' => 'switch',
'label' => $this->l('Status:'),
'name' => 'active',
'required' => false,
+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,
+2 -1
View File
@@ -104,7 +104,8 @@ class AdminTagsControllerCore extends AdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Tag')
'title' => $this->l('Tag'),
'icon' => 'icon-tag'
),
'input' => array(
array(