2012-01-12 Vanessa Gil <vanessa.gil@artica.es>

* include/functions_graph.php
	  include/functions_netflow.php: translate netflow titles.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-01-12 14:20:32 +00:00
parent b3e12dd60a
commit b3267ae973
3 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2012-01-12 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_graph.php
include/functions_netflow.php: translate netflow titles.
2012-01-12 Vanessa Gil <vanessa.gil@artica.es> 2012-01-12 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql * pandoradb.oracle.sql
pandoradb.postgreSQL.sql pandoradb.postgreSQL.sql

View File

@ -1940,7 +1940,7 @@ function graph_netflow_aggregate_area ($data, $period, $width, $height, $title,
global $config; global $config;
global $graphic_type; global $graphic_type;
echo"<h4>Gráfica de área</h4>"; echo"<h4>".__('Area graph')."</h4>";
include_flash_chart_script($homeurl); include_flash_chart_script($homeurl);
if (empty ($data)) { if (empty ($data)) {
@ -2053,7 +2053,7 @@ function graph_netflow_aggregate_pie ($data) {
global $config; global $config;
global $graphic_type; global $graphic_type;
echo"<h4>Gráfica totalizada</h4>"; echo"<h4>".__('Graphic totalized')."</h4>";
if (empty ($data)) { if (empty ($data)) {
echo fs_error_image (); echo fs_error_image ();

View File

@ -193,12 +193,12 @@ function netflow_stat_table ($data, $start_date, $end_date, $show){
$table->width = '50%'; $table->width = '50%';
$table->class = 'databox'; $table->class = 'databox';
$table->data = array(); $table->data = array();
$title = "Desde $start_date hasta $end_date"; $title = __('From')." ".$start_date." ".__('to')." ".$end_date;
$j = 0; $j = 0;
$x = 1; $x = 1;
echo"<h4>Suma por periodo ($show)</h4>"; echo"<h4>".__('Amount per period')." (".$show.")</h4>";
$table->data[0][0] = '<b>'.__('Rango').'</b>'; $table->data[0][0] = '<b>'.__('Rank').'</b>';
$table->data[0][1] = '<b>'.$title.'</b>'; $table->data[0][1] = '<b>'.$title.'</b>';
while (isset ($data[$j])) { while (isset ($data[$j])) {
@ -257,8 +257,8 @@ function netflow_data_table ($data, $start_date, $end_date, $unit){
$table->class = 'databox'; $table->class = 'databox';
$table->data = array(); $table->data = array();
echo"<h4>Tabla de valores ($unit)</h4>"; echo"<h4>".__('Table values'). " (".$unit.")</h4>";
$table->data[0][0] = '<b>'.__('Rango').'</b>'; $table->data[0][0] = '<b>'.__('Rank').'</b>';
$j = 0; $j = 0;
$source_index = array (); $source_index = array ();