diff options
Diffstat (limited to 'ui/app/views/reports.scheduledreport.edit.php')
-rw-r--r-- | ui/app/views/reports.scheduledreport.edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/views/reports.scheduledreport.edit.php b/ui/app/views/reports.scheduledreport.edit.php index 105f9055853..83a38bc9a1b 100644 --- a/ui/app/views/reports.scheduledreport.edit.php +++ b/ui/app/views/reports.scheduledreport.edit.php @@ -29,7 +29,7 @@ $this->includeJsFile('reports.scheduledreport.edit.js.php', [ 'dashboard_inaccessible' => $data['dashboard_inaccessible'] ]); -$widget = (new CWidget()) +$html_page = (new CHtmlPage()) ->setTitle(_('Scheduled reports')) ->setDocUrl(CDocHelper::getUrl(CDocHelper::REPORTS_SCHEDULEDREPORT_EDIT)); @@ -41,7 +41,7 @@ $form = (new CForm()) ->setArgument('action', ($data['reportid'] == 0) ? 'scheduledreport.create' : 'scheduledreport.update') ->getUrl() ) - ->setAttribute('aria-labelledby', ZBX_STYLE_PAGE_TITLE); + ->setAttribute('aria-labelledby', CHtmlPage::PAGE_TITLE_ID); if ($data['reportid'] != 0) { $form->addVar('reportid', $data['reportid']); @@ -58,6 +58,6 @@ $form_grid = new CPartial('scheduledreport.formgrid.html', [ $form->addItem((new CTabView())->addTab('scheduledreport_tab', _('Scheduled report'), $form_grid)); -$widget +$html_page ->addItem($form) ->show(); |