1 <?php 2 /* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */ 3 4 namespace Icinga\Controllers; 5 6 use Icinga\Application\Icinga; 7 use Icinga\Application\Version; 8 use Icinga\Web\Controller; 9 10 class AboutController extends Controller 11 { 12 public function indexAction() 13 { 14 $this->view->version = Version::get(); 15 $this->view->libraries = Icinga::app()->getLibraries(); 16 $this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules(); 17 $this->view->title = $this->translate('About'); 18 $this->view->tabs = $this->getTabs()->add( 19 'about', 20 array( 21 'label' => $this->translate('About'), 22 'title' => $this->translate('About Icinga Web 2'), 23 'url' => 'about' 24 ) 25 )->activate('about'); 26 } 27 }