clockwerk-www

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 61  →  ?path2? @ 60
File deleted
/resetpassword.php
File deleted
/reset.php
/index.php
@@ -16,7 +16,6 @@
<input type="button" onclick="parent.location='getoar.php'" value="Get OAR"><br>
<input type="button" onclick="parent.location='uploadiar.php'" value="Upload IAR">
<input type="button" onclick="parent.location='uploadoar.php'" value="Upload OAR"><br>
<input type="button" onclick="parent.location='reset.php'" value="Reset Password"><br>
<input type="button" onclick="parent.location='/guacamole'" value="Console"><br>
<input type="button" onclick="parent.location='about.php'" value="About"><br>
</form>
/lib/wasRemoteAdmin.php
@@ -91,6 +91,7 @@
 
function admin_authenticate_user($firstname, $lastname, $password, $tokentime) {
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST);
$serializer = new XML_Serializer($this->options);
$xml = array(
"methodName" => htmlspecialchars('admin_authenticate_user'),
@@ -136,6 +137,7 @@
 
function admin_create_user($firstname, $lastname, $password, $region_x, $region_y) {
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST);
$serializer = new XML_Serializer($this->options);
$xml = array(
"methodName" => htmlspecialchars('admin_create_user'),
@@ -176,49 +178,6 @@
),
),
);
function admin_update_user($firstname, $lastname, $password, $region_x, $region_y) {
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST);
$serializer = new XML_Serializer($this->options);
$xml = array(
"methodName" => htmlspecialchars('admin_update_user'),
"params" =>
array( "param" =>
array( "value" =>
array("struct" =>
array(
"member" =>
array(
"name" => 'password',
"value" => array(
"string" => htmlspecialchars($this->raPassword)
),
),
array(
"name" => 'user_firstname',
"value" => htmlspecialchars($firstname)
),
array(
"name" => 'user_lastname',
"value" => htmlspecialchars($lastname)
),
array(
"name" => 'user_password',
"value" => htmlspecialchars($password)
),
array(
"name" => 'start_region_x',
"value" => htmlspecialchars($region_x)
),
array(
"name" => 'start_region_y',
"value" => htmlspecialchars($region_y)
),
),
),
),
),
);
$serializer->serialize($xml);
$xml_load = $serializer->getSerializedData();
@@ -228,6 +187,7 @@
function admin_get_agents($region_name, $include_children) {
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST);
$serializer = new XML_Serializer($this->options);
$xml = array(
"methodName" => htmlspecialchars('admin_get_agents'),