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/configuration.template.list.php')
-rw-r--r--ui/include/views/configuration.template.list.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/include/views/configuration.template.list.php b/ui/include/views/configuration.template.list.php
index 4d7ead032c2..55839182cc0 100644
--- a/ui/include/views/configuration.template.list.php
+++ b/ui/include/views/configuration.template.list.php
@@ -83,7 +83,7 @@ $filter = (new CFilter())
(new CFormList())->addRow(_('Tags'), $filter_tags_table)
]);
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('Templates'))
->setDocUrl(CDocHelper::getUrl(CDocHelper::DATA_COLLECTION_TEMPLATES_LIST))
->setControls((new CTag('nav', true,
@@ -296,6 +296,6 @@ $form->addItem([
)
]);
-$widget->addItem($form);
-
-$widget->show();
+$html_page
+ ->addItem($form)
+ ->show();