diff options
author | Mārtiņš Tālbergs <martins.talbergs@zabbix.com> | 2021-03-01 18:35:07 +0300 |
---|---|---|
committer | Mārtiņš Tālbergs <martins.talbergs@zabbix.com> | 2021-03-01 18:35:07 +0300 |
commit | f33f771ebae478cc834463c9663bc5cb8c0e1b4b (patch) | |
tree | 8b6f7529851643efd0ff10badf518782f272aebe | |
parent | 603ea6b2281906c0fbe262f2e6bb997da87dc6ed (diff) |
..F....... [ZBXNEXT-6288] removed favscreens form
-rw-r--r-- | ui/include/classes/widgets/views/widget.favscreens.form.view.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/ui/include/classes/widgets/views/widget.favscreens.form.view.php b/ui/include/classes/widgets/views/widget.favscreens.form.view.php deleted file mode 100644 index 4824e83a691..00000000000 --- a/ui/include/classes/widgets/views/widget.favscreens.form.view.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -/* -** Zabbix -** Copyright (C) 2001-2021 Zabbix SIA -** -** This program is free software; you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation; either version 2 of the License, or -** (at your option) any later version. -** -** This program is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with this program; if not, write to the Free Software -** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -**/ - - -/** - * Favorite screens widget form view. - */ -$fields = $data['dialogue']['fields']; - -$form = CWidgetHelper::createForm(); - -$rf_rate_field = ($data['templateid'] === null) ? $fields['rf_rate'] : null; - -$form_list = CWidgetHelper::createFormList($data['dialogue']['name'], $data['dialogue']['type'], - $data['dialogue']['view_mode'], $data['known_widget_types'], $rf_rate_field -); - -$form->addItem($form_list); - -return [ - 'form' => $form -]; |