summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/api/badger.php1
-rw-r--r--pages/byspecies.inc2
-rw-r--r--pages/home.inc2
3 files changed, 4 insertions, 1 deletions
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; ?>
<div style="text-align: center;">
<img alt="" src="/assets/logo/newlogo<?= $isLoggedIn || $isLowerLoggedIn ? "3" : "" ?>.png" style="width:128px;">
<p style="z-index:999;position:relative;background:transparent;margin: 20px -10px 0 -20px;padding-right:30px;height:32px;text-align: center;display:grid;grid-template-columns: repeat(<?= count($byColor) ?>, 1fr);">