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/monitoring.charts.view.php')
-rw-r--r--ui/app/views/monitoring.charts.view.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/views/monitoring.charts.view.php b/ui/app/views/monitoring.charts.view.php
index e031f3c433e..7fe528b8638 100644
--- a/ui/app/views/monitoring.charts.view.php
+++ b/ui/app/views/monitoring.charts.view.php
@@ -36,7 +36,7 @@ $this->includeJsFile('monitoring.charts.view.js.php');
$this->enableLayoutModes();
$web_layout_mode = $this->getLayoutMode();
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('Graphs'))
->setWebLayoutMode($web_layout_mode)
->setDocUrl(CDocHelper::getUrl(CDocHelper::MONITORING_CHARTS_VIEW))
@@ -89,24 +89,24 @@ if ($web_layout_mode == ZBX_LAYOUT_NORMAL) {
new CPartial('monitoring.charts.subfilter', $data['subfilters']));
}
-$widget->addItem($filter);
+$html_page->addItem($filter);
if (!$data['filter_hostids']) {
- $widget->addItem((new CTableInfo())->setNoDataMessage(_('Specify host to see the graphs.')));
+ $html_page->addItem((new CTableInfo())->setNoDataMessage(_('Specify host to see the graphs.')));
}
elseif ($data['charts']) {
$table = (new CTable())
->setAttribute('style', 'width: 100%;')
->setId('charts');
- $widget
+ $html_page
->addItem($table)
->addItem($data['paging']);
}
else {
- $widget->addItem(new CTableInfo());
+ $html_page->addItem(new CTableInfo());
}
-$widget->show();
+$html_page->show();
(new CScriptTag('
view.init('.json_encode([