aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/testadmin.htm
diff options
context:
space:
mode:
authorlbsa712007-04-03 16:50:17 +0000
committerlbsa712007-04-03 16:50:17 +0000
commitad398971445a3aad5490ad4c3e6b7319f201bb8f (patch)
tree746655b671e158b1e578983d68eeb96976ebdf8f /bin/testadmin.htm
parentLimited (hacked) object linking. Note: once you have linked a set of prims to... (diff)
downloadopensim-SC_OLD-ad398971445a3aad5490ad4c3e6b7319f201bb8f.zip
opensim-SC_OLD-ad398971445a3aad5490ad4c3e6b7319f201bb8f.tar.gz
opensim-SC_OLD-ad398971445a3aad5490ad4c3e6b7319f201bb8f.tar.bz2
opensim-SC_OLD-ad398971445a3aad5490ad4c3e6b7319f201bb8f.tar.xz
* Script prototype
Diffstat (limited to '')
-rw-r--r--bin/testadmin.htm9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/testadmin.htm b/bin/testadmin.htm
index 1e34cf7..62a860d 100644
--- a/bin/testadmin.htm
+++ b/bin/testadmin.htm
@@ -69,7 +69,7 @@ if (http_request.readyState==4)
69 alert('Cannot create XMLHTTP instance'); 69 alert('Cannot create XMLHTTP instance');
70 return false; 70 return false;
71 } 71 }
72 72
73 http_request.onreadystatechange =state_Change 73 http_request.onreadystatechange =state_Change
74 http_request.open('POST', url, true); 74 http_request.open('POST', url, true);
75 http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 75 http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
@@ -83,14 +83,14 @@ if (http_request.readyState==4)
83 if (http_request.status == 200) { 83 if (http_request.status == 200) {
84 //alert(http_request.responseText); 84 //alert(http_request.responseText);
85 result = http_request.responseText; 85 result = http_request.responseText;
86 document.getElementById('T1').innerHTML = result; 86 document.getElementById('T1').innerHTML = result;
87 } else { 87 } else {
88 alert('There was a problem with the request.'); 88 alert('There was a problem with the request.');
89 } 89 }
90 } 90 }
91 } 91 }
92 92
93 93
94 function get(obj) { 94 function get(obj) {
95 var poststr = "FirstName=" + encodeURI( document.getElementById("FirstName").value ) + 95 var poststr = "FirstName=" + encodeURI( document.getElementById("FirstName").value ) +
96 "&LastName=" + encodeURI( document.getElementById("LastName").value ) 96 "&LastName=" + encodeURI( document.getElementById("LastName").value )
@@ -98,7 +98,7 @@ if (http_request.readyState==4)
98 + "&AdminPass=" + adminpass; 98 + "&AdminPass=" + adminpass;
99 makePOSTRequest('Admin/NewAccount', poststr); 99 makePOSTRequest('Admin/NewAccount', poststr);
100 } 100 }
101 101
102 function setpass(obj) 102 function setpass(obj)
103 { 103 {
104 adminpass = encodeURI( document.getElementById("Adminpss").value ); 104 adminpass = encodeURI( document.getElementById("Adminpss").value );
@@ -115,6 +115,7 @@ if (http_request.readyState==4)
115</div><br /> 115</div><br />
116<button onclick="loadXMLDoc('Admin/Clients')">Clients</button> 116<button onclick="loadXMLDoc('Admin/Clients')">Clients</button>
117<button onclick="loadXMLDoc('Admin/Accounts')">Accounts</button> 117<button onclick="loadXMLDoc('Admin/Accounts')">Accounts</button>
118<button onclick="loadXMLDoc('Admin/Entities')">Entities</button>
118 119
119</body> 120</body>
120 121