This commit is contained in:
Andreas Österreicher
2008-01-15 13:56:22 +00:00
parent ddea205b0c
commit 37c658c82b
17 changed files with 267 additions and 89 deletions
+15
View File
@@ -490,6 +490,21 @@ if(!$error)
$errormsg = 'Falsche Paramenteruebergabe';
}
}
elseif(isset($_POST['type']) && $_POST['type']=='getvariable')
{
$variable = new variable($conn, null, null, true);
if($variable->load($user, $_POST['name']))
{
$return = true;
$data = $variable->wert;
}
else
{
$return = false;
$errormsg = 'Fehler: '.$variable->errormsg;
}
}
else
{
$return = false;