X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fmemory.cgi;h=030afe867df07723f7b170d3f8824516b78e81a9;hp=07f7b438594541d9974224090b2425906176706a;hb=350b52c5c9368951ff2a9139817b42d0aec03ad7;hpb=aee3027d875826e18b3eb198f9ad0c3228bfbb01 diff --git a/html/cgi-bin/memory.cgi b/html/cgi-bin/memory.cgi index 07f7b43859..030afe867d 100644 --- a/html/cgi-bin/memory.cgi +++ b/html/cgi-bin/memory.cgi @@ -17,15 +17,18 @@ use CGI::Carp 'fatalsToBrowser'; require '/var/ipfire/general-functions.pl'; require "${General::swroot}/lang.pl"; require "${General::swroot}/header.pl"; +require "${General::swroot}/graphs.pl"; my %cgiparams=(); -&Header::showhttpheaders(); +&Graphs::updatememgraph ("day"); +&Graphs::updatememgraph ("week"); +&Graphs::updatememgraph ("month"); +&Graphs::updatememgraph ("year"); +&Header::showhttpheaders(); &Header::getcgihash(\%cgiparams); - &Header::openpage($Lang::tr{'memory information'}, 1, ''); - &Header::openbigbox('100%', 'left'); &Header::openbox('100%', 'center', "Memory $Lang::tr{'graph'}");