From 2e7294c83c6388e3855ce787f0a18c20ed652131 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 10 Jun 2023 11:06:53 +0200 Subject: Updated 12 files and added includes/system/compare.inc (automated) --- includes/util/banner.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'includes/util') diff --git a/includes/util/banner.inc b/includes/util/banner.inc index 01362a0..1f4d7fd 100644 --- a/includes/util/banner.inc +++ b/includes/util/banner.inc @@ -337,6 +337,14 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { ]; } + if (($metadata["host"] ?? false)) { + $badges[] = [ + "id" => "host", + "color" => "fc6735", + "html" => 'Host' + ]; + } + if (($metadata["leader"] ?? false)) { $badges[] = [ "id" => "leader", @@ -403,4 +411,4 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { 'friends' => $friends ?? [] ] ]; -} \ No newline at end of file +} -- cgit