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

@ -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':
echo grafico_modulo_sparse ($id, $period, $draw_events, $width, $height,
$label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline); $label, $unit_name, $draw_alerts, $avg_only, $pure, $date, $baseline);
break; 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':
echo grafico_modulo_string ($id, $period, $draw_events, $width, $height,
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1); $label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
break; break;
case 'log4x':
case 'log4x': echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height, echo grafico_modulo_log4x ($id, $period, $draw_events, $width, $height,
$label, $unit_name, $draw_alerts, 1, $pure, $date, 1); $label, $unit_name, $draw_alerts, 1, $pure, $date, 1);
break; break;
default:
default: echo fs_error_image ('../images'); echo fs_error_image ('../images');
break;
} }
} }
else { else {