summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2008-04-25 20:34:31 +0200
committerNiko Tyni <ntyni@iki.fi>2008-04-25 20:34:31 +0200
commite1aa9c368e3ad73b576d4410ffc937d1d03c50f1 (patch)
treede5a686f5136d323c4bf549169391e3de5b5669a
parente942ada8af8b54bb34b9a5a3a7ab34e7ae7ca347 (diff)
downloadsmokeping-e1aa9c368e3ad73b576d4410ffc937d1d03c50f1.tar.gz
smokeping-e1aa9c368e3ad73b576d4410ffc937d1d03c50f1.tar.xz
honour the 'linkstyle' variable when zooming
-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>";
}