Merge branch '1632-Pandora_FMS_charts_2' into 'develop'

fixed minor errors

See merge request artica/pandorafms!1196
This commit is contained in:
vgilc 2017-12-19 10:04:02 +01:00
commit 32b81ae7aa
2 changed files with 3 additions and 3 deletions

View File

@ -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 ' <a href="javascript:">' .
html_print_image('images/pencil.png', true,
array('class' => $uniq_name . '_toggler',

View File

@ -48,7 +48,7 @@ div.img_title {
</style>
<body class="hlp_graphs">
<h1>INTERPRETING GHRAPHS IN PANDORA FMS</h1>
<h1>INTERPRETING GRAPHS IN PANDORA FMS</h1>
<p>In Pandora FMS, graphs represent the values a module has had during a given period.</p>