diff options
author | Minteck <contact@minteck.org> | 2023-01-05 22:20:18 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-01-05 22:20:18 +0100 |
commit | 90b16702bb03c8d7115fa0cc6ea8d3aba5863f46 (patch) | |
tree | 6b4b28c24fc13d56184f262e61c1f1b4c51dcbf9 /includes/system | |
parent | 721315d9569c6ca793e111a26349f5c2bc8972b3 (diff) | |
download | pluralconnect-90b16702bb03c8d7115fa0cc6ea8d3aba5863f46.tar.gz pluralconnect-90b16702bb03c8d7115fa0cc6ea8d3aba5863f46.tar.bz2 pluralconnect-90b16702bb03c8d7115fa0cc6ea8d3aba5863f46.zip |
Update - This is an automated commit
Diffstat (limited to 'includes/system')
-rw-r--r-- | includes/system/species.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/system/species.inc b/includes/system/species.inc index 8f4368e..b5fdee6 100644 --- a/includes/system/species.inc +++ b/includes/system/species.inc @@ -25,8 +25,7 @@ function species(array $members, string $id, string $name) { global $systemID; g <div class="relation-item" style="margin-left:10px;padding:0 20px;"> <?php if (count($members) > 0): ?> - <?php $index = 0; foreach ($members as $member): ?> - <a class="member-link" href="/<?= $member["name"] ?>"><img src="<?= getAsset($member["_system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a><?php if ($index + 2 <= count($members)) echo('<span class="list-separator-desktop">, </span><span class="list-separator-mobile"><br></span>'); $index++; endforeach; ?> + <?php $index = 0; foreach ($members as $member): ?><a class="member-link" href="/<?= $member["name"] ?>"><img src="<?= getAsset($member["_system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?></a><?php if ($index + 2 <= count($members)) echo('<span class="list-separator-desktop">, </span><span class="list-separator-mobile"><br></span>'); $index++; endforeach; ?> <?php else: ?>-<?php endif; ?> </div> </div> |