From 000a6e6e2aa2ca89b5e71b0894b490a0b0b6c3ed Mon Sep 17 00:00:00 2001 From: DNA-styx <154759339+DNA-styx@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:47:46 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor:=20TS3=20links=20tweake?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Join link reformatted and are only displayed if the server is online. --- web/pages/voicecomm_serverlist.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/web/pages/voicecomm_serverlist.php b/web/pages/voicecomm_serverlist.php index 9f9bbc7..d4ee746 100644 --- a/web/pages/voicecomm_serverlist.php +++ b/web/pages/voicecomm_serverlist.php @@ -30,7 +30,7 @@
Voice Server Name | +Status | Server Address | Password | @@ -205,6 +205,12 @@ }else{ $ts3q_server_uptime = '-'; } + $ts3q_server_link = $ts3_server['addr'] .":" . $ts3q_server_port . + " (Join)"; } }else{ $ts3q_server_id = '0'; @@ -213,20 +219,17 @@ $ts3q_server_clients = '-'; $ts3q_server_status = 'offline'; $ts3q_server_uptime = '-'; + $ts3q_server_link = '-'; } ?>|||
- + | - | - - (Join) - - | +