mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
fixed minor errors
This commit is contained in:
parent
9fce865099
commit
fd66f84d0b
@ -801,7 +801,7 @@ function html_print_extended_select_for_time ($name, $selected = '',
|
|||||||
$readonly = false, $custom_fields = false,$style_icon = '') {
|
$readonly = false, $custom_fields = false,$style_icon = '') {
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
|
$admin = is_user_admin($config['id_user']);
|
||||||
if($custom_fields){
|
if($custom_fields){
|
||||||
$fields = $custom_fields;
|
$fields = $custom_fields;
|
||||||
} else {
|
} else {
|
||||||
@ -853,7 +853,7 @@ function html_print_extended_select_for_time ($name, $selected = '',
|
|||||||
html_print_select ($fields, $uniq_name . '_select', $selected,"" . $script,
|
html_print_select ($fields, $uniq_name . '_select', $selected,"" . $script,
|
||||||
$nothing, $nothing_value, false, false, false, $class, $readonly, 'font-size: xx-small;'.$select_style);
|
$nothing, $nothing_value, false, false, false, $class, $readonly, 'font-size: xx-small;'.$select_style);
|
||||||
// The advanced control is only for admins
|
// The advanced control is only for admins
|
||||||
if (is_user_admin($config['id_user'])) {
|
if ($admin) {
|
||||||
echo ' <a href="javascript:">' .
|
echo ' <a href="javascript:">' .
|
||||||
html_print_image('images/pencil.png', true,
|
html_print_image('images/pencil.png', true,
|
||||||
array('class' => $uniq_name . '_toggler',
|
array('class' => $uniq_name . '_toggler',
|
||||||
|
@ -48,7 +48,7 @@ div.img_title {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body class="hlp_graphs">
|
<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>
|
<p>In Pandora FMS, graphs represent the values a module has had during a given period.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user