Routing » "; $vars['protocol'] = basename($vars['protocol']); $sep = ''; foreach ($routing_count as $type => $value) { if (! $vars['protocol']) { $vars['protocol'] = $type; } echo $sep; $sep = ''; if ($vars['protocol'] == $type) { echo ''; } if ($routing_count[$type]) { echo generate_link($type_text[$type] . ' (' . $routing_count[$type] . ')', ['page' => 'routing', 'protocol' => $type]); $sep = ' | '; } if ($vars['protocol'] == $type) { echo ''; } }//end foreach print_optionbar_end(); switch ($vars['protocol']) { case 'overview': case 'bgp': case 'vrf': case 'cef': case 'mpls': case 'ospf': case 'isis': case 'cisco-otv': include 'includes/html/pages/routing/' . $vars['protocol'] . '.inc.php'; break; default: echo report_this('Unknown protocol ' . $vars['protocol']); break; }