diff options
author | onefang | 2019-09-11 16:36:50 +1000 |
---|---|---|
committer | onefang | 2019-09-11 16:36:50 +1000 |
commit | 50cd1ffd32f69228e566f2b0b89f86ea0d9fe489 (patch) | |
tree | 52f2ab0c04f1a5d7d6ac5dc872981b4b156447e7 /OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs | |
parent | Renamed branch to SledjChisl. (diff) | |
parent | Bump to release flavour, build 0. (diff) | |
download | opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.zip opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.gz opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.bz2 opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.xz |
Merge branch 'SledjChisl'
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs b/OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs index 4d45b80..3e0f45e 100644 --- a/OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs +++ b/OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Region.UserStatistics | |||
66 | public string RenderView(Hashtable pModelResult) | 66 | public string RenderView(Hashtable pModelResult) |
67 | { | 67 | { |
68 | StringBuilder output = new StringBuilder(); | 68 | StringBuilder output = new StringBuilder(); |
69 | 69 | ||
70 | HTMLUtil.HR(ref output, ""); | 70 | HTMLUtil.HR(ref output, ""); |
71 | output.Append("<H3>ActiveLog</H3>\n"); | 71 | output.Append("<H3>ActiveLog</H3>\n"); |
72 | 72 | ||
@@ -102,13 +102,13 @@ namespace OpenSim.Region.UserStatistics | |||
102 | } | 102 | } |
103 | } | 103 | } |
104 | StringBuilder replaceStr = new StringBuilder(); | 104 | StringBuilder replaceStr = new StringBuilder(); |
105 | //string titlecolorresults = | 105 | //string titlecolorresults = |
106 | 106 | ||
107 | string formatresult = Regex.Replace(TitleColor.Replace(result[i], "$1"), "[^ABCDEFabcdef0-9]", ""); | 107 | string formatresult = Regex.Replace(TitleColor.Replace(result[i], "$1"), "[^ABCDEFabcdef0-9]", ""); |
108 | if (formatresult.Length > 6) | 108 | if (formatresult.Length > 6) |
109 | { | 109 | { |
110 | formatresult = formatresult.Substring(0, 6); | 110 | formatresult = formatresult.Substring(0, 6); |
111 | 111 | ||
112 | } | 112 | } |
113 | for (int j = formatresult.Length; j <= 5; j++) | 113 | for (int j = formatresult.Length; j <= 5; j++) |
114 | formatresult += "0"; | 114 | formatresult += "0"; |
@@ -116,12 +116,12 @@ namespace OpenSim.Region.UserStatistics | |||
116 | replaceStr.Append(formatresult); | 116 | replaceStr.Append(formatresult); |
117 | replaceStr.Append("\">$3</font>] $4<br />"); | 117 | replaceStr.Append("\">$3</font>] $4<br />"); |
118 | string repstr = replaceStr.ToString(); | 118 | string repstr = replaceStr.ToString(); |
119 | 119 | ||
120 | output.Append(formatopen); | 120 | output.Append(formatopen); |
121 | output.Append(webFormat.Replace(result[i], repstr)); | 121 | output.Append(webFormat.Replace(result[i], repstr)); |
122 | output.Append(formatclose); | 122 | output.Append(formatclose); |
123 | } | 123 | } |
124 | 124 | ||
125 | 125 | ||
126 | return output.ToString(); | 126 | return output.ToString(); |
127 | } | 127 | } |