mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
# -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
## Dear Tobias. You write in Perl, this makes me hate you forever.
|
||||
## This is my translation of Smokeping's graphing.
|
||||
## Thanks to Bill Fenner for Perl->Human translation:>
|
||||
/// Dear Tobias. You write in Perl, this makes me hate you forever.
|
||||
/// This is my translation of Smokeping's graphing.
|
||||
/// Thanks to Bill Fenner for Perl->Human translation:>
|
||||
|
||||
$scale_min = 0;
|
||||
$scale_rigid = TRUE;
|
||||
@@ -22,7 +22,7 @@ if($width > "500")
|
||||
$descr_len = 12 + round(($width - 275) / 8);
|
||||
}
|
||||
|
||||
# FIXME str_pad really needs a "limit to length" so we can rid of all the substrs all over the code to limit the length as below...
|
||||
/// FIXME str_pad really needs a "limit to length" so we can rid of all the substrs all over the code to limit the length as below...
|
||||
if($width > "500")
|
||||
{
|
||||
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." RTT Loss SDev RTT\:SDev\l'";
|
||||
|
Reference in New Issue
Block a user