vpn-stats: Show daily graph as *all* other graphs do, too
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Apr 2015 08:57:09 +0000 (10:57 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Apr 2015 08:57:09 +0000 (10:57 +0200)
html/cgi-bin/netovpnrw.cgi
html/cgi-bin/netovpnsrv.cgi

index e0b1148..fed6d4d 100755 (executable)
@@ -59,7 +59,7 @@ if ( $querry[0] ne "" && $querry[0] ne "UNDEF"){
        if(@vpns){
                foreach (@vpns) {
                        &Header::openbox('100%', 'center', "$_ $Lang::tr{'graph'}");
-                       &Graphs::makegraphbox("netovpnrw.cgi",$_,"week");
+                       &Graphs::makegraphbox("netovpnrw.cgi",$_, "day");
                        &Header::closebox();
                }
        }else{
index f843462..ddf4177 100755 (executable)
@@ -59,7 +59,7 @@ if ( $querry[0] ne ""){
        if (@vpns){
                foreach (@vpns) {
                        &Header::openbox('100%', 'center', "$_ $Lang::tr{'graph'}");
-                       &Graphs::makegraphbox("netovpnsrv.cgi",$_,"week");
+                       &Graphs::makegraphbox("netovpnsrv.cgi",$_, "day");
                        &Header::closebox();
                }
        }else{