Graphen Hintergrundfarbe bei Standarttheme auf weiss gesetzt

Config Types in der Nettraffic angepasst
Erstellung der Week Month und Year Graphen nur noch bei Request


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@573 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-05-22 19:04:48 +00:00
parent 57d5b13817
commit b05768be3b
8 changed files with 81 additions and 73 deletions

View File

@@ -55,19 +55,9 @@ if ($cgiparams[1] =~ /red/) {
foreach my $graphname (@graphs) {
if ($graphname eq "lq" )
{
&Graphs::updatelqgraph("day");
&Graphs::updatelqgraph("week");
&Graphs::updatelqgraph("month");
&Graphs::updatelqgraph("year");
}
{ &Graphs::updatelqgraph("day"); }
else
{
&Graphs::updateifgraph($graphname, "day");
&Graphs::updateifgraph($graphname, "week");
&Graphs::updateifgraph($graphname, "month");
&Graphs::updateifgraph($graphname, "year");
}
{ &Graphs::updateifgraph($graphname, "day"); }
&Header::openbox('100%', 'center', "$graphname $Lang::tr{'graph'}");
if (-e "$Header::graphdir/${graphname}-day.png") {