2011-03-29 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, godmode/servers/plugin.php: cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
222a72ffea
commit
a83030b0f0
|
@ -1,3 +1,8 @@
|
|||
2011-03-29 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/agentes/stat_win.php, godmode/servers/plugin.php: cleaned source
|
||||
code style.
|
||||
|
||||
2011-03-29 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* pandora_console_upgrade: Use PI_VERSION variable.
|
||||
|
|
|
@ -238,7 +238,7 @@ else {
|
|||
if ($color == 1){
|
||||
$tdcolor = "datos";
|
||||
$color = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$tdcolor = "datos2";
|
||||
$color = 1;
|
||||
|
@ -260,7 +260,8 @@ else {
|
|||
echo "</td></tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
echo '<div class="nf">'. __('There are no plugins in the system');
|
||||
echo "<br>";
|
||||
}
|
||||
|
|
|
@ -138,22 +138,25 @@ else
|
|||
//
|
||||
if ($config['flash_charts'] && $graph_type != "log4x") {
|
||||
switch ($graph_type) {
|
||||
case 'sparse': echo grafico_modulo_sparse ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline);
|
||||
break;
|
||||
case 'sparse':
|
||||
echo grafico_modulo_sparse ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline);
|
||||
break;
|
||||
case 'boolean':
|
||||
echo grafico_modulo_boolean ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, 1, $pure, $date);
|
||||
break;
|
||||
case 'string': echo grafico_modulo_string ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
|
||||
break;
|
||||
|
||||
case 'log4x': echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
|
||||
break;
|
||||
|
||||
default: echo fs_error_image ('../images');
|
||||
case 'string':
|
||||
echo grafico_modulo_string ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
|
||||
break;
|
||||
case 'log4x':
|
||||
echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height,
|
||||
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
|
||||
break;
|
||||
default:
|
||||
echo fs_error_image ('../images');
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue