Use ipl, try to keep dipl compatibility

This commit is contained in:
Thomas Gelf 2019-05-02 13:23:06 +02:00
parent 90c07943e4
commit 17f8ef1dd0
117 changed files with 380 additions and 334 deletions

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Widget\NameValueTable; use gipfl\IcingaWeb2\Widget\NameValueTable;
use Exception; use Exception;
use Icinga\Date\DateFormatter; use Icinga\Date\DateFormatter;
use Icinga\Module\Director\ConfigDiff; use Icinga\Module\Director\ConfigDiff;
@ -18,7 +18,7 @@ use Icinga\Module\Director\Forms\BasketForm;
use Icinga\Module\Director\Forms\BasketUploadForm; use Icinga\Module\Director\Forms\BasketUploadForm;
use Icinga\Module\Director\Forms\RestoreBasketForm; use Icinga\Module\Director\Forms\RestoreBasketForm;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Web\Table\BasketSnapshotTable; use Icinga\Module\Director\Web\Table\BasketSnapshotTable;
class BasketController extends ActionController class BasketController extends ActionController

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use Icinga\Module\Director\Web\Table\BasketTable; use Icinga\Module\Director\Web\Table\BasketTable;

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Forms\IcingaCommandArgumentForm; use Icinga\Module\Director\Forms\IcingaCommandArgumentForm;
use Icinga\Module\Director\Objects\IcingaCommand; use Icinga\Module\Director\Objects\IcingaCommand;
use Icinga\Module\Director\Resolver\CommandUsage; use Icinga\Module\Director\Resolver\CommandUsage;

View File

@ -24,11 +24,11 @@ use Icinga\Module\Director\Web\Widget\ShowConfigFile;
use Icinga\Web\Notification; use Icinga\Web\Notification;
use Exception; use Exception;
use RuntimeException; use RuntimeException;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\HtmlString; use ipl\Html\HtmlString;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Icon;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class ConfigController extends ActionController class ConfigController extends ActionController
{ {
@ -445,7 +445,7 @@ class ConfigController extends ActionController
} }
/** /**
* @return \dipl\Web\Widget\Tabs * @return \gipfl\IcingaWeb2\Widget\Tabs
*/ */
protected function configTabs() protected function configTabs()
{ {

View File

@ -2,7 +2,6 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html;
use Icinga\Module\Director\Web\Widget\HealthCheckPluginOutput; use Icinga\Module\Director\Web\Widget\HealthCheckPluginOutput;
use Icinga\Module\Director\Dashboard\Dashboard; use Icinga\Module\Director\Dashboard\Dashboard;
use Icinga\Module\Director\Health; use Icinga\Module\Director\Health;
@ -19,9 +18,13 @@ class DashboardController extends ActionController
protected function addDbSelection() protected function addDbSelection()
{ {
if ($this->isMultiDbSetup()) { if ($this->isMultiDbSetup()) {
$form = new DbSelectorForm($this->Window(), $this->listAllowedDbResourceNames()); $form = new DbSelectorForm(
$this->getResponse(),
$this->Window(),
$this->listAllowedDbResourceNames()
);
$this->content()->add($form); $this->content()->add($form);
$form->handleRequest($this->getRequest()); $form->handleRequest($this->getServerRequest());
} }
} }

View File

@ -11,7 +11,7 @@ use Icinga\Module\Director\Web\Table\DatafieldTable;
use Icinga\Module\Director\Web\Table\DatalistEntryTable; use Icinga\Module\Director\Web\Table\DatalistEntryTable;
use Icinga\Module\Director\Web\Table\DatalistTable; use Icinga\Module\Director\Web\Table\DatalistTable;
use Icinga\Module\Director\Web\Tabs\DataTabs; use Icinga\Module\Director\Web\Tabs\DataTabs;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class DataController extends ActionController class DataController extends ActionController
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Web\Widget\HealthCheckPluginOutput; use Icinga\Module\Director\Web\Widget\HealthCheckPluginOutput;
use Icinga\Module\Director\Health; use Icinga\Module\Director\Health;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
use Exception; use Exception;
use Icinga\Module\Director\CustomVariable\CustomVariableDictionary; use Icinga\Module\Director\CustomVariable\CustomVariableDictionary;
use Icinga\Module\Director\Db\AppliedServiceSetLoader; use Icinga\Module\Director\Db\AppliedServiceSetLoader;

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Data\Filter\FilterChain; use Icinga\Data\Filter\FilterChain;
use Icinga\Data\Filter\FilterExpression; use Icinga\Data\Filter\FilterExpression;
@ -11,7 +11,7 @@ use Icinga\Module\Director\Forms\IcingaAddServiceForm;
use Icinga\Module\Director\Forms\IcingaAddServiceSetForm; use Icinga\Module\Director\Forms\IcingaAddServiceSetForm;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use Icinga\Module\Director\Web\Controller\ObjectsController; use Icinga\Module\Director\Web\Controller\ObjectsController;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class HostsController extends ObjectsController class HostsController extends ObjectsController
{ {

View File

@ -15,7 +15,7 @@ use Icinga\Module\Director\Web\Table\PropertymodifierTable;
use Icinga\Module\Director\Web\Tabs\ImportsourceTabs; use Icinga\Module\Director\Web\Tabs\ImportsourceTabs;
use Icinga\Module\Director\Web\Widget\ImportSourceDetails; use Icinga\Module\Director\Web\Widget\ImportSourceDetails;
use InvalidArgumentException; use InvalidArgumentException;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class ImportsourceController extends ActionController class ImportsourceController extends ActionController
{ {
@ -124,7 +124,7 @@ class ImportsourceController extends ActionController
$this->addTitle('Clone: %s', $source->get('source_name')); $this->addTitle('Clone: %s', $source->get('source_name'));
$form = new CloneImportSourceForm($source); $form = new CloneImportSourceForm($source);
$this->content()->add($form); $this->content()->add($form);
$form->handleRequest($this->getRequest()); $form->handleRequest($this->getServerRequest());
} }
/** /**

View File

@ -10,8 +10,8 @@ use Icinga\Module\Director\Web\Table\CoreApiObjectsTable;
use Icinga\Module\Director\Web\Table\CoreApiPrototypesTable; use Icinga\Module\Director\Web\Table\CoreApiPrototypesTable;
use Icinga\Module\Director\Web\Tabs\ObjectTabs; use Icinga\Module\Director\Web\Tabs\ObjectTabs;
use Icinga\Module\Director\Web\Tree\InspectTreeRenderer; use Icinga\Module\Director\Web\Tree\InspectTreeRenderer;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use Icinga\Module\Director\Web\Widget\IcingaObjectInspection; use Icinga\Module\Director\Web\Widget\IcingaObjectInspection;
class InspectController extends ActionController class InspectController extends ActionController

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use Icinga\Module\Director\Forms\DirectorJobForm; use Icinga\Module\Director\Forms\DirectorJobForm;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use Icinga\Module\Director\Objects\DirectorJob; use Icinga\Module\Director\Objects\DirectorJob;

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class SchemaController extends ActionController class SchemaController extends ActionController
{ {

View File

@ -12,7 +12,7 @@ use Icinga\Module\Director\Objects\IcingaZone;
use Icinga\Module\Director\Settings; use Icinga\Module\Director\Settings;
use Icinga\Module\Director\Util; use Icinga\Module\Director\Util;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use dipl\Html\Html; use ipl\Html\Html;
class SelfServiceController extends ActionController class SelfServiceController extends ActionController
{ {

View File

@ -11,8 +11,8 @@ use Icinga\Module\Director\Objects\IcingaHost;
use Icinga\Module\Director\Web\Form\DirectorObjectForm; use Icinga\Module\Director\Web\Form\DirectorObjectForm;
use Icinga\Module\Director\Web\Table\IcingaAppliedServiceTable; use Icinga\Module\Director\Web\Table\IcingaAppliedServiceTable;
use Icinga\Web\Widget\Tab; use Icinga\Web\Widget\Tab;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class ServiceController extends ObjectController class ServiceController extends ObjectController
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Module\Director\DirectorObject\Automation\ExportInterface; use Icinga\Module\Director\DirectorObject\Automation\ExportInterface;
use Icinga\Module\Director\Web\Controller\ObjectsController; use Icinga\Module\Director\Web\Controller\ObjectsController;

View File

@ -9,7 +9,7 @@ use Icinga\Module\Director\Web\Controller\ObjectController;
use Icinga\Module\Director\Web\Form\DirectorObjectForm; use Icinga\Module\Director\Web\Form\DirectorObjectForm;
use Icinga\Module\Director\Web\Table\IcingaServiceSetHostTable; use Icinga\Module\Director\Web\Table\IcingaServiceSetHostTable;
use Icinga\Module\Director\Web\Table\IcingaServiceSetServiceTable; use Icinga\Module\Director\Web\Table\IcingaServiceSetServiceTable;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class ServicesetController extends ObjectController class ServicesetController extends ObjectController
{ {

View File

@ -6,7 +6,7 @@ use Icinga\Module\Director\Forms\KickstartForm;
use Icinga\Module\Director\Forms\SelfServiceSettingsForm; use Icinga\Module\Director\Forms\SelfServiceSettingsForm;
use Icinga\Module\Director\Settings; use Icinga\Module\Director\Settings;
use Icinga\Module\Director\Web\Controller\ActionController; use Icinga\Module\Director\Web\Controller\ActionController;
use dipl\Html\Html; use ipl\Html\Html;
class SettingsController extends ActionController class SettingsController extends ActionController
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Exception\NotFoundError; use Icinga\Exception\NotFoundError;
use Icinga\Module\Director\Hook\ImportSourceHook; use Icinga\Module\Director\Hook\ImportSourceHook;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Controllers; namespace Icinga\Module\Director\Controllers;
use dipl\Web\Widget\UnorderedList; use gipfl\IcingaWeb2\Widget\UnorderedList;
use Icinga\Module\Director\ConfigDiff; use Icinga\Module\Director\ConfigDiff;
use Icinga\Module\Director\Db\Cache\PrefetchCache; use Icinga\Module\Director\Db\Cache\PrefetchCache;
use Icinga\Module\Director\DirectorObject\Automation\ExportInterface; use Icinga\Module\Director\DirectorObject\Automation\ExportInterface;
@ -24,8 +24,8 @@ use Icinga\Module\Director\Web\Table\SyncpropertyTable;
use Icinga\Module\Director\Web\Table\SyncRunTable; use Icinga\Module\Director\Web\Table\SyncRunTable;
use Icinga\Module\Director\Web\Tabs\SyncRuleTabs; use Icinga\Module\Director\Web\Tabs\SyncRuleTabs;
use Icinga\Module\Director\Web\Widget\SyncRunDetails; use Icinga\Module\Director\Web\Widget\SyncRunDetails;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class SyncruleController extends ActionController class SyncruleController extends ActionController
{ {
@ -270,7 +270,7 @@ class SyncruleController extends ActionController
/** /**
* @param IcingaObject[] $objects * @param IcingaObject[] $objects
* @return \dipl\Html\HtmlElement * @return \ipl\Html\HtmlElement
* @throws \Icinga\Exception\NotFoundError * @throws \Icinga\Exception\NotFoundError
*/ */
protected function objectList($objects) protected function objectList($objects)
@ -499,7 +499,7 @@ class SyncruleController extends ActionController
$form = new CloneSyncRuleForm($rule); $form = new CloneSyncRuleForm($rule);
$this->content()->add($form); $this->content()->add($form);
$form->handleRequest($this->getRequest()); $form->handleRequest($this->getServerRequest());
} }
/** /**

View File

@ -2,9 +2,9 @@
namespace Icinga\Module\Director\Forms; namespace Icinga\Module\Director\Forms;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\HtmlDocument; use ipl\Html\HtmlDocument;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use Icinga\Module\Director\DirectorObject\Automation\Basket; use Icinga\Module\Director\DirectorObject\Automation\Basket;
use Icinga\Module\Director\Web\Form\DirectorForm; use Icinga\Module\Director\Web\Form\DirectorForm;

View File

@ -9,7 +9,7 @@ use Icinga\Module\Director\Db;
use Icinga\Module\Director\Deployment\DeploymentInfo; use Icinga\Module\Director\Deployment\DeploymentInfo;
use Icinga\Module\Director\IcingaConfig\IcingaConfig; use Icinga\Module\Director\IcingaConfig\IcingaConfig;
use Icinga\Module\Director\Web\Form\DirectorForm; use Icinga\Module\Director\Web\Form\DirectorForm;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Icon;
use Zend_View_Interface; use Zend_View_Interface;
class DeploymentLinkForm extends DirectorForm class DeploymentLinkForm extends DirectorForm

View File

@ -6,9 +6,9 @@ use Icinga\Exception\AuthenticationException;
use Icinga\Module\Director\Repository\IcingaTemplateRepository; use Icinga\Module\Director\Repository\IcingaTemplateRepository;
use Icinga\Module\Director\Restriction\HostgroupRestriction; use Icinga\Module\Director\Restriction\HostgroupRestriction;
use Icinga\Module\Director\Web\Form\DirectorObjectForm; use Icinga\Module\Director\Web\Form\DirectorObjectForm;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class IcingaHostForm extends DirectorObjectForm class IcingaHostForm extends DirectorObjectForm
{ {

View File

@ -11,8 +11,8 @@ use Icinga\Module\Director\Web\Form\DirectorObjectForm;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use Icinga\Module\Director\Objects\IcingaService; use Icinga\Module\Director\Objects\IcingaService;
use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Objects\IcingaServiceSet;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use RuntimeException; use RuntimeException;
class IcingaServiceForm extends DirectorObjectForm class IcingaServiceForm extends DirectorObjectForm

View File

@ -10,8 +10,8 @@ use Icinga\Module\Director\Db\Migrations;
use Icinga\Module\Director\Objects\IcingaEndpoint; use Icinga\Module\Director\Objects\IcingaEndpoint;
use Icinga\Module\Director\KickstartHelper; use Icinga\Module\Director\KickstartHelper;
use Icinga\Module\Director\Web\Form\DirectorForm; use Icinga\Module\Director\Web\Form\DirectorForm;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class KickstartForm extends DirectorForm class KickstartForm extends DirectorForm
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Forms; namespace Icinga\Module\Director\Forms;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Icon;
use Icinga\Module\Director\Web\Form\DirectorForm; use Icinga\Module\Director\Web\Form\DirectorForm;
class RemoveLinkForm extends DirectorForm class RemoveLinkForm extends DirectorForm

View File

@ -3,7 +3,7 @@
namespace Icinga\Module\Director; namespace Icinga\Module\Director;
use Diff; use Diff;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
use InvalidArgumentException; use InvalidArgumentException;
class ConfigDiff implements ValidHtml class ConfigDiff implements ValidHtml

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Dashboard; namespace Icinga\Module\Director\Dashboard;
use dipl\Html\HtmlDocument; use ipl\Html\HtmlDocument;
use Exception; use Exception;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
@ -10,10 +10,10 @@ use Icinga\Module\Director\Restriction\HostgroupRestriction;
use Icinga\Module\Director\Dashboard\Dashlet\Dashlet; use Icinga\Module\Director\Dashboard\Dashlet\Dashlet;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Web\Widget\Tab; use Icinga\Web\Widget\Tab;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\HtmlString; use ipl\Html\HtmlString;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
use Zend_Db_Select as ZfSelect; use Zend_Db_Select as ZfSelect;
abstract class Dashboard extends HtmlDocument abstract class Dashboard extends HtmlDocument

View File

@ -6,11 +6,11 @@ use DirectoryIterator;
use Icinga\Exception\ProgrammingError; use Icinga\Exception\ProgrammingError;
use Icinga\Module\Director\Acl; use Icinga\Module\Director\Acl;
use Icinga\Module\Director\Dashboard\Dashboard; use Icinga\Module\Director\Dashboard\Dashboard;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Icon;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
abstract class Dashlet extends BaseHtmlElement abstract class Dashlet extends BaseHtmlElement
{ {

View File

@ -9,7 +9,7 @@ use Icinga\Module\Director\Objects\ImportSource;
use Icinga\Module\Director\Util; use Icinga\Module\Director\Util;
use Icinga\Module\Director\Web\Form\Filter\QueryColumnsFromSql; use Icinga\Module\Director\Web\Form\Filter\QueryColumnsFromSql;
use Icinga\Module\Director\Web\Form\QuickForm; use Icinga\Module\Director\Web\Form\QuickForm;
use dipl\Html\Html; use ipl\Html\Html;
class ImportSourceSql extends ImportSourceHook class ImportSourceSql extends ImportSourceHook
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Resolver; namespace Icinga\Module\Director\Resolver;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use Icinga\Module\Director\Objects\IcingaCommand; use Icinga\Module\Director\Objects\IcingaCommand;
use InvalidArgumentException; use InvalidArgumentException;

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Restriction; namespace Icinga\Module\Director\Restriction;
use dipl\Db\Zf1\FilterRenderer; use gipfl\IcingaWeb2\Zf1\Db\FilterRenderer;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director; namespace Icinga\Module\Director;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Objects\DirectorDeploymentLog; use Icinga\Module\Director\Objects\DirectorDeploymentLog;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
class StartupLogRenderer implements ValidHtml class StartupLogRenderer implements ValidHtml
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director; namespace Icinga\Module\Director;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
class TranslationDummy class TranslationDummy
{ {

View File

@ -7,8 +7,8 @@ use Icinga\Data\ResourceFactory;
use Icinga\Module\Director\Web\Form\QuickForm; use Icinga\Module\Director\Web\Form\QuickForm;
use Icinga\Exception\NotImplementedError; use Icinga\Exception\NotImplementedError;
use Icinga\Exception\ProgrammingError; use Icinga\Exception\ProgrammingError;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use RuntimeException; use RuntimeException;
use Zend_Db_Expr; use Zend_Db_Expr;

View File

@ -2,9 +2,9 @@
namespace Icinga\Module\Director\Web\ActionBar; namespace Icinga\Module\Director\Web\ActionBar;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\ActionBar; use gipfl\IcingaWeb2\Widget\ActionBar;
use Icinga\Web\Request; use Icinga\Web\Request;
class AutomationObjectActionBar extends ActionBar class AutomationObjectActionBar extends ActionBar

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\ActionBar; namespace Icinga\Module\Director\Web\ActionBar;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class ChoicesActionBar extends DirectorBaseActionBar class ChoicesActionBar extends DirectorBaseActionBar
{ {

View File

@ -3,10 +3,10 @@
namespace Icinga\Module\Director\Web\ActionBar; namespace Icinga\Module\Director\Web\ActionBar;
use Icinga\Module\Director\Dashboard\Dashboard; use Icinga\Module\Director\Dashboard\Dashboard;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\ActionBar; use gipfl\IcingaWeb2\Widget\ActionBar;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class DirectorBaseActionBar extends ActionBar class DirectorBaseActionBar extends ActionBar
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\ActionBar; namespace Icinga\Module\Director\Web\ActionBar;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class ObjectsActionBar extends DirectorBaseActionBar class ObjectsActionBar extends DirectorBaseActionBar
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\ActionBar; namespace Icinga\Module\Director\Web\ActionBar;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
class TemplateActionBar extends DirectorBaseActionBar class TemplateActionBar extends DirectorBaseActionBar
{ {

View File

@ -13,12 +13,14 @@ use Icinga\Security\SecurityException;
use Icinga\Web\Controller; use Icinga\Web\Controller;
use Icinga\Web\UrlParams; use Icinga\Web\UrlParams;
use InvalidArgumentException; use InvalidArgumentException;
use dipl\Compat\Translator; use gipfl\IcingaWeb2\Translator;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\ControlsAndContent; use gipfl\IcingaWeb2\Widget\ControlsAndContent;
use dipl\Web\Controller\Extension\ControlsAndContentHelper; use gipfl\IcingaWeb2\Controller\Extension\ControlsAndContentHelper;
use dipl\Zf1\SimpleViewRenderer; use gipfl\IcingaWeb2\Zf1\SimpleViewRenderer;
use GuzzleHttp\Psr7\ServerRequest;
use Psr\Http\Message\ServerRequestInterface;
abstract class ActionController extends Controller implements ControlsAndContent abstract class ActionController extends Controller implements ControlsAndContent
{ {
@ -118,6 +120,14 @@ abstract class ActionController extends Controller implements ControlsAndContent
return $this; return $this;
} }
/**
* @return ServerRequestInterface
*/
protected function getServerRequest()
{
return ServerRequest::fromGlobals();
}
protected function applyPaginationLimits(Paginatable $paginatable, $limit = 25, $offset = null) protected function applyPaginationLimits(Paginatable $paginatable, $limit = 25, $offset = null)
{ {
$limit = $this->params->get('limit', $limit); $limit = $this->params->get('limit', $limit);

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\Controller; namespace Icinga\Module\Director\Web\Controller;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Exception\IcingaException; use Icinga\Exception\IcingaException;
use Icinga\Exception\InvalidPropertyException; use Icinga\Exception\InvalidPropertyException;
use Icinga\Exception\NotFoundError; use Icinga\Exception\NotFoundError;
@ -25,7 +25,7 @@ use Icinga\Module\Director\Web\Table\ActivityLogTable;
use Icinga\Module\Director\Web\Table\GroupMemberTable; use Icinga\Module\Director\Web\Table\GroupMemberTable;
use Icinga\Module\Director\Web\Table\IcingaObjectDatafieldTable; use Icinga\Module\Director\Web\Table\IcingaObjectDatafieldTable;
use Icinga\Module\Director\Web\Tabs\ObjectTabs; use Icinga\Module\Director\Web\Tabs\ObjectTabs;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
abstract class ObjectController extends ActionController abstract class ObjectController extends ActionController
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\Controller; namespace Icinga\Module\Director\Web\Controller;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Icinga\Data\Filter\FilterChain; use Icinga\Data\Filter\FilterChain;
use Icinga\Data\Filter\FilterExpression; use Icinga\Data\Filter\FilterExpression;
use Icinga\Exception\NotFoundError; use Icinga\Exception\NotFoundError;
@ -21,7 +21,7 @@ use Icinga\Module\Director\Web\Table\ObjectsTable;
use Icinga\Module\Director\Web\Table\TemplatesTable; use Icinga\Module\Director\Web\Table\TemplatesTable;
use Icinga\Module\Director\Web\Tabs\ObjectsTabs; use Icinga\Module\Director\Web\Tabs\ObjectsTabs;
use Icinga\Module\Director\Web\Tree\TemplateTreeRenderer; use Icinga\Module\Director\Web\Tree\TemplateTreeRenderer;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use Icinga\Module\Director\Web\Widget\AdditionalTableActions; use Icinga\Module\Director\Web\Widget\AdditionalTableActions;
abstract class ObjectsController extends ActionController abstract class ObjectsController extends ActionController

View File

@ -12,11 +12,11 @@ use Icinga\Module\Director\Web\Table\ObjectsTable;
use Icinga\Module\Director\Web\Table\TemplatesTable; use Icinga\Module\Director\Web\Table\TemplatesTable;
use Icinga\Module\Director\Web\Table\TemplateUsageTable; use Icinga\Module\Director\Web\Table\TemplateUsageTable;
use Icinga\Module\Director\Web\Tabs\ObjectTabs; use Icinga\Module\Director\Web\Tabs\ObjectTabs;
use dipl\Html\FormattedString; use ipl\Html\FormattedString;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\CompatController; use gipfl\IcingaWeb2\CompatController;
use dipl\Web\Widget\UnorderedList; use gipfl\IcingaWeb2\Widget\UnorderedList;
abstract class TemplateController extends CompatController abstract class TemplateController extends CompatController
{ {

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director\Web\Form; namespace Icinga\Module\Director\Web\Form;
use dipl\Html\Form; use ipl\Html\Form;
use dipl\Html\FormDecorator\DdDtDecorator; use ipl\Html\FormDecorator\DdDtDecorator;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Module\Director\Objects\ImportSource; use Icinga\Module\Director\Objects\ImportSource;
class CloneImportSourceForm extends Form class CloneImportSourceForm extends Form
@ -26,7 +26,7 @@ class CloneImportSourceForm extends Form
protected function assemble() protected function assemble()
{ {
$this->addElement('source_name', 'text', [ $this->addElement('text', 'source_name', [
'label' => $this->translate('New name'), 'label' => $this->translate('New name'),
'value' => $this->source->get('source_name'), 'value' => $this->source->get('source_name'),
]); ]);
@ -49,7 +49,7 @@ class CloneImportSourceForm extends Form
public function onSuccess() public function onSuccess()
{ {
$export = $this->source->export(); $export = $this->source->export();
$newName = $this->getValue('source_name'); $newName = $this->getElement('source_name')->getValue();
$export->source_name = $newName; $export->source_name = $newName;
unset($export->originalId); unset($export->originalId);

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director\Web\Form; namespace Icinga\Module\Director\Web\Form;
use dipl\Html\Form; use ipl\Html\Form;
use dipl\Html\FormDecorator\DdDtDecorator; use ipl\Html\FormDecorator\DdDtDecorator;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Module\Director\Objects\SyncRule; use Icinga\Module\Director\Objects\SyncRule;
class CloneSyncRuleForm extends Form class CloneSyncRuleForm extends Form

View File

@ -2,7 +2,9 @@
namespace Icinga\Module\Director\Web\Form; namespace Icinga\Module\Director\Web\Form;
use dipl\Html\Form; use gipfl\IcingaWeb2\Url;
use Icinga\Web\Response;
use ipl\Html\Form;
use Icinga\Web\Window; use Icinga\Web\Window;
class DbSelectorForm extends Form class DbSelectorForm extends Form
@ -16,18 +18,21 @@ class DbSelectorForm extends Form
/** @var Window */ /** @var Window */
protected $window; protected $window;
public function __construct(Window $window, $allowedNames) protected $response;
public function __construct(Response $response, Window $window, $allowedNames)
{ {
$this->response = $response;
$this->window = $window; $this->window = $window;
$this->allowedNames = $allowedNames; $this->allowedNames = $allowedNames;
} }
protected function assemble() protected function assemble()
{ {
$this->addElement('DbSelector', 'hidden', [ $this->addElement('hidden', 'DbSelector', [
'value' => 'sent' 'value' => 'sent'
]); ]);
$this->addElement('db_resource', 'select', [ $this->addElement('select', 'db_resource', [
'options' => $this->allowedNames, 'options' => $this->allowedNames,
'class' => 'autosubmit', 'class' => 'autosubmit',
'value' => $this->getSession()->get('db_resource') 'value' => $this->getSession()->get('db_resource')
@ -41,15 +46,35 @@ class DbSelectorForm extends Form
*/ */
public function hasBeenSubmitted() public function hasBeenSubmitted()
{ {
return $this->hasBeenSent() && $this->getRequest()->get('DbSelector') === 'sent'; return $this->hasBeenSent() && $this->getRequestParam('DbSelector') === 'sent';
} }
public function onSuccess() public function onSuccess()
{ {
$this->getSession()->set('db_resource', $this->getValue('db_resource')); $this->getSession()->set('db_resource', $this->getElement('db_resource')->getValue());
$this->redirectOnSuccess(); $this->response->redirectAndExit(Url::fromRequest($this->getRequest()));
} }
protected function getRequestParam($name, $default = null)
{
$request = $this->getRequest();
if ($request === null) {
return $default;
}
if ($request->getMethod() === 'POST') {
$params = $request->getParsedBody();
} elseif ($this->getMethod() === 'GET') {
parse_str($request->getUri()->getQuery(), $params);
} else {
$params = [];
}
if (array_key_exists($name, $params)) {
return $params[$name];
}
return $default;
}
/** /**
* @return \Icinga\Web\Session\SessionNamespace * @return \Icinga\Web\Session\SessionNamespace
*/ */

View File

@ -5,9 +5,9 @@ namespace Icinga\Module\Director\Web\Form\IplElement;
use Icinga\Exception\ProgrammingError; use Icinga\Exception\ProgrammingError;
use Icinga\Module\Director\IcingaConfig\ExtensibleSet as Set; use Icinga\Module\Director\IcingaConfig\ExtensibleSet as Set;
use Icinga\Module\Director\Web\Form\IconHelper; use Icinga\Module\Director\Web\Form\IconHelper;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
class ExtensibleSetElement extends BaseHtmlElement class ExtensibleSetElement extends BaseHtmlElement
{ {

View File

@ -4,11 +4,12 @@ namespace Icinga\Module\Director\Web\Form;
use Icinga\Application\Icinga; use Icinga\Application\Icinga;
use Icinga\Application\Modules\Module; use Icinga\Application\Modules\Module;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
use dipl\Html\ValidHtml as DiplValidHml;
use Zend_Form; use Zend_Form;
abstract class QuickBaseForm extends Zend_Form implements ValidHtml abstract class QuickBaseForm extends Zend_Form implements ValidHtml, DiplValidHml
{ {
/** /**
* The Icinga module this form belongs to. Usually only set if the * The Icinga module this form belongs to. Usually only set if the

View File

@ -2,14 +2,14 @@
namespace Icinga\Module\Director\Web; namespace Icinga\Module\Director\Web;
use dipl\Html\Text; use ipl\Html\Text;
use Icinga\Module\Director\Exception\NestingError; use Icinga\Module\Director\Exception\NestingError;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use Icinga\Web\Request; use Icinga\Web\Request;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\ControlsAndContent; use gipfl\IcingaWeb2\Widget\ControlsAndContent;
class ObjectPreview class ObjectPreview
{ {

View File

@ -12,11 +12,11 @@ use Icinga\Exception\NotFoundError;
use Icinga\Module\Director\IcingaConfig\AgentWizard; use Icinga\Module\Director\IcingaConfig\AgentWizard;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use Icinga\Module\Director\Util; use Icinga\Module\Director\Util;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\ActionBar; use gipfl\IcingaWeb2\Widget\ActionBar;
use dipl\Web\Widget\ControlsAndContent; use gipfl\IcingaWeb2\Widget\ControlsAndContent;
class SelfService class SelfService
{ {

View File

@ -3,9 +3,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Util; use Icinga\Module\Director\Util;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class ActivityLogTable extends ZfQueryBasedTable class ActivityLogTable extends ZfQueryBasedTable
{ {

View File

@ -9,11 +9,11 @@ use Icinga\Module\Director\Db;
use Icinga\Module\Director\Db\IcingaObjectFilterHelper; use Icinga\Module\Director\Db\IcingaObjectFilterHelper;
use Icinga\Module\Director\IcingaConfig\AssignRenderer; use Icinga\Module\Director\IcingaConfig\AssignRenderer;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use dipl\Db\Zf1\FilterRenderer; use gipfl\IcingaWeb2\Icon;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Link;
use dipl\Html\Link; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Url;
use dipl\Web\Url; use gipfl\IcingaWeb2\Zf1\Db\FilterRenderer;
use Zend_Db_Select as ZfSelect; use Zend_Db_Select as ZfSelect;
class ApplyRulesTable extends ZfQueryBasedTable class ApplyRulesTable extends ZfQueryBasedTable

View File

@ -2,9 +2,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Icinga\Date\DateFormatter; use Icinga\Date\DateFormatter;
use Icinga\Module\Director\Core\Json; use Icinga\Module\Director\Core\Json;
use Icinga\Module\Director\DirectorObject\Automation\Basket; use Icinga\Module\Director\DirectorObject\Automation\Basket;

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class BasketTable extends ZfQueryBasedTable class BasketTable extends ZfQueryBasedTable
{ {

View File

@ -3,9 +3,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class ChoicesTable extends ZfQueryBasedTable class ChoicesTable extends ZfQueryBasedTable
{ {

View File

@ -4,8 +4,8 @@ namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Module\Director\Util; use Icinga\Module\Director\Util;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class ConfigFileDiffTable extends ZfQueryBasedTable class ConfigFileDiffTable extends ZfQueryBasedTable
{ {

View File

@ -2,12 +2,12 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Html\Table; use ipl\Html\Table;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class CoreApiFieldsTable extends Table class CoreApiFieldsTable extends Table
{ {

View File

@ -3,9 +3,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaEndpoint; use Icinga\Module\Director\Objects\IcingaEndpoint;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Html\Table; use ipl\Html\Table;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
class CoreApiObjectsTable extends Table class CoreApiObjectsTable extends Table
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Table; use ipl\Html\Table;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
class CoreApiPrototypesTable extends Table class CoreApiPrototypesTable extends Table
{ {

View File

@ -2,9 +2,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Zend_Db_Adapter_Abstract as ZfDbAdapter; use Zend_Db_Adapter_Abstract as ZfDbAdapter;
use Zend_Db_Select as ZfDbSelect; use Zend_Db_Select as ZfDbSelect;

View File

@ -4,8 +4,8 @@ namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Module\Director\PlainObjectRenderer; use Icinga\Module\Director\PlainObjectRenderer;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Zend_Db_Adapter_Abstract as ZfDbAdapter; use Zend_Db_Adapter_Abstract as ZfDbAdapter;
use Zend_Db_Select as ZfDbSelect; use Zend_Db_Select as ZfDbSelect;

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Zend_Db_Adapter_Abstract as ZfDbAdapter; use Zend_Db_Adapter_Abstract as ZfDbAdapter;
use Zend_Db_Select as ZfDbSelect; use Zend_Db_Select as ZfDbSelect;

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\DirectorDatalist; use Icinga\Module\Director\Objects\DirectorDatalist;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class DatalistEntryTable extends ZfQueryBasedTable class DatalistEntryTable extends ZfQueryBasedTable
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class DatalistTable extends ZfQueryBasedTable class DatalistTable extends ZfQueryBasedTable
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use Icinga\Date\DateFormatter; use Icinga\Date\DateFormatter;
class DeploymentLogTable extends ZfQueryBasedTable class DeploymentLogTable extends ZfQueryBasedTable

View File

@ -4,8 +4,8 @@ namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Module\Director\IcingaConfig\IcingaConfig; use Icinga\Module\Director\IcingaConfig\IcingaConfig;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class GeneratedConfigFileTable extends ZfQueryBasedTable class GeneratedConfigFileTable extends ZfQueryBasedTable
{ {

View File

@ -7,9 +7,9 @@ use Icinga\Module\Director\Db;
use Icinga\Module\Director\IcingaConfig\AssignRenderer; use Icinga\Module\Director\IcingaConfig\AssignRenderer;
use Icinga\Module\Director\Objects\IcingaObjectGroup; use Icinga\Module\Director\Objects\IcingaObjectGroup;
use Exception; use Exception;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class GroupMemberTable extends ZfQueryBasedTable class GroupMemberTable extends ZfQueryBasedTable
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaService; use Icinga\Module\Director\Objects\IcingaService;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaAppliedServiceTable extends ZfQueryBasedTable class IcingaAppliedServiceTable extends ZfQueryBasedTable
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaCommand; use Icinga\Module\Director\Objects\IcingaCommand;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaCommandArgumentTable extends ZfQueryBasedTable class IcingaCommandArgumentTable extends ZfQueryBasedTable
{ {

View File

@ -2,12 +2,12 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Data\DataArray\ArrayDatasource; use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Module\Director\CustomVariable\CustomVariableDictionary; use Icinga\Module\Director\CustomVariable\CustomVariableDictionary;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\SimpleQueryBasedTable; use gipfl\IcingaWeb2\Table\SimpleQueryBasedTable;
class IcingaHostAppliedForServiceTable extends SimpleQueryBasedTable class IcingaHostAppliedForServiceTable extends SimpleQueryBasedTable
{ {

View File

@ -2,15 +2,15 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Data\DataArray\ArrayDatasource; use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Exception\IcingaException; use Icinga\Exception\IcingaException;
use Icinga\Module\Director\IcingaConfig\AssignRenderer; use Icinga\Module\Director\IcingaConfig\AssignRenderer;
use Icinga\Module\Director\Objects\HostApplyMatches; use Icinga\Module\Director\Objects\HostApplyMatches;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\SimpleQueryBasedTable; use gipfl\IcingaWeb2\Table\SimpleQueryBasedTable;
class IcingaHostAppliedServicesTable extends SimpleQueryBasedTable class IcingaHostAppliedServicesTable extends SimpleQueryBasedTable
{ {

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaHostServiceTable extends ZfQueryBasedTable class IcingaHostServiceTable extends ZfQueryBasedTable
{ {

View File

@ -6,8 +6,8 @@ use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use Icinga\Module\Director\Web\Form\IcingaObjectFieldLoader; use Icinga\Module\Director\Web\Form\IcingaObjectFieldLoader;
use Icinga\Web\Url; use Icinga\Web\Url;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\SimpleQueryBasedTable; use gipfl\IcingaWeb2\Table\SimpleQueryBasedTable;
class IcingaObjectDatafieldTable extends SimpleQueryBasedTable class IcingaObjectDatafieldTable extends SimpleQueryBasedTable
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaScheduledDowntime; use Icinga\Module\Director\Objects\IcingaScheduledDowntime;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaScheduledDowntimeRangeTable extends ZfQueryBasedTable class IcingaScheduledDowntimeRangeTable extends ZfQueryBasedTable
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Objects\IcingaServiceSet;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaServiceSetHostTable extends ZfQueryBasedTable class IcingaServiceSetHostTable extends ZfQueryBasedTable
{ {

View File

@ -2,15 +2,15 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\BaseHtmlElement; use ipl\Html\BaseHtmlElement;
use dipl\Html\Html; use ipl\Html\Html;
use Icinga\Module\Director\Forms\RemoveLinkForm; use Icinga\Module\Director\Forms\RemoveLinkForm;
use Icinga\Module\Director\Objects\IcingaHost; use Icinga\Module\Director\Objects\IcingaHost;
use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Objects\IcingaServiceSet;
use dipl\Html\HtmlElement; use ipl\Html\HtmlElement;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class IcingaServiceSetServiceTable extends ZfQueryBasedTable class IcingaServiceSetServiceTable extends ZfQueryBasedTable
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\IcingaTimePeriod; use Icinga\Module\Director\Objects\IcingaTimePeriod;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class IcingaTimePeriodRangeTable extends ZfQueryBasedTable class IcingaTimePeriodRangeTable extends ZfQueryBasedTable
{ {

View File

@ -2,9 +2,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
use dipl\Web\Table\SimpleQueryBasedTable; use gipfl\IcingaWeb2\Table\SimpleQueryBasedTable;
use Icinga\Data\DataArray\ArrayDatasource; use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Module\Director\Objects\ImportRun; use Icinga\Module\Director\Objects\ImportRun;
use Icinga\Module\Director\PlainObjectRenderer; use Icinga\Module\Director\PlainObjectRenderer;

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\ImportSource; use Icinga\Module\Director\Objects\ImportSource;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class ImportrunTable extends ZfQueryBasedTable class ImportrunTable extends ZfQueryBasedTable
{ {

View File

@ -2,14 +2,14 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
use Icinga\Data\DataArray\ArrayDatasource; use Icinga\Data\DataArray\ArrayDatasource;
use Icinga\Module\Director\Hook\ImportSourceHook; use Icinga\Module\Director\Hook\ImportSourceHook;
use Icinga\Module\Director\Import\SyncUtils; use Icinga\Module\Director\Import\SyncUtils;
use Icinga\Module\Director\Objects\ImportSource; use Icinga\Module\Director\Objects\ImportSource;
use Icinga\Module\Director\PlainObjectRenderer; use Icinga\Module\Director\PlainObjectRenderer;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Web\Table\SimpleQueryBasedTable; use gipfl\IcingaWeb2\Table\SimpleQueryBasedTable;
class ImportsourceHookTable extends SimpleQueryBasedTable class ImportsourceHookTable extends SimpleQueryBasedTable
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class ImportsourceTable extends ZfQueryBasedTable class ImportsourceTable extends ZfQueryBasedTable
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class JobTable extends ZfQueryBasedTable class JobTable extends ZfQueryBasedTable
{ {

View File

@ -4,9 +4,9 @@ namespace Icinga\Module\Director\Web\Table;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Module\Director\Restriction\FilterByNameRestriction; use Icinga\Module\Director\Restriction\FilterByNameRestriction;
class ObjectSetTable extends ZfQueryBasedTable class ObjectSetTable extends ZfQueryBasedTable

View File

@ -9,9 +9,9 @@ use Icinga\Module\Director\Objects\IcingaObject;
use Icinga\Module\Director\Restriction\FilterByNameRestriction; use Icinga\Module\Director\Restriction\FilterByNameRestriction;
use Icinga\Module\Director\Restriction\HostgroupRestriction; use Icinga\Module\Director\Restriction\HostgroupRestriction;
use Icinga\Module\Director\Restriction\ObjectRestriction; use Icinga\Module\Director\Restriction\ObjectRestriction;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Zend_Db_Select as ZfSelect; use Zend_Db_Select as ZfSelect;
class ObjectsTable extends ZfQueryBasedTable class ObjectsTable extends ZfQueryBasedTable
@ -170,6 +170,11 @@ class ObjectsTable extends ZfQueryBasedTable
return $tr; return $tr;
} }
protected function getRowClasses()
{
return [];
}
protected function applyObjectTypeFilter(ZfSelect $query) protected function applyObjectTypeFilter(ZfSelect $query)
{ {
return $query->where( return $query->where(

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Icon;
use Zend_Db_Select as ZfSelect; use Zend_Db_Select as ZfSelect;
class ObjectsTableEndpoint extends ObjectsTable class ObjectsTableEndpoint extends ObjectsTable

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Web\Table\Extension\MultiSelect; use gipfl\IcingaWeb2\Table\Extension\MultiSelect;
class ObjectsTableHost extends ObjectsTable class ObjectsTableHost extends ObjectsTable
{ {

View File

@ -2,10 +2,10 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Html; use ipl\Html\Html;
use dipl\Web\Table\Extension\MultiSelect; use gipfl\IcingaWeb2\Table\Extension\MultiSelect;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class ObjectsTableService extends ObjectsTable class ObjectsTableService extends ObjectsTable
{ {

View File

@ -6,10 +6,10 @@ use Error;
use Exception; use Exception;
use Icinga\Module\Director\Hook\ImportSourceHook; use Icinga\Module\Director\Hook\ImportSourceHook;
use Icinga\Module\Director\Objects\ImportSource; use Icinga\Module\Director\Objects\ImportSource;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\Extension\ZfSortablePriority; use gipfl\IcingaWeb2\Table\Extension\ZfSortablePriority;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
class PropertymodifierTable extends ZfQueryBasedTable class PropertymodifierTable extends ZfQueryBasedTable
{ {

View File

@ -15,11 +15,11 @@ use Icinga\Exception\QueryException;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Module\Director\PlainObjectRenderer; use Icinga\Module\Director\PlainObjectRenderer;
use Icinga\Web\Request; use Icinga\Web\Request;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Web\View; use Icinga\Web\View;
use Icinga\Web\Widget; use Icinga\Web\Widget;
use Icinga\Web\Widget\Paginator; use Icinga\Web\Widget\Paginator;
use dipl\Html\ValidHtml; use ipl\Html\ValidHtml;
use stdClass; use stdClass;
use Zend_Db_Select as ZfDbSelect; use Zend_Db_Select as ZfDbSelect;

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\SyncRule; use Icinga\Module\Director\Objects\SyncRule;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class SyncRunTable extends ZfQueryBasedTable class SyncRunTable extends ZfQueryBasedTable
{ {

View File

@ -3,9 +3,9 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use Icinga\Module\Director\Objects\SyncRule; use Icinga\Module\Director\Objects\SyncRule;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\Extension\ZfSortablePriority; use gipfl\IcingaWeb2\Table\Extension\ZfSortablePriority;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class SyncpropertyTable extends ZfQueryBasedTable class SyncpropertyTable extends ZfQueryBasedTable
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
class SyncruleTable extends ZfQueryBasedTable class SyncruleTable extends ZfQueryBasedTable
{ {

View File

@ -5,9 +5,9 @@ namespace Icinga\Module\Director\Web\Table;
use Icinga\Exception\ProgrammingError; use Icinga\Exception\ProgrammingError;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use Icinga\Module\Director\Resolver\TemplateTree; use Icinga\Module\Director\Resolver\TemplateTree;
use dipl\Html\Link; use gipfl\IcingaWeb2\Link;
use dipl\Html\Table; use ipl\Html\Table;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
class TemplateUsageTable extends Table class TemplateUsageTable extends Table
{ {

View File

@ -2,18 +2,18 @@
namespace Icinga\Module\Director\Web\Table; namespace Icinga\Module\Director\Web\Table;
use dipl\Web\Table\Extension\MultiSelect;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Module\Director\Db; use Icinga\Module\Director\Db;
use Icinga\Module\Director\Db\IcingaObjectFilterHelper; use Icinga\Module\Director\Db\IcingaObjectFilterHelper;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use dipl\Db\Zf1\FilterRenderer; use ipl\Html\Html;
use dipl\Html\Html; use gipfl\IcingaWeb2\Icon;
use dipl\Html\Icon; use gipfl\IcingaWeb2\Link;
use dipl\Html\Link; use gipfl\IcingaWeb2\Table\Extension\MultiSelect;
use dipl\Web\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use dipl\Web\Url; use gipfl\IcingaWeb2\Url;
use gipfl\IcingaWeb2\Zf1\Db\FilterRenderer;
use Zend_Db_Select as ZfSelect; use Zend_Db_Select as ZfSelect;
class TemplatesTable extends ZfQueryBasedTable implements FilterableByUsage class TemplatesTable extends ZfQueryBasedTable implements FilterableByUsage

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Tabs; namespace Icinga\Module\Director\Web\Tabs;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class DataTabs extends Tabs class DataTabs extends Tabs
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Tabs; namespace Icinga\Module\Director\Web\Tabs;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class ImportTabs extends Tabs class ImportTabs extends Tabs
{ {

View File

@ -2,8 +2,8 @@
namespace Icinga\Module\Director\Web\Tabs; namespace Icinga\Module\Director\Web\Tabs;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class ImportsourceTabs extends Tabs class ImportsourceTabs extends Tabs
{ {

View File

@ -3,8 +3,8 @@
namespace Icinga\Module\Director\Web\Tabs; namespace Icinga\Module\Director\Web\Tabs;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class InfraTabs extends Tabs class InfraTabs extends Tabs
{ {

View File

@ -4,8 +4,8 @@ namespace Icinga\Module\Director\Web\Tabs;
use Icinga\Authentication\Auth; use Icinga\Authentication\Auth;
use Icinga\Module\Director\Objects\IcingaObject; use Icinga\Module\Director\Objects\IcingaObject;
use dipl\Translation\TranslationHelper; use gipfl\Translation\TranslationHelper;
use dipl\Web\Widget\Tabs; use gipfl\IcingaWeb2\Widget\Tabs;
class ObjectTabs extends Tabs class ObjectTabs extends Tabs
{ {

Some files were not shown because too many files have changed in this diff Show More