diff --git a/html/includes/graphs/location/auth.inc.php b/html/includes/graphs/location/auth.inc.php
new file mode 100644
index 000000000..b266d7e5e
--- /dev/null
+++ b/html/includes/graphs/location/auth.inc.php
@@ -0,0 +1,13 @@
+
diff --git a/html/includes/graphs/location/bits.inc.php b/html/includes/graphs/location/bits.inc.php
new file mode 100644
index 000000000..c8296d4b9
--- /dev/null
+++ b/html/includes/graphs/location/bits.inc.php
@@ -0,0 +1,50 @@
+
diff --git a/html/pages/device/routing/cef.inc.php b/html/pages/device/routing/cef.inc.php
index 1649976a1..4cc5e6888 100644
--- a/html/pages/device/routing/cef.inc.php
+++ b/html/pages/device/routing/cef.inc.php
@@ -2,26 +2,24 @@
print_optionbar_start();
-$menu_options = array('basic' => 'Basic',
- 'graphs' => 'Graphs',
- );
+$link_array = array('page' => 'device',
+ 'device' => $device['device_id'],
+ 'tab' => 'routing',
+ 'proto' => 'cef');
-if (!$_GET['optb']) { $_GET['optb'] = "basic"; }
+if(!isset($vars['view'])) { $vars['view'] = "basic"; }
echo('CEF » ');
-$sep = "";
-foreach ($menu_options as $option => $text)
-{
- echo($sep);
- if ($_GET['optb'] == $option) { echo(""); }
- $sep = " | ";
-}
+if ($vars['view'] == "basic") { echo(""); }
-unset($sep);
+echo(" | ");
+
+if ($vars['view'] == "graphs") { echo(""); }
print_optionbar_end();
@@ -87,7 +85,7 @@ foreach (dbFetchRows("SELECT * FROM `cef_switching` WHERE `device_id` = ? ORDER
echo("
");
- if ($_GET['optb'] == "graphs")
+ if ($vars['view'] == "graphs")
{
$graph_array['height'] = "100";
$graph_array['width'] = "215";