diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Region/OptionalModules/UserStatistics/LogLinesAJAX.cs')
-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 | } |