Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/include/views/monitoring.sysmap.list.php')
-rw-r--r--ui/include/views/monitoring.sysmap.list.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/include/views/monitoring.sysmap.list.php b/ui/include/views/monitoring.sysmap.list.php
index 37c54a4d4e0..2401f0bd819 100644
--- a/ui/include/views/monitoring.sysmap.list.php
+++ b/ui/include/views/monitoring.sysmap.list.php
@@ -23,7 +23,7 @@
* @var CView $this
*/
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('Maps'))
->setDocUrl(CDocHelper::getUrl(CDocHelper::MONITORING_SYSMAP_LIST))
->setControls(
@@ -123,7 +123,6 @@ $sysmapForm->addItem([
])
]);
-// append form to widget
-$widget->addItem($sysmapForm);
-
-$widget->show();
+$html_page
+ ->addItem($sysmapForm)
+ ->show();