From e7043d425e259f6aee1166883fbc97e3db4d7565 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Fri, 22 Dec 2023 11:29:07 +0000 Subject: [PATCH] Fix (bf2sclone): Show `nicetitle` for server status --- src/bf2sclone/template/servers.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bf2sclone/template/servers.php b/src/bf2sclone/template/servers.php index 2d6e5db..618abf4 100644 --- a/src/bf2sclone/template/servers.php +++ b/src/bf2sclone/template/servers.php @@ -53,9 +53,9 @@ '; if ($s['data'] === false) { $template .= ' -
- OFF - + + OFF + OFF ' . esc_attr($s['name']) . ' @@ -67,7 +67,7 @@ - '; } else { - $template .= '
'; + $template .= ''; $serverLoad = $s['data']['server']['numplayers'] / $s['data']['server']['maxplayers']; if ($serverLoad >= 0.66) { $template .= 'High Load';