From 150aaa6f9d8f88816437c9e89c19c77a5764e9d7 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 11 Jul 2006 20:52:03 +0000 Subject: Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4351 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index fada1f572..1feeb9d24 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -113,7 +113,7 @@ class ModuleHttpStats : public Module data << ""; data << "

InspIRCd server statisitics for " << Srv->GetServerName() << " (" << Srv->GetServerDescription() << ")

"; - data << "
"; + data << "
"; data << "

Totals

"; data << ""; data << ""; @@ -123,7 +123,7 @@ class ModuleHttpStats : public Module data << "
Users" << clientlist.size() << "
"; data << "
"; - data << "
"; + data << "
"; data << "

Modules

"; data << ""; for (int i = 0; i <= MODCOUNT; i++) @@ -134,10 +134,10 @@ class ModuleHttpStats : public Module data << "
"; data << "
"; - data << "
"; + data << "
"; data << "

Channels

"; data << ""; - data << ""; + data << ""; /* If the list has changed since last time it was displayed, re-sort it * this time only (not every time, as this would be moronic) @@ -155,6 +155,7 @@ class ModuleHttpStats : public Module data << ""; data << ""; data << ""; + data << ""; data << ""; } } @@ -166,7 +167,7 @@ class ModuleHttpStats : public Module - data << "
"; + data << "
"; data << "

Valid XHTML 1.1

"; data << "
"; -- cgit v1.2.3
UsersName@%+
UsersName@%+Topic
" << c->GetOppedUsers()->size() << "" << c->GetHalfoppedUsers()->size() << "" << c->GetVoicedUsers()->size() << "" << c->topic << "