diff --git a/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl index c8054a776..c94531454 100644 --- a/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl @@ -34,14 +34,13 @@ {if $shared_category}
{l s='If you delete this picture, it will be deleted in all of your shared shops!'}
{/if} - -
{l s='Delete'}
+
+ {l s='Delete'}
{/if}
{/if}
- {if !empty($input.hint)}{$input.hint} {/if}
{else}
{$smarty.block.parent}
{/if}
@@ -63,11 +62,11 @@
{block name="description"}
{$smarty.block.parent}
{if ($input.name == 'groupBox')}
- +
{$input.info_introduction}
{$input.unidentified}
{$input.guest}
{$input.customer}
{l s='File size'} {$fields_value.size}kb
- + {$fields_value[$input.name].image} +{l s='File size'} {$fields_value[$input.name].size}kb
{l s='Delete'} -======= - {$fields_value[$input.name].image} -{l s='File size'} {$fields_value[$input.name].size}kb
- -
{l s='Delete'}
->>>>>>> 6ac3f1133ae7547ff92964c47ec141c3ab5bf5c4
-
- | {l s='ID'} | {l s='Group name'} | - + + {foreach $groups as $key => $group}
|---|---|
| @@ -42,6 +43,7 @@ |
{l s='No group created'}
diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index 3ed2faca5..cf2e96e3a 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -407,8 +407,6 @@ class AdminCategoriesControllerCore extends AdminController 'name' => 'description', 'autoload_rte' => true, 'lang' => true, - 'rows' => 10, - 'cols' => 100, 'hint' => $this->l('Invalid characters:').' <>;=#{}' ), array( @@ -416,7 +414,7 @@ class AdminCategoriesControllerCore extends AdminController 'label' => $this->l('Image:'), 'name' => 'image', 'display_image' => true, - 'desc' => $this->l('Upload a category logo from your computer.') + 'hint' => $this->l('Upload a category logo from your computer.') ), array( 'type' => 'text', @@ -437,8 +435,7 @@ class AdminCategoriesControllerCore 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' => $this->l('To add "tags," click in the field, write something, and then press "Enter."').' '.$this->l('Forbidden characters:').' <>;=#{}' ), array( 'type' => 'text', @@ -457,12 +454,12 @@ class AdminCategoriesControllerCore extends AdminController 'unidentified' => $unidentified_group_information, 'guest' => $guest_group_information, 'customer' => $default_group_information, - 'desc' => $this->l('Mark all of the customer groups you;d like to have access to this category.') + 'hint' => $this->l('Mark all of the customer groups you;d like to have access to this category.') ) ), 'submit' => array( 'title' => $this->l('Save'), - 'class' => 'button' + 'class' => 'btn-primary' ) );