diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php
index bf8031f..d061f53 100644
--- a/root/dashboard/www/index.php
+++ b/root/dashboard/www/index.php
@@ -33,10 +33,6 @@
border: 1px solid black;
}
-
Welcome to your SWAG instance
- A webserver and reverse proxy solution brought to you by linuxserver.io with php support and a built-in Certbot client.
- We have an article on how to use swag here: docs.linuxserver.io
-
HTML;
}
@@ -156,11 +152,34 @@
HTML;
}
+ function GetLinks() {
+ return <<
+
+
+
+ HTML;
+ }
+
$geodb = file_exists('/config/geoip2db/GeoLite2-City.mmdb') ? '--geoip-database=/config/geoip2db/GeoLite2-City.mmdb' : '';
$goaccess = shell_exec("goaccess -a -o html --config-file=/dashboard/goaccess.conf ".$geodb);
- $status = GetHeader() . GetProxies() . GetF2B() . GetAnnouncements() . '';
+ $status = GetHeader() . GetProxies() . GetF2B() . GetAnnouncements() . GetLinks() . '
';
$page = str_replace("
", $status, $goaccess);
$page = str_replace("
Server Statistics", "SWAG Dashboard", $page);
+ $page = str_replace("", "", $page);
+ $page = str_replace("", "
SWAG ", $page);
$page = preg_replace("/()/", "", $page);
echo $page;
?>