diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index a89ea308..f0a159a7 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -41,7 +41,7 @@ class Director_ListController extends ActionController public function servicesAction() { - $this->setHostTabs()->activate('services'); + $this->setServiceTabs()->activate('services'); $this->view->addLink = $this->view->qlink( $this->translate('Add Service'), 'director/object/service' @@ -53,7 +53,7 @@ class Director_ListController extends ActionController public function servicegroupsAction() { - $this->setHostTabs()->activate('servicegroups'); + $this->setServiceTabs()->activate('servicegroups'); $this->view->addLink = $this->view->qlink( $this->translate('Add Servicegroup'), 'director/object/servicegroup' diff --git a/library/Director/ActionController.php b/library/Director/ActionController.php index c2247c9e..95fa443b 100644 --- a/library/Director/ActionController.php +++ b/library/Director/ActionController.php @@ -60,7 +60,7 @@ abstract class ActionController extends Controller protected function setServiceTabs() { $this->view->tabs = Widget::create('tabs')->add('services', array( - 'label' => $this->translate('Hosts'), + 'label' => $this->translate('Services'), 'url' => 'director/list/services') )->add('servicegroups', array( 'label' => $this->translate('Servicegroups'),