remove apikey
This commit is contained in:
parent
83384c1472
commit
0c0269cbe8
|
@ -7,10 +7,4 @@ function clean($string)
|
|||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
|
||||
}
|
||||
|
||||
function calcAPIKey($container)
|
||||
{
|
||||
global $RUNTIME;
|
||||
|
||||
return md5($container['Id']);
|
||||
}
|
||||
?>
|
|
@ -27,7 +27,6 @@ if(isset($_SESSION['LOGIN']))
|
|||
$HTML->importHTML("style/default/dashboard.html");
|
||||
|
||||
$HTML->ReplaceLayoutInhalt("%%ContainerName%%", trim(ltrim($container['Names']['0'], '/')));
|
||||
$HTML->ReplaceLayoutInhalt("%%UserAPIKey%%", calcAPIKey($container));
|
||||
$HTML->ReplaceLayoutInhalt("%%ContainerLogOutput%%", html_entity_decode(clean($logOutput)));
|
||||
$HTML->ReplaceLayoutInhalt("%%STATUS%%", html_entity_decode($container['Status']));
|
||||
|
||||
|
|
Loading…
Reference in New Issue