icingaweb2/application/controllers/AboutController.php

28 lines
827 B
PHP
Raw Normal View History

<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Controllers;
use Icinga\Application\Icinga;
2015-09-30 17:07:55 +02:00
use Icinga\Application\Version;
use Icinga\Web\Controller;
2015-09-30 17:07:55 +02:00
class AboutController extends Controller
{
public function indexAction()
{
$this->view->version = Version::get();
2020-11-12 16:08:07 +01:00
$this->view->libraries = Icinga::app()->getLibraries();
$this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
$this->view->title = $this->translate('About');
2015-09-30 17:07:55 +02:00
$this->view->tabs = $this->getTabs()->add(
'about',
array(
'label' => $this->translate('About'),
'title' => $this->translate('About Icinga Web 2'),
'url' => 'about'
)
)->activate('about');
}
}