diff --git a/html/includes/graphs/device/asa_conns.inc.php b/html/includes/graphs/device/asa_conns.inc.php index 1071075f2c..5f21c3202c 100644 --- a/html/includes/graphs/device/asa_conns.inc.php +++ b/html/includes/graphs/device/asa_conns.inc.php @@ -26,4 +26,4 @@ $rrd_options .= ' AREA:connections_min'; $rrd_options .= " LINE1.5:connections#cc0000:'".rrdtool_escape('Current connections')."'"; $rrd_options .= ' GPRINT:connections_min:MIN:%4.0lf'; $rrd_options .= ' GPRINT:connections:LAST:%4.0lf'; -$rrd_options .= ' GPRINT:connections_max:MAX:%4.0lf\\\\l'; +$rrd_options .= ' GPRINT:connections_max:MAX:%4.0lf\l'; diff --git a/html/includes/graphs/device/toner.inc.php b/html/includes/graphs/device/toner.inc.php index f577bbf97e..4459ebcb5b 100644 --- a/html/includes/graphs/device/toner.inc.php +++ b/html/includes/graphs/device/toner.inc.php @@ -54,7 +54,7 @@ foreach (dbFetchRows('SELECT * FROM toner where device_id = ?', array($device['d $rrd_options .= " LINE2:toner$toner_id#".$colour['left'].":'".$descr."'"; $rrd_options .= " GPRINT:toner$toner_id:LAST:'%5.0lf%%'"; $rrd_options .= " GPRINT:toner$toner_id:MIN:'%5.0lf%%'"; - $rrd_options .= " GPRINT:toner$toner_id:MAX:%5.0lf%%\\\\l"; + $rrd_options .= " GPRINT:toner$toner_id:MAX:%5.0lf%%\l"; $iter++; }//end foreach diff --git a/html/includes/graphs/generic_duplex.inc.php b/html/includes/graphs/generic_duplex.inc.php index e062d75255..a6df115b31 100644 --- a/html/includes/graphs/generic_duplex.inc.php +++ b/html/includes/graphs/generic_duplex.inc.php @@ -109,7 +109,7 @@ $rrd_options .= " COMMENT:\\n"; if ($print_total) { $rrd_options .= " GPRINT:tot:'Total %6.2lf%s'"; $rrd_options .= " GPRINT:totin:'(In %6.2lf%s'"; - $rrd_options .= " GPRINT:totout:'Out %6.2lf%s)\\\\l'"; + $rrd_options .= " GPRINT:totout:'Out %6.2lf%s)\l'"; } if ($percentile) { diff --git a/html/includes/graphs/generic_simplex.inc.php b/html/includes/graphs/generic_simplex.inc.php index 285b907f58..c9f9ac8338 100644 --- a/html/includes/graphs/generic_simplex.inc.php +++ b/html/includes/graphs/generic_simplex.inc.php @@ -99,7 +99,7 @@ if ($config['old_graphs']) { $rrd_options .= " COMMENT:\\n"; if ($print_total) { - $rrd_options .= ' GPRINT:'.$ds.'_tot:Total\ %6.2lf%s\)\\\\l'; + $rrd_options .= ' GPRINT:'.$ds.'_tot:Total\ %6.2lf%s\)\l'; } if ($percentile) { diff --git a/html/includes/graphs/multiport/bits_duo.inc.php b/html/includes/graphs/multiport/bits_duo.inc.php index 0fdfa64bef..4481f18082 100644 --- a/html/includes/graphs/multiport/bits_duo.inc.php +++ b/html/includes/graphs/multiport/bits_duo.inc.php @@ -88,36 +88,36 @@ if ($legend == 'no') { $rrd_options .= ' GPRINT:inbitsb:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsb:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsb:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbitsb:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbitsb:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:doutbits_tot#C3D9FF:'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbitsb:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsb:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsb:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbitsb:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbitsb:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:inbits#ffcc99:Transit\ In\ '; $rrd_options .= ' GPRINT:inbits:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbits:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbits:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:doutbits#ffcc99:'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbits:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbits:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbits:MAX:%6.2lf%s\l'; $rrd_options .= ' COMMENT:Total\ \ \ \ \ In\ '; $rrd_options .= ' GPRINT:inbits_tot:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits_tot:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits_tot:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbits_tot:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbits_tot:MAX:%6.2lf%s\l'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbits_tot:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits_tot:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits_tot:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbits_tot:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbits_tot:MAX:%6.2lf%s\l'; $rrd_options .= ' LINE1:inbits#aa9966:'; $rrd_options .= ' LINE1:doutbits#aa9966:'; diff --git a/html/includes/graphs/multiport/bits_trio.inc.php b/html/includes/graphs/multiport/bits_trio.inc.php index 683f1b7f49..9cacba16ab 100644 --- a/html/includes/graphs/multiport/bits_trio.inc.php +++ b/html/includes/graphs/multiport/bits_trio.inc.php @@ -138,39 +138,39 @@ if ($legend == 'no') { $rrd_options .= ' GPRINT:inbits:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbits:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbits:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:doutbits_tot#cdeb8b:'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbits:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbits:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbits:MAX:%6.2lf%s\l'; $rrd_options .= ' LINE1.25:inbits_tot#aacc77:'; $rrd_options .= ' LINE1.25:doutbits_tot#aacc88:'; $rrd_options .= ' AREA:inbits_stot#c3d9ff:NGN\ \ In\ '; $rrd_options .= ' GPRINT:inbitsb:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsb:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsb:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbitsb:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbitsb:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:doutbits_stot#c3d9ff:'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbitsb:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsb:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsb:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbitsb:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbitsb:MAX:%6.2lf%s\l'; $rrd_options .= ' LINE1:inbits_stot#b3a9cf:'; $rrd_options .= ' LINE1:doutbits_stot#b3a9cf:'; $rrd_options .= ' AREA:inbitsc#ffcc99:Wave\ In\ '; $rrd_options .= ' GPRINT:inbitsc:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsc:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbitsc:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbitsc:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbitsc:MAX:%6.2lf%s\l'; $rrd_options .= ' AREA:doutbitsc#ffcc99:'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbitsc:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsc:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbitsc:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbitsc:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbitsc:MAX:%6.2lf%s\l'; $rrd_options .= ' LINE1.25:inbitsc#ddaa88'; $rrd_options .= ' LINE1.25:doutbitsc#ddaa88'; $rrd_options .= ' LINE1:inbits#006600:'; @@ -183,12 +183,12 @@ if ($legend == 'no') { $rrd_options .= ' GPRINT:inbits_tot:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits_tot:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:inbits_tot:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:inbits_tot:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:inbits_tot:MAX:%6.2lf%s\l'; $rrd_options .= ' COMMENT:\ \ \ \ \ \ \ Out'; $rrd_options .= ' GPRINT:outbits_tot:LAST:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits_tot:AVERAGE:%6.2lf%s'; $rrd_options .= ' GPRINT:outbits_tot:MIN:%6.2lf%s'; - $rrd_options .= ' GPRINT:outbits_tot:MAX:%6.2lf%s\\\\l'; + $rrd_options .= ' GPRINT:outbits_tot:MAX:%6.2lf%s\l'; }//end if if ($width <= '300') { diff --git a/html/includes/graphs/sensor/charge.inc.php b/html/includes/graphs/sensor/charge.inc.php index e400153ae1..9c7db8022d 100644 --- a/html/includes/graphs/sensor/charge.inc.php +++ b/html/includes/graphs/sensor/charge.inc.php @@ -24,7 +24,7 @@ $rrd_options .= ' AREA:sensor_min#ffffffff'; // $rrd_options .= " AREA:sensorcold#CCCCFF"; $rrd_options .= " LINE1:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 28)."'"; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lf%%'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/current.inc.php b/html/includes/graphs/sensor/current.inc.php index f1ca4abdd6..9ce751ee0a 100644 --- a/html/includes/graphs/sensor/current.inc.php +++ b/html/includes/graphs/sensor/current.inc.php @@ -12,7 +12,7 @@ $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'"; $rrd_options .= " GPRINT:sensor$current_id:MIN:%5.2lfA"; $rrd_options .= ' GPRINT:sensor:LAST:%5.2lfA'; -$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfA\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfA\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/dbm.inc.php b/html/includes/graphs/sensor/dbm.inc.php index 32d6a57fc0..0f3991ca19 100644 --- a/html/includes/graphs/sensor/dbm.inc.php +++ b/html/includes/graphs/sensor/dbm.inc.php @@ -12,7 +12,7 @@ $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'"; $rrd_options .= " GPRINT:sensor$current_id:MIN:%5.2lfdBm"; $rrd_options .= ' GPRINT:sensor:LAST:%5.2lfdBm'; -$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfdBm\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfdBm\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/fanspeed.inc.php b/html/includes/graphs/sensor/fanspeed.inc.php index c1fad583cd..a09add63a4 100644 --- a/html/includes/graphs/sensor/fanspeed.inc.php +++ b/html/includes/graphs/sensor/fanspeed.inc.php @@ -9,7 +9,7 @@ $rrd_options .= " COMMENT:' Last Max\\n'"; $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 20)."'"; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lfrpm'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfrpm\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfrpm\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/frequency.inc.php b/html/includes/graphs/sensor/frequency.inc.php index 16dfe8ac5f..81f9a2d124 100644 --- a/html/includes/graphs/sensor/frequency.inc.php +++ b/html/includes/graphs/sensor/frequency.inc.php @@ -11,7 +11,7 @@ $sensor['sensor_descr_fixed'] = substr(str_pad($sensor['sensor_descr'], 28), 0, $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'"; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lfHz'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfHz\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfHz\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/humidity.inc.php b/html/includes/graphs/sensor/humidity.inc.php index 37ee96d63a..f6781ff218 100644 --- a/html/includes/graphs/sensor/humidity.inc.php +++ b/html/includes/graphs/sensor/humidity.inc.php @@ -21,7 +21,7 @@ $rrd_options .= ' AREA:sensor_min#ffffffff'; $rrd_options .= " LINE1:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 28)."'"; $rrd_options .= ' LINE1:sensorwarm#660000'; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lf%%'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/load.inc.php b/html/includes/graphs/sensor/load.inc.php index 050f58a0bd..bf601dca90 100644 --- a/html/includes/graphs/sensor/load.inc.php +++ b/html/includes/graphs/sensor/load.inc.php @@ -14,7 +14,7 @@ $rrd_options .= ' CDEF:sensorcold=sensor_min,20,LT,sensor,UNKN,IF'; $rrd_options .= ' AREA:sensor_min#ffffffff'; $rrd_options .= " LINE1:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 28)."'"; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lf%%'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lf%%\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/power.inc.php b/html/includes/graphs/sensor/power.inc.php index 46372d24e3..bb9e0b0dce 100644 --- a/html/includes/graphs/sensor/power.inc.php +++ b/html/includes/graphs/sensor/power.inc.php @@ -21,7 +21,7 @@ if ($sensor['poller_type'] == "ipmi") { } $rrd_options .= ' GPRINT:sensor:LAST:%6.2lfW'; -$rrd_options .= ' GPRINT:sensor:MAX:%6.2lfW\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%6.2lfW\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/runtime.inc.php b/html/includes/graphs/sensor/runtime.inc.php index f4e8be4200..2c1eadf72c 100644 --- a/html/includes/graphs/sensor/runtime.inc.php +++ b/html/includes/graphs/sensor/runtime.inc.php @@ -6,7 +6,7 @@ $sensor['sensor_descr_fixed'] = substr(str_pad($sensor['sensor_descr'], 28), 0, $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'"; $rrd_options .= ' GPRINT:sensor:LAST:%3.0lfMin'; -$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfMin\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%3.0lfMin\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; } diff --git a/html/includes/graphs/sensor/signal.inc.php b/html/includes/graphs/sensor/signal.inc.php index 27f90e8cb0..7401339ce8 100644 --- a/html/includes/graphs/sensor/signal.inc.php +++ b/html/includes/graphs/sensor/signal.inc.php @@ -11,7 +11,7 @@ $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'"; $rrd_options .= " GPRINT:sensor$current_id:MIN:%5.2lfdBm"; $rrd_options .= ' GPRINT:sensor:LAST:%5.2lfdBm'; -$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfdBm\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfdBm\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/state.inc.php b/html/includes/graphs/sensor/state.inc.php index e04e7dc294..2678b70560 100644 --- a/html/includes/graphs/sensor/state.inc.php +++ b/html/includes/graphs/sensor/state.inc.php @@ -10,7 +10,7 @@ $rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE"; $rrd_options .= " LINE1.5:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 21)."'"; $rrd_options .= ' GPRINT:sensor:MIN:%4.1lf'; $rrd_options .= ' GPRINT:sensor:MAX:%4.1lf'; -$rrd_options .= ' GPRINT:sensor:LAST:%4.1lf\\\\l'; +$rrd_options .= ' GPRINT:sensor:LAST:%4.1lf\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/sensor/voltage.inc.php b/html/includes/graphs/sensor/voltage.inc.php index 634c7a54e9..c11ff27d02 100644 --- a/html/includes/graphs/sensor/voltage.inc.php +++ b/html/includes/graphs/sensor/voltage.inc.php @@ -17,7 +17,7 @@ $rrd_options .= ' AREA:sensor_min#ffffffff'; // $rrd_options .= " AREA:sensor#FFFF99"; $rrd_options .= " LINE1.5:sensor#cc0000:'".rrdtool_escape($sensor['sensor_descr'], 22)."'"; $rrd_options .= ' GPRINT:sensor:LAST:%6.2lfV'; -$rrd_options .= ' GPRINT:sensor:MAX:%6.2lfV\\\\l'; +$rrd_options .= ' GPRINT:sensor:MAX:%6.2lfV\l'; if (is_numeric($sensor['sensor_limit'])) { $rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes'; diff --git a/html/includes/graphs/service/availability.inc.php b/html/includes/graphs/service/availability.inc.php index f836158a10..a66fb661fd 100644 --- a/html/includes/graphs/service/availability.inc.php +++ b/html/includes/graphs/service/availability.inc.php @@ -18,4 +18,4 @@ $rrd_options .= " LINE1.5:percent#009900:'".$service_text."'"; // Ugly hack :( $rrd_options .= ' LINE1.5:percentdown#cc0000'; $rrd_options .= ' GPRINT:status:LAST:%3.0lf'; -$rrd_options .= ' GPRINT:percent:AVERAGE:%3.5lf%%\\\\l'; +$rrd_options .= ' GPRINT:percent:AVERAGE:%3.5lf%%\l'; diff --git a/html/includes/graphs/toner/usage.inc.php b/html/includes/graphs/toner/usage.inc.php index 274845db7b..16567e5ab8 100644 --- a/html/includes/graphs/toner/usage.inc.php +++ b/html/includes/graphs/toner/usage.inc.php @@ -21,4 +21,4 @@ $rrd_options .= ' LINE1:toner'.$toner['toner_id'].'#'.$colour['left'].":'".$desc $rrd_options .= ' AREA:toner'.$toner['toner_id'].'#'.$background['right'].':'; $rrd_options .= ' GPRINT:toner'.$toner['toner_id'].":LAST:'%5.0lf%%'"; -$rrd_options .= ' GPRINT:toner'.$toner['toner_id'].':MAX:%5.0lf%%\\\\l'; +$rrd_options .= ' GPRINT:toner'.$toner['toner_id'].':MAX:%5.0lf%%\l';