From fd66f84d0b1d49e1fadc6374b49d94bd651f609e Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 19 Dec 2017 09:57:52 +0100 Subject: [PATCH] fixed minor errors --- pandora_console/include/functions_html.php | 4 ++-- pandora_console/include/help/en/help_graphs.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 09914cb0ed..1e63b5356f 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -801,7 +801,7 @@ function html_print_extended_select_for_time ($name, $selected = '', $readonly = false, $custom_fields = false,$style_icon = '') { global $config; - + $admin = is_user_admin($config['id_user']); if($custom_fields){ $fields = $custom_fields; } else { @@ -853,7 +853,7 @@ function html_print_extended_select_for_time ($name, $selected = '', html_print_select ($fields, $uniq_name . '_select', $selected,"" . $script, $nothing, $nothing_value, false, false, false, $class, $readonly, 'font-size: xx-small;'.$select_style); // The advanced control is only for admins - if (is_user_admin($config['id_user'])) { + if ($admin) { echo ' ' . html_print_image('images/pencil.png', true, array('class' => $uniq_name . '_toggler', diff --git a/pandora_console/include/help/en/help_graphs.php b/pandora_console/include/help/en/help_graphs.php index 0fc35349a9..65d1e9984f 100644 --- a/pandora_console/include/help/en/help_graphs.php +++ b/pandora_console/include/help/en/help_graphs.php @@ -48,7 +48,7 @@ div.img_title { -

INTERPRETING GHRAPHS IN PANDORA FMS

+

INTERPRETING GRAPHS IN PANDORA FMS

In Pandora FMS, graphs represent the values a module has had during a given period.