From e5f50fb2ee79d26fec2c14b5e4dff0b5e3b481fa Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Wed, 7 Jun 2023 17:01:59 +0200 Subject: Updated 11 files and added 3 files (automated) --- pages/api/badger.php | 1 + pages/byspecies.inc | 2 ++ pages/home.inc | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/api/badger.php b/pages/api/badger.php index 3e8d04a..0682041 100644 --- a/pages/api/badger.php +++ b/pages/api/badger.php @@ -39,6 +39,7 @@ die(json_encode(array_map(function ($i) { "batpony" => $i["_metadata"]["robot"] ? "Robot bat pony" : (!$i["_metadata"]["plush"] ? "Bat pony" : "Bat pony plush"), "unicorn" => $i["_metadata"]["robot"] ? "Robot unicorn" : (!$i["_metadata"]["plush"] ? "Unicorn" : "Unicorn plush"), "changeling" => "Changeling", + "human" => "Human", "merpony" => "Merpony", default => $i["_metadata"]["species"][0] . "_" . $i["_metadata"]["robot"] }, diff --git a/pages/byspecies.inc b/pages/byspecies.inc index 672493e..7a032db 100644 --- a/pages/byspecies.inc +++ b/pages/byspecies.inc @@ -39,6 +39,7 @@ function page() { global $lang; if ($species === "batpony") $batpony[] = $member; if ($species === "crystal") $crystal[] = $member; if ($species === "changeling") $changeling[] = $member; + if ($species === "human") $human[] = $member; if ($species === "merpony") $merpony[] = $member; } } @@ -50,6 +51,7 @@ function page() { global $lang; species($batpony, "batpony", $lang["species"]["batpony"][3]); species($crystal, "crystal", $lang["species"]["crystal"][3]); species($changeling, "changeling", "Changelings"); + species($human, "human", "Humans"); species($merpony, "merpony", "Merponies"); } diff --git a/pages/home.inc b/pages/home.inc index f19d6f5..e9a5426 100644 --- a/pages/home.inc +++ b/pages/home.inc @@ -6,7 +6,7 @@ if (isset($_GET["ec"])) { require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $readOnly; global $isNormallyLoggedIn; global $_PROFILE; global $lang; global $pages; global $isLowerLoggedIn; global $app; global $isLoggedIn; -function banner() { global $isLoggedIn; global $isLowerLoggedIn; $byColor = getMembersByColor(); global $lang; ?> +function banner() { global $isLoggedIn; global $isLowerLoggedIn; $byColor = getMembersByColor(false, true); global $lang; ?>
.png" style="width:128px;">

-- cgit