2010-05-11 Ramon Novoa <rnovoa@artica.es>

* operation/agentes/stat_win.php: Pass the start date to min, max and
          avg functions.

        * godmode/alerts/configure_alert_action.php: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-05-11 18:29:19 +00:00
parent 2e45f721a8
commit 599280bdce
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-05-11 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/stat_win.php: Pass the start date to min, max and
avg functions.
* godmode/alerts/configure_alert_action.php: Fixed a typo.
2010-05-11 Raúl Mateos <raulofpandora@gmail.com>
* godmode/gis_maps/configure_gis_map.php: Updated year. Clean code.

View File

@ -43,7 +43,7 @@ if ($id) {
$field1 = $action['field1'];
$field2 = $action['field2'];
$field3 = $action['field3'];
$group = $action ['group'];
$group = $action ['id_group'];
}
// Header
print_page_header (__('Alerts').' &raquo; '.__('Configure alert action'), "images/god2.png", false, "", true);

View File

@ -168,9 +168,9 @@ else {
if ($graph_type != "log4x") {
echo '<table width="450" cellspacing="1" cellpadding="1" class="databox" style="margin-left: 20px">';
echo '<tr><td><b>'.__('Max. Value').'</b>: '.format_for_graph (get_agentmodule_data_max ($id, $period));
echo '</td><td><b>'.__('Avg. Value').'</b>: '.format_for_graph (get_agentmodule_data_average ($id, $period));
echo '</td><td><b>'.__('Min. Value').'</b>: '.format_for_graph (get_agentmodule_data_min ($id, $period));
echo '<tr><td><b>'.__('Max. Value').'</b>: '.format_for_graph (get_agentmodule_data_max ($id, $period, $date));
echo '</td><td><b>'.__('Avg. Value').'</b>: '.format_for_graph (get_agentmodule_data_average ($id, $period, $date));
echo '</td><td><b>'.__('Min. Value').'</b>: '.format_for_graph (get_agentmodule_data_min ($id, $period, $date));
echo '</td></tr></table>';
}