diff --git a/config.inc b/config.inc
index f84e25f..a251e96 100644
--- a/config.inc
+++ b/config.inc
@@ -17,6 +17,8 @@ $show95th = true;
$ntop = 20;
$showv6 = true;
$showtitledetail = true;
+$hidelinkusagename = false;
+
$vertical_label = true; # vertical IN/OUT label in graph
$brighten_negative = true; # brighten the "negative" part of graphs
diff --git a/linkgraph.php b/linkgraph.php
index d97e965..3e9692d 100644
--- a/linkgraph.php
+++ b/linkgraph.php
@@ -54,6 +54,13 @@ $cmd = "$rrdtool graph - " .
if (!$compat_rrdtool12)
$cmd .= "--full-size-mode ";
+if ($vertical_label) {
+ if($outispositive)
+ $cmd .= "--vertical-label '<- IN | OUT ->' ";
+ else
+ $cmd .= "--vertical-label '<- OUT | IN ->' ";
+}
+
if($showtitledetail && @$_GET['dname'] != "")
$cmd .= "--title " . escapeshellarg($_GET['dname']) . " ";
else
diff --git a/linkusage.php b/linkusage.php
index ec753f0..aeac676 100644
--- a/linkusage.php
+++ b/linkusage.php
@@ -1,6 +1,7 @@
';
- $list_img_v6[$link['tag']] = '
';
+ $list_img[$link['tag']] = '
';
+ $list_img_v6[$link['tag']] = '
';
} else {
- $list_img[$link['tag']] = '
';
+ $list_img[$link['tag']] = '
';
}
if ( ($showtitledetail && !$hidelinkusagename) || (!$showtitledetail) ) {
$txt_title[$link['tag']] = $link['descr'];