fix var name

This commit is contained in:
Christopher 2020-10-23 21:12:57 +02:00
parent 8750555b4c
commit 3cbd0996a1
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ if(isset($_SESSION['LOGIN']))
$HTML->setHTMLTitle($container->Names[0]);
$HTML->importHTML("style/default/dashboard.html");
$HTML->ReplaceLayoutInhalt("%%ContainerName%%", $container->Names[0]);
$HTML->ReplaceLayoutInhalt("%%ContainerName%%", ltrim($container['Names']['0'], '/'));
$HTML->ReplaceLayoutInhalt("%%UserAPIKey%%", $container['Id']);
$HTML->ReplaceLayoutInhalt("%%UserAPIKey%%", html_entity_decode($logOutput));
$HTML->ReplaceLayoutInhalt("%%ContainerLogOutput%%", html_entity_decode($logOutput));
$HTML->build();
echo $HTML->ausgabe();