Project

General

Profile

« Previous | Next » 

Revision 3aae3ad6

Added by Hamish Coleman over 14 years ago

  • ID 3aae3ad6157ee4c461f3316f0605a165127afee6

Allow null x and y size - this allows deletion of the default values

View differences:

mrtg.cgi
my $this_title;
# HACK!
if ( $var eq 'ysize' ) {
if ( $val && $var eq 'ysize' ) {
$val += 35;
} elsif ( $var eq 'xsize' ) {
} elsif ( $val && $var eq 'xsize' ) {
$val += 100;
}
......
print "$time <b>$title</b><br/>";
my ($ysize, $xsize);
$ysize = $target->{ysize};
$ysize = $target->{ysize} ||"";
$xsize = $target->{xsize};
my $target_url;

Also available in: Unified diff