From 9bd827a642c7178b9a0e0af103303c702cb40b64 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 7 Jan 2009 03:40:13 +0000 Subject: * Added a client version report. * Added a report-> link generator. --- OpenSim/Region/UserStatistics/HTMLUtil.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'OpenSim/Region/UserStatistics/HTMLUtil.cs') diff --git a/OpenSim/Region/UserStatistics/HTMLUtil.cs b/OpenSim/Region/UserStatistics/HTMLUtil.cs index bc21c55..173f75e 100644 --- a/OpenSim/Region/UserStatistics/HTMLUtil.cs +++ b/OpenSim/Region/UserStatistics/HTMLUtil.cs @@ -208,5 +208,33 @@ namespace OpenSim.Region.UserStatistics o.Append(""); o.Append(""); } + + public static void AddReportLinks( ref StringBuilder o, Dictionary reports, string pClass) + { + int repcount = 0; + foreach (string str in reports.Keys) + { + if (reports[str].ReportName.Length > 0) + { + if (repcount > 0) + { + o.Append("|  "); + } + + o.Append(" 0) + { + GenericClass(ref o, pClass); + + } + o.Append(" href=\""); + o.Append(str); + o.Append("\">"); + o.Append(reports[str].ReportName); + o.Append("  "); + repcount++; + } + } + } } } -- cgit v1.1