diff --git a/html/css/styles.css b/html/css/styles.css
index 947f9a9de..3d751e84c 100644
--- a/html/css/styles.css
+++ b/html/css/styles.css
@@ -15,6 +15,34 @@ body {
line-height: 20px;
}
+.rounded-2px {
+ /* Rounded Corners */
+ -moz-border-radius: 2px;
+ -webkit-border-radius: 2px;
+ border-radius: 2px;
+}
+
+.rounded-3px {
+ /* Rounded Corners */
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+}
+
+.rounded-5px {
+ /* Rounded Corners */
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+}
+
+.rounded-10px {
+ /* Rounded Corners */
+ -moz-border-radius: 10px;
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
+}
+
.pagemenu-selected {
font-weight: bold;
background-color: #cecece;
diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php
index 7bc606e8e..f653dc8a0 100644
--- a/html/includes/functions.inc.php
+++ b/html/includes/functions.inc.php
@@ -338,28 +338,14 @@ function generate_port_thumbnail($args)
function print_optionbar_start ($height = 0, $width = 0, $marginbottom = 5)
{
echo("
-
-
-
-
-
-
-
-
-
");
+
");
}
function print_optionbar_end()
{
- echo('
-
-
-
-
-
-
-
-
');
+ echo('
');
}
function geteventicon($message)
diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php
index 5b322451c..798083519 100644
--- a/html/pages/graphs.inc.php
+++ b/html/pages/graphs.inc.php
@@ -44,18 +44,18 @@ if (!$auth)
echo("");
- echo("
");
+ echo("
");
$graph_array['from'] = $config['time']['sixhour'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['day'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['twoday'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['week'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['twoweek'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['month'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['twomonth'];
- echo("
+ echo("
");
$graph_array['from'] = $config['time']['year'];
- echo("
+ echo("
Year
");
echo(generate_graph_tag($graph_array));
diff --git a/html/pages/ports.inc.php b/html/pages/ports.inc.php
index fc4273c38..447a3cdf1 100644
--- a/html/pages/ports.inc.php
+++ b/html/pages/ports.inc.php
@@ -140,7 +140,7 @@ foreach ($menu_options as $option => $text)
'Basic',
+$menu_options = array('bits' => 'Bits',
'upkts' => 'Unicast Packets',
'nupkts' => 'Non-Unicast Packets',
'errors' => 'Errors');
diff --git a/html/pages/ports/graph.inc.php b/html/pages/ports/graph.inc.php
index 5b7a16320..d1c23ac99 100644
--- a/html/pages/ports/graph.inc.php
+++ b/html/pages/ports/graph.inc.php
@@ -22,7 +22,7 @@ foreach (dbFetchRows($query, $param) as $interface)
$graph_type = "port_" . $subformat;
echo("\
\
', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >".