diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index eb9fa9caa3..08b37cb180 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -89,7 +89,7 @@ function graph_error($string) #$rrd_options .= " HRULE:0#cc0000"; #$rrd_cmd = $config['rrdtool'] . " graph $graphfile $rrd_options" . $rrd_switches; - $rrd_cmd = $config['rrdtool'] . " graph $graphfile --title='".$string."' -l 0 -u 100 -E --start -10y --end now --width 315 --height 110 -c BACK#ff9999cc -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal HRULE:0#cc0000" . $rrd_switches; + $rrd_cmd = $config['rrdtool'] . " graph $graphfile --title='".$string."' -l 0 -u 100 -E --start -10y --end now --width $width --height $height -c BACK#ff9999cc -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal HRULE:0#cc0000" . $rrd_switches; $woo = shell_exec($rrd_cmd); diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 22fe142d3f..e44295ef1b 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -249,12 +249,12 @@ if ($config['show_locations']) if ($ports['errored']) { - echo('
  • Errored ('.$ports['errored'].')
  • '); + echo('
  • Errored ('.$ports['errored'].')
  • '); } if ($ports['ignored']) { - echo('
  • Ignored ('.$ports['ignored'].')
  • '); + echo('
  • Ignored ('.$ports['ignored'].')
  • '); } if ($config['enable_billing']) { echo('
  • Traffic Bills
  • '); $ifbreak = 1; } @@ -279,7 +279,7 @@ if ($ifbreak) { echo('

  • '); } if (isset($interface_alerts)) { - echo('
  • Alerts ('.$interface_alerts.')
  • '); + echo('
  • Alerts ('.$interface_alerts.')
  • '); } $deleted_ports = 0; @@ -292,11 +292,11 @@ foreach (dbFetchRows("SELECT * FROM `ports` AS P, `devices` as D WHERE P.`delete } ?> -
  • Down
  • -
  • Disabled
  • +
  • Down
  • +
  • Disabled
  • Deleted ('.$deleted_ports.')'); } +if ($deleted_ports) { echo('
  • Deleted ('.$deleted_ports.')
  • '); } ?>