summaryrefslogtreecommitdiff
path: root/pages/relations.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/relations.inc')
-rw-r--r--pages/relations.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/pages/relations.inc b/pages/relations.inc
index 8d14fe7..b66ab25 100644
--- a/pages/relations.inc
+++ b/pages/relations.inc
@@ -9,13 +9,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc';
<div class="container">
<div id="page-content">
<h2><?= $pages["relations"]["name"][$lang["_name"]] ?></h2>
- <?php foreach (withCaretakersDown(array_filter(scoreOrderGlobal(), function ($i) {
- if ($_SERVER['HTTP_HOST'] === "fr.equestria.horse" && $i["_system"] !== "gdapd") {
- return false;
- } else {
- return true;
- }
- })) as $member): ?>
+ <?php foreach (withCaretakersDown(scoreOrderGlobal()) as $member): ?>
<div class="relation" style="background-color:rgba(255, 255, 255, .1);margin-bottom:10px;padding:10px;border-radius:10px;display:grid;grid-template-columns: 1.5fr 2fr 2fr 2fr;">
<a class="relation-intro" style="background-color:rgba(255, 255, 255, .05);border-right:1px solid rgba(255, 255, 255, .1);margin:-10px;padding:10px;border-top-left-radius:10px;border-bottom-left-radius:10px;color: white;text-decoration: none;" href="/<?= $member["name"] ?>">
<img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= $member["display_name"] ?? $member["name"] ?>