diff options
Diffstat (limited to 'includes/system/compare.inc')
-rw-r--r-- | includes/system/compare.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/system/compare.inc b/includes/system/compare.inc index 4f9711d..ea12582 100644 --- a/includes/system/compare.inc +++ b/includes/system/compare.inc @@ -38,6 +38,14 @@ function getMember(string $id) { <span class="comparison-header-l5"><abbr title="<?= $lang["compare"]["species"][0] ?>" data-bs-toggle="tooltip"><?= $lang["compare"]["species"][5] ?></abbr></span> </span> <span class="comparison-header comparison-item"> + <span class="comparison-header-l0"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + <span class="comparison-header-l1"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + <span class="comparison-header-l2"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + <span class="comparison-header-l3"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + <span class="comparison-header-l4"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + <span class="comparison-header-l5"><abbr title="Code" data-bs-toggle="tooltip">Code</abbr></span> + </span> + <span class="comparison-header comparison-item"> <span class="comparison-header-l0"><abbr title="<?= $lang["compare"]["relations"][0] ?>" data-bs-toggle="tooltip"><?= $lang["compare"]["relations"][0] ?></abbr></span> <span class="comparison-header-l1"><abbr title="<?= $lang["compare"]["relations"][0] ?>" data-bs-toggle="tooltip"><?= $lang["compare"]["relations"][1] ?></abbr></span> <span class="comparison-header-l2"><abbr title="<?= $lang["compare"]["relations"][0] ?>" data-bs-toggle="tooltip"><?= $lang["compare"]["relations"][2] ?></abbr></span> @@ -121,6 +129,11 @@ function getMember(string $id) { <?php endforeach; ?> </span> <span class="comparison-item"> + <?php if (isset($metadata["code"]) && trim($metadata["code"]) !== ""): ?> + <code style="color: white;"><?= strtoupper(substr($metadata["code"], 0, 3)) ?></code> + <?php else: ?>-<?php endif; ?> + </span> + <span class="comparison-item"> <?= count($metadata["marefriends"]) + count($metadata["sisters"]) + count($metadata["caretakers"]) === 0 ? "-" : "" ?> <span class="comparison-relations-count"> <?= count($metadata["marefriends"]) + count($metadata["sisters"]) > 0 ? count($metadata["marefriends"]) + count($metadata["sisters"]) : "" ?> |