summaryrefslogtreecommitdiff
path: root/includes/planner.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
committerMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
commit27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe (patch)
tree5e9f7c306212e3c97c4d5ffac3072c9400520a7f /includes/planner.inc
parent29928887e733f3bc2c2baaf06dafd495a006753b (diff)
downloadpluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.gz
pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.bz2
pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.zip
Updated 5 files (automated)
Diffstat (limited to 'includes/planner.inc')
-rw-r--r--includes/planner.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/planner.inc b/includes/planner.inc
index 14bb37f..e553627 100644
--- a/includes/planner.inc
+++ b/includes/planner.inc
@@ -808,11 +808,11 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis
<div id="list">
<div class="list-group">
- <?php foreach (scoreOrderGlobal() as $member): ?>
- <a id="list-pony-<?= $member['id'] ?>" onclick="confirmFronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-fronter-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a>
+ <?php foreach (array_filter(scoreOrderGlobal(), function ($i) { return $i["system"] === "gdapd" || $i["system"] === "ynmuc"; }) as $member): ?>
+ <a id="list-pony-<?= $member['id'] ?>" onclick="confirmFronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-fronter-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= $member["display_name"] ?? $member["name"] ?><peh-schedule-add></peh-schedule-add></a>
<?php endforeach; $member = getSystemMember("gdapd", "irxyh") ?>
- <a onclick="confirmFronterAdd(window.addSystem, 'irxyh');" class="new-fronter-link member-link list-group-item list-group-item-action"><img src="/assets/logo/newlogo.png" style="filter:grayscale(1);width:24px;"> <span style="opacity:.75">Multiple merged members</span></a>
- <a onclick="confirmFronterAdd(window.addSystem, 'zdtsg');" class="new-fronter-link member-link list-group-item list-group-item-action"><img src="/assets/logo/newlogo.png" style="filter:grayscale(1);width:24px;"> <span style="opacity:.75">Other/unknown/fallback pony</span></a>
+ <a id="list-pony-irxyh" onclick="confirmFronterAdd(window.addSystem, 'irxyh');" class="new-fronter-link list-group-item list-group-item-action"><img src="/assets/logo/newlogo3.png" style="filter:grayscale(1);width:24px;"> <span style="opacity:.75">Multiple merged members</span></a>
+ <a id="list-pony-zdtsg" onclick="confirmFronterAdd(window.addSystem, 'zdtsg');" class="new-fronter-link list-group-item list-group-item-action"><img src="/assets/logo/newlogo3.png" style="filter:grayscale(1);width:24px;"> <span style="opacity:.75">Other/unknown</span></a>
</div>
</div>
@@ -840,8 +840,8 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis
<div id="list2">
<div class="list-group">
- <?php foreach (scoreOrderGlobal() as $member): ?>
- <a id="list2-pony-<?= $member['id'] ?>" onclick="confirmCofronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-cofronter-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a>
+ <?php foreach (array_filter(scoreOrderGlobal(), function ($i) { return $i["system"] === "gdapd" || $i["system"] === "ynmuc"; }) as $member): ?>
+ <a id="list2-pony-<?= $member['id'] ?>" onclick="confirmCofronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-cofronter-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= $member["display_name"] ?? $member["name"] ?><peh-schedule-add></peh-schedule-add></a>
<?php endforeach; $member = getSystemMember("gdapd", "irxyh") ?>
</div>
</div>