// Remove unused attributeLang
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10265 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -182,7 +182,6 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤public_name',
|
||||
'size' => 33,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
||||
@@ -192,7 +191,6 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
'label' => $this->l('Public name:'),
|
||||
'name' => 'public_name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤public_name',
|
||||
'size' => 33,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
@@ -249,7 +247,6 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'size' => 33,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
||||
|
||||
@@ -208,7 +208,6 @@ class AdminCarriersControllerCore extends AdminController
|
||||
'label' => $this->l('Transit time:'),
|
||||
'name' => 'delay',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'delay',
|
||||
'required' => true,
|
||||
'size' => 41,
|
||||
'maxlength' => 128,
|
||||
|
||||
@@ -177,7 +177,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'size' => 48,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
||||
@@ -225,7 +224,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Description:'),
|
||||
'name' => 'description',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'rows' => 10,
|
||||
'cols' => 100,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
||||
@@ -242,7 +240,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Meta title:'),
|
||||
'name' => 'meta_title',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -250,7 +247,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Meta description:'),
|
||||
'name' => 'meta_description',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -258,7 +254,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Meta keywords:'),
|
||||
'name' => 'meta_keywords',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -266,7 +261,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
'label' => $this->l('Friendly URL:'),
|
||||
'name' => 'link_rewrite',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤description¤meta_title¤meta_description¤meta_keywords¤link_rewrite',
|
||||
'required' => true,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
|
||||
@@ -154,7 +154,6 @@ class AdminCountriesControllerCore extends AdminController
|
||||
'label' => $this->l('Country:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'size' => 30,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
|
||||
@@ -102,7 +102,6 @@ class AdminGendersController extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'size' => 33,
|
||||
'hint' => $this->l('Invalid characters:').' 0-9!<>,;?=+()@#"�{}_$%:',
|
||||
'required' => true
|
||||
|
||||
@@ -227,7 +227,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
|
||||
public function initForm()
|
||||
{
|
||||
$lang_tags = 'short_description¤description¤meta_title¤meta_keywords¤meta_description';
|
||||
$this->fields_form = array(
|
||||
'tinymce' => true,
|
||||
'legend' => array(
|
||||
@@ -248,7 +247,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'label' => $this->l('Short description:'),
|
||||
'name' => 'short_description',
|
||||
'lang' => true,
|
||||
'attributeLang' => $lang_tags,
|
||||
'cols' => 60,
|
||||
'rows' => 10,
|
||||
'class' => 'rte',
|
||||
@@ -259,7 +257,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'label' => $this->l('Description:'),
|
||||
'name' => 'description',
|
||||
'lang' => true,
|
||||
'attributeLang' => $lang_tags,
|
||||
'cols' => 60,
|
||||
'rows' => 10,
|
||||
'class' => 'rte',
|
||||
@@ -277,7 +274,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta title:'),
|
||||
'name' => 'meta_title',
|
||||
'lang' => true,
|
||||
'attributeLang' => $lang_tags,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -285,7 +281,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta description:'),
|
||||
'name' => 'meta_description',
|
||||
'lang' => true,
|
||||
'attributeLang' => $lang_tags,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -293,7 +288,6 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'label' => $this->l('Meta keywords:'),
|
||||
'name' => 'meta_keywords',
|
||||
'lang' => true,
|
||||
'attributeLang' => $lang_tags,
|
||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
|
||||
@@ -129,7 +129,6 @@ class AdminMetaControllerCore extends AdminController
|
||||
'label' => $this->l('Page\'s title:'),
|
||||
'name' => 'title',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'title',
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
'p' => $this->l('Title of this page'),
|
||||
'size' => 30
|
||||
@@ -139,7 +138,6 @@ class AdminMetaControllerCore extends AdminController
|
||||
'label' => $this->l('Meta description:'),
|
||||
'name' => 'description',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'description',
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
'p' => $this->l('A short description'),
|
||||
'size' => 50
|
||||
@@ -149,7 +147,6 @@ class AdminMetaControllerCore extends AdminController
|
||||
'label' => $this->l('Meta keywords:'),
|
||||
'name' => 'keywords',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'keywords',
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
'p' => $this->l('List of keywords'),
|
||||
'size' => 50
|
||||
@@ -159,7 +156,6 @@ class AdminMetaControllerCore extends AdminController
|
||||
'label' => $this->l('Rewritten URL:'),
|
||||
'name' => 'url_rewrite',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'url_rewrite',
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||
'p' => $this->l('Example : "contacts" for http://mysite.com/shop/contacts to redirect to http://mysite.com/shop/contact-form.php'),
|
||||
'size' => 50
|
||||
|
||||
@@ -70,7 +70,6 @@ class AdminOrderMessageController extends AdminController
|
||||
array(
|
||||
'type' => 'text',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤message',
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'size' => 53,
|
||||
@@ -79,7 +78,6 @@ class AdminOrderMessageController extends AdminController
|
||||
array(
|
||||
'type' => 'textarea',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤message',
|
||||
'label' => $this->l('Message:'),
|
||||
'name' => 'message',
|
||||
'cols' => 50,
|
||||
|
||||
@@ -55,7 +55,6 @@ class AdminProfilesControllerCore extends AdminController
|
||||
'size' => 33,
|
||||
'required' => true,
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
)
|
||||
),
|
||||
'submit' => array(
|
||||
|
||||
@@ -77,7 +77,6 @@ class AdminQuickAccessesController extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'size' => 33,
|
||||
'maxlength' => 32,
|
||||
'required' => true,
|
||||
|
||||
@@ -190,7 +190,6 @@ class AdminStatusesControllerCore extends AdminController
|
||||
'label' => $this->l('Status name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤template',
|
||||
'size' => 40,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters: numbers and').' !<>,;?=+()@#"�{}_$%:',
|
||||
@@ -289,7 +288,6 @@ class AdminStatusesControllerCore extends AdminController
|
||||
'label' => $this->l('Template:'),
|
||||
'name' => 'template',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤template',
|
||||
'options' => array(
|
||||
'query' => $this->getTemplates($this->context->language->iso_code),
|
||||
'id' => 'id',
|
||||
@@ -338,7 +336,6 @@ class AdminStatusesControllerCore extends AdminController
|
||||
'label' => $this->l('Status name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name¤template',
|
||||
'size' => 40,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters: numbers and').' !<>,;?=+()@#"�{}_$%:',
|
||||
|
||||
@@ -135,7 +135,6 @@ class AdminStockMvtControllerCore extends AdminController
|
||||
array(
|
||||
'type' => 'text',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'size' => 50,
|
||||
|
||||
@@ -160,7 +160,6 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
array(
|
||||
'type' => 'text',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'size' => 50,
|
||||
@@ -287,7 +286,6 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
array(
|
||||
'type' => 'text',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'size' => 50,
|
||||
|
||||
@@ -102,7 +102,6 @@ class AdminTabsControllerCore extends AdminController
|
||||
'label' => $this->l('Name:'),
|
||||
'name' => 'name',
|
||||
'lang' => true,
|
||||
'attributeLang' => 'name',
|
||||
'size' => 33,
|
||||
'required' => true,
|
||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
||||
@@ -222,7 +221,7 @@ class AdminTabsControllerCore extends AdminController
|
||||
return;
|
||||
}
|
||||
/* PrestaShop demo mode*/
|
||||
|
||||
|
||||
if (($id_tab = (int)Tools::getValue('id_tab')) && ($direction = Tools::getValue('move')) && Validate::isLoadedObject($tab = new Tab($id_tab)))
|
||||
{
|
||||
if ($tab->move($direction))
|
||||
|
||||
Reference in New Issue
Block a user