[+] BO Manufacturers

This commit is contained in:
Kevin Granger
2013-07-26 10:21:23 +02:00
parent 9e5bbac559
commit 72b046d5f0
2 changed files with 9 additions and 6 deletions
@@ -47,7 +47,8 @@
<div class="alert alert-info">{$field}</div>
{elseif $key == 'input'}
{foreach $field as $input}
<div class="row">
<div class="row {if $input.type == 'hidden'}hide{/if}">
{if $input.type == 'hidden'}
<input type="hidden" name="{$input.name}" id="{$input.name}" value="{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}" />
{else}
@@ -223,7 +223,7 @@ class AdminManufacturersControllerCore extends AdminController
'tinymce' => true,
'legend' => array(
'title' => $this->l('Manufacturers:'),
'image' => '../img/admin/manufacturers.gif'
'icon' => 'icon-certificate'
),
'input' => array(
array(
@@ -275,11 +275,13 @@ class AdminManufacturersControllerCore extends AdminController
'label' => $this->l('Meta keywords:'),
'name' => 'meta_keywords',
'lang' => true,
'hint' => $this->l('Forbidden characters:').' <>;=#{}',
'desc' => $this->l('To add "tags," click inside the field, write something, and then press "Enter."')
'hint' => array(
$this->l('Forbidden characters:').' <>;=#{}',
$this->l('To add "tags," click inside the field, write something, and then press "Enter."')
)
),
array(
'type' => 'radio',
'type' => 'switch',
'label' => $this->l('Enable:'),
'name' => 'active',
'required' => false,
@@ -356,7 +358,7 @@ class AdminManufacturersControllerCore extends AdminController
$form = array(
'legend' => array(
'title' => $this->l('Addresses'),
'image' => '../img/admin/contact.gif'
'icon' => 'icon-building'
)
);