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:
mdtrooper 2011-03-29 15:22:02 +00:00
parent 222a72ffea
commit a83030b0f0
3 changed files with 23 additions and 14 deletions

View File

@ -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> 2011-03-29 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_upgrade: Use PI_VERSION variable. * pandora_console_upgrade: Use PI_VERSION variable.

View File

@ -238,7 +238,7 @@ else {
if ($color == 1){ if ($color == 1){
$tdcolor = "datos"; $tdcolor = "datos";
$color = 0; $color = 0;
} }
else { else {
$tdcolor = "datos2"; $tdcolor = "datos2";
$color = 1; $color = 1;
@ -260,7 +260,8 @@ else {
echo "</td></tr>"; echo "</td></tr>";
} }
echo "</table>"; echo "</table>";
} else { }
else {
echo '<div class="nf">'. __('There are no plugins in the system'); echo '<div class="nf">'. __('There are no plugins in the system');
echo "<br>"; echo "<br>";
} }

View File

@ -138,22 +138,25 @@ else
// //
if ($config['flash_charts'] && $graph_type != "log4x") { if ($config['flash_charts'] && $graph_type != "log4x") {
switch ($graph_type) { switch ($graph_type) {
case 'sparse': echo grafico_modulo_sparse ($id, $period, $draw_events, $width, $height, case 'sparse':
$label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline); echo grafico_modulo_sparse ($id, $period, $draw_events, $width, $height,
break; $label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline);
break;
case 'boolean': case 'boolean':
echo grafico_modulo_boolean ($id, $period, $draw_events, $width, $height, echo grafico_modulo_boolean ($id, $period, $draw_events, $width, $height,
$label, $unit_name, $draw_alerts, 1, $pure, $date); $label, $unit_name, $draw_alerts, 1, $pure, $date);
break; break;
case 'string': echo grafico_modulo_string ($id, $period, $draw_events, $width, $height, case 'string':
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1); echo grafico_modulo_string ($id, $period, $draw_events, $width, $height,
break; $label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
break;
case 'log4x': echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height, case 'log4x':
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1); echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height,
break; $label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
break;
default: echo fs_error_image ('../images'); default:
echo fs_error_image ('../images');
break;
} }
} }
else { else {