# Unsupported graph origin: Redirect request to the CGI specified in the "origin" parameter
# This enables backwards compatibility with addons that use Graphs::makegraphbox to ouput their own graphs
-unless($origin ~~ @supported_origins) {
+unless(($origin ~~ @supported_origins) || ($origin eq "getrrdimage.cgi")) {
# Rewrite to old URL format: /[graph origin cgi]?[graph name]?[time range]
my $location = "https://$ENV{'SERVER_NAME'}:$ENV{'SERVER_PORT'}/cgi-bin/${origin}?${graph}?${range}";
# Add request parameters for debugging
if($graphstatus) {
$graphstatus = "$graphstatus\n($origin, $graph, $range)";
+
+ # Save message in system log for further inspection
+ General::log($graphstatus);
+
_print_error($graphstatus);
}
border: none;
background: none;
cursor: pointer;
- text-decoration: underline;
+ text-decoration: none;
}
.rrdimage button:focus {
outline: none;
box-shadow: none;
}
.rrdimage button.selected {
- background-color: rgba(135, 203, 0, 0.2);
+ text-decoration: underline;
}
div.rrdimage > img {