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'} + + {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}

{/if} -{/block} +{/block} \ No newline at end of file diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index c1ff7864b..97d337cd4 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -91,7 +91,7 @@ {/literal} {/if} @@ -270,15 +270,33 @@ + {elseif $input.type == 'textarea'} {if isset($input.lang) AND $input.lang} -
- {foreach $languages as $language} -
- -
- {/foreach} + {foreach $languages as $language} +
+
+
+
+ + +
+
+ {/foreach} + {else} {/if} @@ -297,29 +315,18 @@ {if isset($input.display_image) && $input.display_image} {if isset($fields_value[$input.name].image) && $fields_value[$input.name].image}
-<<<<<<< HEAD - {$fields_value.image} -

{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'} {l s='Delete'} ->>>>>>> 6ac3f1133ae7547ff92964c47ec141c3ab5bf5c4 - -

+
{/if} {/if} - {if !empty($input.hint)}{$input.hint} {/if} {elseif $input.type == 'password'} @@ -367,7 +374,6 @@ {$asso_shop} {elseif $input.type == 'color'} {elseif $input.type == 'date'} - + + - + + {foreach $groups as $key => $group} {/foreach} +
{l s='ID'} {l s='Group name'}
@@ -42,6 +43,7 @@
{else}

{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' ) );