scripts/lua/flows_stats.lua: do not show dropdown for network historical chart

This commit removes the dropdown for network historical charts
because, as of now, only bytes are stored in RRD for networks.
This commit is contained in:
Arianna Avanzini 2015-05-22 00:30:28 +02:00
parent 6b3a99d841
commit 2b3cbc7fc7

View file

@ -235,7 +235,7 @@ end
if (page == "historical" and _GET["network_name"] ~= nil) then
local netname_format = string.gsub(_GET["network_name"], "_", "/")
local rrd_file = getPathFromKey(netname_format).."/bytes.rrd"
drawRRD(ifstats.id, nil, rrd_file, "1d", url.."&page=historical", 1, os.time() , "", nil)
drawRRD(ifstats.id, nil, rrd_file, "1d", url.."&page=historical", 0, os.time() , "", nil)
end
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")