[+] BO : added new input type tags

This commit is contained in:
vAugagneur
2011-11-22 21:48:07 +00:00
parent 9cd74ad901
commit a190f5dd21
5 changed files with 69 additions and 9 deletions
+9 -3
View File
@@ -76,7 +76,14 @@ class AdminMetaControllerCore extends AdminController
$this->options['routes']['submit'] = array();
}
}
public function setMedia()
{
parent::setMedia();
$this->addJqueryUi('ui.widget');
$this->addJqueryPlugin('tagify');
}
public function addFieldRoute($routeID, $title)
{
$keywords = array();
@@ -122,7 +129,6 @@ class AdminMetaControllerCore extends AdminController
'desc' => $this->l('Name of the related page'),
'required' => true,
'empty_message' => '<p>'.$this->l('There is no page available!').'</p>',
'size' => 30
),
array(
'type' => 'text',
@@ -143,7 +149,7 @@ class AdminMetaControllerCore extends AdminController
'size' => 50
),
array(
'type' => 'text',
'type' => 'tags',
'label' => $this->l('Meta keywords:'),
'name' => 'keywords',
'lang' => true,