From ded64baae99fc5a0c77fa6dff8e0f265c22022d3 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sun, 8 Apr 2012 16:09:58 +0000 Subject: [PATCH] don't show a double separator if you have vrf, bgp and no ospf git-svn-id: http://www.observium.org/svn/observer/trunk@2996 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-menubar.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 863372941..d4ed3be36 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -410,12 +410,18 @@ if ($_SESSION['userlevel'] >= '5' && ($routing_count['bgp']+$routing_count['ospf if ($_SESSION['userlevel'] >= '5' && $routing_count['vrf']) { - echo('
  • VRFs

  • '); + echo('
  • VRFs
  • '); $separator++; } if ($_SESSION['userlevel'] >= '5' && $routing_count['ospf']) { + if ($separator) + { + echo(' +

  • '); + $separator = 0; + } echo('
  • OSPF Devices
  • '); $separator++;