Skip to content

Commit

Permalink
🌈 style: Separate online members from chat members
Browse files Browse the repository at this point in the history
  • Loading branch information
DNA-styx committed Dec 15, 2024
1 parent 0645770 commit 50bcfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/includes/steamgroup/inc_steamgroup_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function downloadXml($url, $filePath) {
// Display the 'membersInChat' element or the error message
if (empty($steam_group_xml_error)) {
if (isset($xml->groupDetails->membersInChat)) {
$steam_group_chat_total = htmlspecialchars($xml->groupDetails->membersInChat) . '/' . htmlspecialchars($xml->memberCount);
$steam_group_chat_total = htmlspecialchars($xml->groupDetails->membersOnline) . '/' . htmlspecialchars($xml->memberCount) . ' (' . htmlspecialchars($xml->groupDetails->membersInChat) . ' in chat)';
$steam_group_url = htmlspecialchars($xml->groupDetails->groupURL);
$steam_group_server_status = "<span class=\"px-2 leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100\">online</span>";
$steam_group_server_address = "Steam Group <span class=\"windmill-text-link\"><a href=\"https://steamcommunity.com/groups/" . $steam_group_url . "\">(Join)</a><span>";
Expand Down

0 comments on commit 50bcfa2

Please sign in to comment.