From 62fd9a03edb00e6b3429a25d22c88d35a2d6eef6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Oct 2024 11:53:15 +0200 Subject: [PATCH] docker image name --- functions.php | 6 +++--- scan.php | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index cbd8b80..1325c2c 100644 --- a/functions.php +++ b/functions.php @@ -147,12 +147,12 @@ function get_vpn_url($domain,$passkey) { function show_service($name, $containers) { $str = ''; - $str .= ""; + $str .= ""; $containers = trim($containers); $arr = explode("|",$containers); foreach ($arr as $container) { - $c_arr = explode(":",$container); - $str .= ""; + $c_arr = explode("#",$container); + $str .= ""; } $str .= '
{$name}Container nameStatusAction
{$name}
 ".$c_arr[0]."".$c_arr[1]."RESTART
".$c_arr[0]."".$c_arr[1]."".$c_arr[2]."RESTART
'; diff --git a/scan.php b/scan.php index e3fc8b3..d34f639 100644 --- a/scan.php +++ b/scan.php @@ -74,6 +74,7 @@ switch ($_GET["op"]) { if ($key=="services") { if ($data["INSTALL_STATUS"]==2) echo "NEW"; elseif ($data["INSTALL_STATUS"]==1) { + echo "
Service/ContainerImageStatusAction
"; foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) { //echo base64_decode($object["content"]); show_service($service_name, $object["running"].":Up");