Commit dd9a6e0a authored by Nico Schallehn's avatar Nico Schallehn

test

parent 774ee7af
......@@ -46,7 +46,7 @@ function TableRowRights($Api, $Key = null, $Data = null){
$ret .= '<td><input type="checkbox" name="Update" '.($Data["Update"]==true?"checked":"").'></td>';
$ret .= '<td><input type="checkbox" name="DebugO" '.($Data["DebugO"]==true?"checked":"").'></td>';
$ret .= '<td><input type="submit" name="POST" value="'.(($Data == null)?"Anlegen":"Speichern").'">
<input type=hidden" name="ID" value="'.$Key.'"></td>';
<input type="hidden" name="ID" value="'.$Key.'"></td>';
$ret .= '</tr></form>';
return $ret;
}
......@@ -209,12 +209,16 @@ if($_GET["action"] == "filme"){
}
file_put_contents(API_Rights, json_encode($Data,JSON_PRETTY_PRINT));
$Data[$_POST["ID"]]["webapp"] = (isset($_POST["webapp"])?true:false);
$Data[$_POST["ID"]]["Update"] = (isset($_POST["Update"])?true:false);
$Data[$_POST["ID"]]["DebugO"] = (isset($_POST["DebugO"])?true:false);
}
ob_start();
//var_dump($Data);
//var_dump($Data);TableRowRights
$content .= ob_get_clean();
$content .= '<div style="width: 100%; overflow: auto;"><table>'.PHP_EOL;
$content .= ' <tr><th >Von</th> <th> Bis</th> ';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment