diff options
author | lbsa71 | 2007-03-27 21:42:14 +0000 |
---|---|---|
committer | lbsa71 | 2007-03-27 21:42:14 +0000 |
commit | f42d1fc825b7b9d22ae05836992531d9abd2a26d (patch) | |
tree | c316d0d2ec56a34c6c7f2099977bcc6f14e5eb24 /OpenSim.RegionServer/CAPS/AdminWebFront.cs | |
parent | * Reverting todays work. It was worth a try. (diff) | |
download | opensim-SC-f42d1fc825b7b9d22ae05836992531d9abd2a26d.zip opensim-SC-f42d1fc825b7b9d22ae05836992531d9abd2a26d.tar.gz opensim-SC-f42d1fc825b7b9d22ae05836992531d9abd2a26d.tar.bz2 opensim-SC-f42d1fc825b7b9d22ae05836992531d9abd2a26d.tar.xz |
* revert the revert - begin the beguine
Diffstat (limited to 'OpenSim.RegionServer/CAPS/AdminWebFront.cs')
-rw-r--r-- | OpenSim.RegionServer/CAPS/AdminWebFront.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/CAPS/AdminWebFront.cs b/OpenSim.RegionServer/CAPS/AdminWebFront.cs index ea32589..03f8692 100644 --- a/OpenSim.RegionServer/CAPS/AdminWebFront.cs +++ b/OpenSim.RegionServer/CAPS/AdminWebFront.cs | |||
@@ -2,6 +2,7 @@ using System; | |||
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using System.IO; | 4 | using System.IO; |
5 | using OpenSim.world; | ||
5 | 6 | ||
6 | namespace OpenSim.CAPS | 7 | namespace OpenSim.CAPS |
7 | { | 8 | { |
@@ -11,9 +12,11 @@ namespace OpenSim.CAPS | |||
11 | private string NewAccountForm; | 12 | private string NewAccountForm; |
12 | private string LoginForm; | 13 | private string LoginForm; |
13 | private string passWord = "Admin"; | 14 | private string passWord = "Admin"; |
15 | private World m_world; | ||
14 | 16 | ||
15 | public AdminWebFront(string password) | 17 | public AdminWebFront(string password, World world) |
16 | { | 18 | { |
19 | m_world = world; | ||
17 | passWord = password; | 20 | passWord = password; |
18 | LoadAdminPage(); | 21 | LoadAdminPage(); |
19 | } | 22 | } |
@@ -45,11 +48,11 @@ namespace OpenSim.CAPS | |||
45 | { | 48 | { |
46 | responseString = " <p> Listing connected Clients </p>"; | 49 | responseString = " <p> Listing connected Clients </p>"; |
47 | OpenSim.world.Avatar TempAv; | 50 | OpenSim.world.Avatar TempAv; |
48 | foreach (libsecondlife.LLUUID UUID in OpenSimRoot.Instance.LocalWorld.Entities.Keys) | 51 | foreach (libsecondlife.LLUUID UUID in m_world.Entities.Keys) |
49 | { | 52 | { |
50 | if (OpenSimRoot.Instance.LocalWorld.Entities[UUID].ToString() == "OpenSim.world.Avatar") | 53 | if (m_world.Entities[UUID].ToString() == "OpenSim.world.Avatar") |
51 | { | 54 | { |
52 | TempAv = (OpenSim.world.Avatar)OpenSimRoot.Instance.LocalWorld.Entities[UUID]; | 55 | TempAv = (OpenSim.world.Avatar)m_world.Entities[UUID]; |
53 | responseString += "<p>"; | 56 | responseString += "<p>"; |
54 | responseString += String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}", TempAv.firstname, TempAv.lastname, UUID, TempAv.ControllingClient.SessionID, TempAv.ControllingClient.CircuitCode, TempAv.ControllingClient.userEP.ToString()); | 57 | responseString += String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}", TempAv.firstname, TempAv.lastname, UUID, TempAv.ControllingClient.SessionID, TempAv.ControllingClient.CircuitCode, TempAv.ControllingClient.userEP.ToString()); |
55 | responseString += "</p>"; | 58 | responseString += "</p>"; |