r1671 + renderReportSummary(): show new IPv4 and rackspace reports
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 15 Feb 2008 09:35:50 +0000 (09:35 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 15 Feb 2008 09:35:50 +0000 (09:35 +0000)
inc/interface.php

index 65fff9dbb65207f2dba8fd6482ac761b4f91ced4..67efa3a5e93842549ee2f0c8d57055df08d95be6 100644 (file)
@@ -3043,9 +3043,19 @@ function renderReportSummary ()
        startPortlet ("Dictionary/objects stats");
        echo "<table>\n";
        foreach (getDictStats() as $header => $data)
-       {
                echo "<tr><th class=tdright>${header}:</th><td class=tdleft>${data}</td></tr>\n";
-       }
+       echo "</table>\n";
+       finishPortlet();
+       startPortlet ('IPv4 stats');
+       echo "<table>\n";
+       foreach (getIPv4Stats() as $header => $data)
+               echo "<tr><th class=tdright>${header}:</th><td class=tdleft>${data}</td></tr>\n";
+       echo "</table>\n";
+       finishPortlet();
+       startPortlet ('Rackspace stats');
+       echo "<table>\n";
+       foreach (getRackspaceStats() as $header => $data)
+               echo "<tr><th class=tdright>${header}:</th><td class=tdleft>${data}</td></tr>\n";
        echo "</table>\n";
        finishPortlet();