aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/HTMLUtil.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-07 03:40:13 +0000
committerTeravus Ovares2009-01-07 03:40:13 +0000
commit9bd827a642c7178b9a0e0af103303c702cb40b64 (patch)
treedcb30a2a21f548847f28e7affb312074d5ee7f44 /OpenSim/Region/UserStatistics/HTMLUtil.cs
parent* prune and regrade log messages relating to client login and logout (diff)
downloadopensim-SC-9bd827a642c7178b9a0e0af103303c702cb40b64.zip
opensim-SC-9bd827a642c7178b9a0e0af103303c702cb40b64.tar.gz
opensim-SC-9bd827a642c7178b9a0e0af103303c702cb40b64.tar.bz2
opensim-SC-9bd827a642c7178b9a0e0af103303c702cb40b64.tar.xz
* Added a client version report.
* Added a report-> link generator.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/UserStatistics/HTMLUtil.cs28
1 files changed, 28 insertions, 0 deletions
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
208 o.Append("</HEAD>"); 208 o.Append("</HEAD>");
209 o.Append("<BODY>"); 209 o.Append("<BODY>");
210 } 210 }
211
212 public static void AddReportLinks( ref StringBuilder o, Dictionary<string, IStatsController> reports, string pClass)
213 {
214 int repcount = 0;
215 foreach (string str in reports.Keys)
216 {
217 if (reports[str].ReportName.Length > 0)
218 {
219 if (repcount > 0)
220 {
221 o.Append("|&nbsp;&nbsp;");
222 }
223
224 o.Append("<A");
225 if (pClass.Length > 0)
226 {
227 GenericClass(ref o, pClass);
228
229 }
230 o.Append(" href=\"");
231 o.Append(str);
232 o.Append("\">");
233 o.Append(reports[str].ReportName);
234 o.Append("</A>&nbsp;&nbsp;");
235 repcount++;
236 }
237 }
238 }
211 } 239 }
212} 240}