From 1dbff084ddac7da9b4a38251ce1c891833547cec Mon Sep 17 00:00:00 2001 From: cigamit Date: Sat, 26 Mar 2016 15:35:14 -0500 Subject: [PATCH] bring resize icons to table sorting --- graph_xport.php | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/graph_xport.php b/graph_xport.php index 3a361793b6..9e5d0ac6e4 100644 --- a/graph_xport.php +++ b/graph_xport.php @@ -77,7 +77,9 @@ $graph_data_array['print_source'] = get_request_var('show_source'); } -$graph_info = db_fetch_row_prepared('SELECT * FROM graph_templates_graph WHERE local_graph_id = ?', array(get_request_var('local_graph_id'))); +$graph_info = db_fetch_row_prepared('SELECT * + FROM graph_templates_graph + WHERE local_graph_id = ?', array(get_request_var('local_graph_id'))); /* for bandwidth, NThPercentile */ $xport_meta = array(); @@ -179,9 +181,9 @@ print "
\n"; print "\n"; - print ""; + print ""; for ($i = 1; $i <= $xport_array['meta']['columns']; $i++) { - print ""; + print ""; } print "\n"; } @@ -199,7 +201,7 @@ }else{ $j = 0; foreach($xport_array['data'] as $row) { - print ""; + print ""; for ($i = 1; $i <= $xport_array['meta']['columns']; $i++) { if ($row['col' . $i] > 1) { print ""; @@ -212,13 +214,25 @@ print "\n"; $j++; } - } - print "\n"; + ?> + + = POLLER_VERBOSITY_MEDIUM && function_exists('memory_get_peak_usage')) { - cacti_log("The Peak Graph XPORT Memory Usage was '" . memory_get_peak_usage() . "'", FALSE, 'WEBUI'); -} +cacti_log("The Peak Graph XPORT Memory Usage was '" . memory_get_peak_usage() . "'", FALSE, 'WEBUI', POLLER_VERBOSITY_MEDIUM);
Date
Date" . $xport_array['meta']['legend']['col' . $i] . "" . $xport_array['meta']['legend']['col' . $i] . "
" . date('Y-m-d H:i:s', $row['timestamp']) . "
" . date('Y-m-d H:i:s', $row['timestamp']) . "" . trim(number_format(round($row['col' . $i],3))) . "