summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--lib/Smokeping.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 6ed1360..c4e17fd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+* honour the 'linkstyle' variable when zooming
+ -- niko, reported by Wolfgang Tremmel as Debian bug #476404
+
* the 'ralf' fix for cgi which is not able to read the secrets file. -- tobi
* display "all the smoke" even when it gets cut at the top end of the graph
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 13dac78..50fad0f 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1378,7 +1378,7 @@ sub get_detail ($$$$;$){
# $page .= (time-$timer_start)."<br/>";
# $page .= join " ",map {"'$_'"} @task;
$page .= "<br/>";
- $page .= ( qq{<a href="?}.hierarchy($q).qq{displaymode=n;start=$startstr;end=now;}."target=".$q->param('target').$s.'">'
+ $page .= ( qq{<a href="}.cgiurl($q,$cfg)."?".hierarchy($q).qq{displaymode=n;start=$startstr;end=now;}."target=".$q->param('target').$s.'">'
. qq{<IMG BORDER="0" SRC="${imghref}${s}_${end}_${start}.png">}."</a>" ); #"
$page .= "</div>";
}