diff options
author | Minteck <contact@minteck.org> | 2023-02-23 19:34:56 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-02-23 19:34:56 +0100 |
commit | 3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch) | |
tree | 75be5fba4368472fb11c8015aee026b2b9a71888 /pages/relations.inc | |
parent | 8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff) | |
download | pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2 pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip |
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'pages/relations.inc')
-rw-r--r-- | pages/relations.inc | 8 |
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"] ?> |