summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 20:18:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 20:18:59 +0000
commit7a5dbad70360c31c23345fd04e517e9c0e24eb60 (patch)
treed1057cfcb7da7db92ace1123c96ded8f29b0ac38 /src/modules
parentbf797a387992895ee25ed02f58bded8ce56ef378 (diff)
Now has a shiney 'valid xhtml 1.1' icon, just because it can.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4349 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_httpd_stats.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 83bcc97aa..4887141fd 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -102,8 +102,6 @@ class ModuleHttpStats : public Module
if ((http->GetURI() == "/stats") || (http->GetURI() == "/stats/"))
{
- log(DEBUG,"HTTP URL!");
-
data << "<!DOCTYPE html PUBLIC \
\"-//W3C//DTD XHTML 1.1//EN\" \
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\
@@ -114,7 +112,7 @@ class ModuleHttpStats : public Module
data << "</head><body>";
data << "<h1>InspIRCd server statisitics for " << Srv->GetServerName() << " (" << Srv->GetServerDescription() << ")</h1>";
- data << "<div id='TOTALS'>";
+ data << "<div id='totals'>";
data << "<h2>Totals</h2>";
data << "<table>";
data << "<tr><td>Users</td><td>" << clientlist.size() << "</td></tr>";
@@ -124,7 +122,7 @@ class ModuleHttpStats : public Module
data << "</table>";
data << "</div>";
- data << "<div id='MODULES'>";
+ data << "<div id='modules'>";
data << "<h2>Modules</h2>";
data << "<table>";
for (int i = 0; i <= MODCOUNT; i++)
@@ -135,7 +133,7 @@ class ModuleHttpStats : public Module
data << "</table>";
data << "</div>";
- data << "<div id='CHANNELS'>";
+ data << "<div id='channels'>";
data << "<h2>Channels</h2>";
data << "<table>";
data << "<tr><th>Users</th><th>Name</th><th>@</th><th>%</th><th>+</th></tr>";
@@ -163,6 +161,13 @@ class ModuleHttpStats : public Module
data << "</table>";
data << "</div>";
+
+
+
+
+ data << "<div id='validion'>";
+ data << "<p><a href='http://validator.w3.org/check?uri=referer'><img src='http://www.w3.org/Icons/valid-xhtml11' alt='Valid XHTML 1.1' height='31' width='88' /></a></p>";
+ data << "</div>";
data << "</body>";
data << "</html>";