2013-05-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added to Server performance box in tactical view total events statistic for bug #2042 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5fd283d9a8
commit
4d291847fa
|
@ -1,3 +1,8 @@
|
|||
2013-05-07 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Added to Server performance
|
||||
box in tactical view total events statistic for bug #2042
|
||||
|
||||
2013-05-07 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_config.php: Set a default value to
|
||||
|
|
|
@ -973,6 +973,21 @@ function reporting_get_stats_servers($tiny = true) {
|
|||
$table_srv->data[] = $tdata;
|
||||
}
|
||||
|
||||
$tdata = array();
|
||||
$tdata[0] = '<hr style="border: 0; height: 1px; background: #DDD">';
|
||||
$table_srv->colspan[count($table_srv->data)][0] = 4;
|
||||
$table_srv->rowclass[] = '';
|
||||
$table_srv->data[] = $tdata;
|
||||
|
||||
$system_events = db_get_value_sql('SELECT SQL_NO_CACHE COUNT(id_evento) FROM tevento');
|
||||
|
||||
$tdata = array();
|
||||
$tdata[0] = html_print_image('images/lightning_go.png', true, array('title' => __('Total events'), 'width' => '25px'));
|
||||
$tdata[1] = '<span class="big_data">' . format_numeric($system_events) . '</span>';
|
||||
|
||||
$table_srv->colspan[count($table_srv->data)][1] = 3;
|
||||
$table_srv->rowclass[] = '';
|
||||
$table_srv->data[] = $tdata;
|
||||
}
|
||||
|
||||
$output = '<fieldset class="databox tactical_set" style="width:93%;">
|
||||
|
|
Loading…
Reference in New Issue