Commit 9c439936 authored by Nico Schallehn's avatar Nico Schallehn

Update der Verlgeichsliste möglich

parent 7cc7ca61
......@@ -40,7 +40,7 @@ class MediaDBAPI{
private $SpaltenEpi = array();
private $StatiViews = array();
private $WebAppSite = array(); //TODO Rechte für WebApp Seiten vergeben
private $Update = FALSE;
public $Update = FALSE;
private $DebugOutput = FALSE;
public $webapp = FALSE;
public $DB_Objekt;
......
......@@ -304,8 +304,14 @@ if($_GET["action"] == "filme"){
}
$content = '<div class="content">neue Filme:'.$counterNeu.'<br>defekte Filme:'.$countermd5.'<br>Vorhandene Filme Filme:'.$countereql.'<br><form method="POST">
<input type="submit" name="update" value="Liste als gesehen markieren"></form>
if($API->Update){
$Update = '<br><form method="POST">
<input type="submit" name="update" value="Liste als gesehen markieren"></form>';
}
else{
$Update ="";
}
$content = '<div class="content">neue Filme:'.$counterNeu.'<br>defekte Filme:'.$countermd5.'<br>Vorhandene Filme Filme:'.$countereql.$Update.'
<table><tr><th>Filmname</th><th>Daten</th></tr>'.$movies.'</table></div>';
}else if (isset($_GET["action"])){
$titel = "404 - Nicht gefunden";
......
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