[*] BO : cms meta keywords now use tagify
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13716 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
d97ecb2315
commit
cbf360b2a3
2 files changed
+14
-4
No files matched your search
@@ -138,4 +138,11 @@ class AdminCmsContentControllerCore extends AdminController
|
|||||||
|| (Tools::isSubmit('position') && Tools::isSubmit('id_cms_category_to_move')))
|
|| (Tools::isSubmit('position') && Tools::isSubmit('id_cms_category_to_move')))
|
||||||
$this->adminCMSCategories->postProcess();
|
$this->adminCMSCategories->postProcess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setMedia()
|
||||||
|
{
|
||||||
|
parent::setMedia();
|
||||||
|
$this->addJqueryUi('ui.widget');
|
||||||
|
$this->addJqueryPlugin('tagify');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -96,21 +96,24 @@ class AdminCmsControllerCore extends AdminController
|
|||||||
'lang' => true,
|
'lang' => true,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'class' => 'copy2friendlyUrl',
|
'class' => 'copy2friendlyUrl',
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 50
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Meta description'),
|
'label' => $this->l('Meta description'),
|
||||||
'name' => 'meta_description',
|
'name' => 'meta_description',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 70
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'tags',
|
||||||
'label' => $this->l('Meta keywords'),
|
'label' => $this->l('Meta keywords'),
|
||||||
'name' => 'meta_keywords',
|
'name' => 'meta_keywords',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'size' => 70
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
|
|||||||
Reference in new issue
Block a user