fix typo
This commit is contained in:
parent
d17f7b59a4
commit
1677df105b
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
function clean($string) {
|
||||
$string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
|
||||
|
||||
return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
|
||||
}
|
||||
function clean($string)
|
||||
{
|
||||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
|
||||
}
|
||||
|
||||
|
||||
if(isset($_SESSION['LOGIN']))
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ if(isset($_SESSION['LOGIN']))
|
|||
|
||||
$HTML->ReplaceLayoutInhalt("%%ContainerName%%", ltrim($container['Names']['0'], '/'));
|
||||
$HTML->ReplaceLayoutInhalt("%%UserAPIKey%%", $container['Id']);
|
||||
$HTML->ReplaceLayoutInhalt("%%ContainerLogOutput%%", clean(html_entity_decode($logOutput)));
|
||||
$HTML->ReplaceLayoutInhalt("%%ContainerLogOutput%%", html_entity_decode(clean($logOutput)));
|
||||
|
||||
$HTML->build();
|
||||
echo $HTML->ausgabe();
|
||||
|
|
|
@ -122,9 +122,9 @@
|
|||
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
|
||||
<div class="breadcomb-wp">
|
||||
<div class="breadcomb-ctn">
|
||||
<pre class="pre-scrollable" style="width: 100%; min-height: 200px; max-height: 200px; height: 200px; overflow-y: scroll;">
|
||||
<pre class="pre-scrollable" style="width: 100%; min-height: 350px; max-height: 350px; height: 350px; overflow-y: scroll;">
|
||||
%%ContainerLogOutput%%
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue