diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-07 17:01:59 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-07 17:01:59 +0200 |
commit | e5f50fb2ee79d26fec2c14b5e4dff0b5e3b481fa (patch) | |
tree | a8869a34a662ba36c5e782f009adffadb8eeb6e1 /pages | |
parent | ca07d777b1a35b43d587e7302346b35a8c4dece2 (diff) | |
download | pluralconnect-e5f50fb2ee79d26fec2c14b5e4dff0b5e3b481fa.tar.gz pluralconnect-e5f50fb2ee79d26fec2c14b5e4dff0b5e3b481fa.tar.bz2 pluralconnect-e5f50fb2ee79d26fec2c14b5e4dff0b5e3b481fa.zip |
Updated 11 files and added 3 files (automated)
Diffstat (limited to 'pages')
-rw-r--r-- | pages/api/badger.php | 1 | ||||
-rw-r--r-- | pages/byspecies.inc | 2 | ||||
-rw-r--r-- | pages/home.inc | 2 |
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);"> |