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/app/views/administration.userrole.list.php')
-rw-r--r--ui/app/views/administration.userrole.list.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/views/administration.userrole.list.php b/ui/app/views/administration.userrole.list.php
index 29dd580cd01..d331d0ebb2a 100644
--- a/ui/app/views/administration.userrole.list.php
+++ b/ui/app/views/administration.userrole.list.php
@@ -27,7 +27,7 @@ if ($data['uncheck']) {
uncheckTableRows('userrole');
}
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('User roles'))
->setDocUrl(CDocHelper::getUrl(CDocHelper::USERS_USERROLE_LIST))
->setControls(
@@ -130,5 +130,6 @@ $form->addItem([
], 'userrole')
]);
-$widget->addItem($form);
-$widget->show();
+$html_page
+ ->addItem($form)
+ ->show();