aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/HTMLUtil.cs
diff options
context:
space:
mode:
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}