diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index 99e535f8..7030b619 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -20,6 +20,14 @@ class Director_ListController extends ActionController $this->render('table'); } + public function datafieldAction() + { + $this->setConfigTabs()->activate('datafield'); + $this->view->title = $this->translate('Data fields'); + $this->view->table = $this->loadTable('datafield')->setConnection($this->db()); + $this->render('table'); + } + public function generatedconfigAction() { $this->view->addLink = $this->view->qlink( diff --git a/library/Director/Web/Controller/ActionController.php b/library/Director/Web/Controller/ActionController.php index 0fcaae8f..5dbc7b5c 100644 --- a/library/Director/Web/Controller/ActionController.php +++ b/library/Director/Web/Controller/ActionController.php @@ -45,6 +45,9 @@ abstract class ActionController extends Controller )->add('datalist', array( 'label' => $this->translate('Data lists'), 'url' => 'director/list/datalist') + )->add('datafield', array( + 'label' => $this->translate('Data fields'), + 'url' => 'director/list/datafield') ); return $this->view->tabs; }