From 425b83eff819b530dcb65dac6b56c508abc2e72c Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Tue, 20 Dec 2011 15:37:49 +0000 Subject: [PATCH] // Fix bug with specific prices creation git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11421 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/helper/form/form.tpl | 3 +-- controllers/admin/AdminCategoriesController.php | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/template/helper/form/form.tpl b/admin-dev/themes/template/helper/form/form.tpl index 93613d969..7e5bbe2a9 100644 --- a/admin-dev/themes/template/helper/form/form.tpl +++ b/admin-dev/themes/template/helper/form/form.tpl @@ -94,10 +94,9 @@ name="{$input.name}_{$language.id_lang}" id="{if isset($input.id)}{$input.id}_{$language.id_lang}{else}{$input.name}_{$language.id_lang}{/if}" value="{$fields_value[$input.name][$language.id_lang]}" - class="{if $input.type == 'tags'}tagify {/if}" + class="{if $input.type == 'tags'}tagify {/if}{if isset($input.class)}{$input.class}{/if}" {if isset($input.size)}size="{$input.size}"{/if} {if isset($input.maxlength)}maxlength="{$input.maxlength}"{/if} - {if isset($input.class)}class="{$input.class}"{/if} {if isset($input.readonly) && $input.readonly}readonly="readonly"{/if} {if isset($input.disabled) && $input.disabled}disabled="disabled"{/if} /> {if isset($input.hint)}{$input.hint} {/if} diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index f84e1a8c5..ce7279d00 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -186,7 +186,8 @@ class AdminCategoriesControllerCore extends AdminController 'lang' => true, 'size' => 48, 'required' => true, - 'hint' => $this->l('Invalid characters:').' <>;=#{}' + 'class' => 'copy2friendlyUrl', + 'hint' => $this->l('Invalid characters:').' <>;=#{}', ), array( 'type' => 'radio',