ListController: re-introduce datalistentryAction
This commit is contained in:
parent
bee2544028
commit
05edb871dc
|
@ -67,6 +67,28 @@ class ListController extends ActionController
|
|||
$this->prepareAndRenderTable('datalist');
|
||||
}
|
||||
|
||||
public function datalistentryAction()
|
||||
{
|
||||
$listId = $this->params->get('list_id');
|
||||
$this->view->lastId = $listId;
|
||||
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->translate('Add entry'),
|
||||
'director/datalistentry/add' . '?list_id=' . $listId
|
||||
);
|
||||
|
||||
$this->view->title = $this->translate('List entries');
|
||||
$this->getTabs()->add('editlist', array(
|
||||
'url' => 'director/datalist/edit' . '?id=' . $listId,
|
||||
'label' => $this->translate('Edit list'),
|
||||
))->add('datalistentry', array(
|
||||
'url' => 'director/datalistentry' . '?list_id=' . $listId,
|
||||
'label' => $this->view->title,
|
||||
))->activate('datalistentry');
|
||||
|
||||
$this->prepareAndRenderTable('datalistEntry');
|
||||
}
|
||||
|
||||
public function datafieldAction()
|
||||
{
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
|
|
Loading…
Reference in New Issue