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.httpconf.edit.php')
-rw-r--r--ui/include/views/configuration.httpconf.edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/include/views/configuration.httpconf.edit.php b/ui/include/views/configuration.httpconf.edit.php
index 7da317aece8..33ca974d66c 100644
--- a/ui/include/views/configuration.httpconf.edit.php
+++ b/ui/include/views/configuration.httpconf.edit.php
@@ -23,13 +23,13 @@
* @var CView $this
*/
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('Web monitoring'))
->setDocUrl(CDocHelper::getUrl(CDocHelper::DATA_COLLECTION_HTTPCONF_EDIT));
// append host summary to widget header
if (!empty($this->data['hostid'])) {
- $widget->setNavigation(getHostNavigation('web', $this->data['hostid']));
+ $html_page->setNavigation(getHostNavigation('web', $this->data['hostid']));
}
$url = (new CUrl('httpconf.php'))
@@ -40,7 +40,7 @@ $url = (new CUrl('httpconf.php'))
$http_form = (new CForm('post', $url))
->setId('http-form')
->setName('httpForm')
- ->setAttribute('aria-labelledby', ZBX_STYLE_PAGE_TITLE)
+ ->setAttribute('aria-labelledby', CHtmlPage::PAGE_TITLE_ID)
->addVar('form', $this->data['form'])
->addVar('hostid', $this->data['hostid'])
->addVar('templated', $this->data['templated']);
@@ -281,7 +281,7 @@ else {
}
$http_form->addItem($http_tab);
-$widget->addItem($http_form);
+$html_page->addItem($http_form);
$this->data['scenario_tab_data'] = [
'agent_visibility' => [],
@@ -300,7 +300,7 @@ zbx_subarray_push($this->data['scenario_tab_data']['agent_visibility'], ZBX_AGEN
require_once dirname(__FILE__).'/js/configuration.httpconf.edit.js.php';
-$widget->show();
+$html_page->show();
(new CScriptTag('
view.init('.json_encode([