diff options
Diffstat (limited to 'includes/system/compare.inc')
-rw-r--r-- | includes/system/compare.inc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/includes/system/compare.inc b/includes/system/compare.inc index d2023e4..d7fbdc6 100644 --- a/includes/system/compare.inc +++ b/includes/system/compare.inc @@ -46,12 +46,12 @@ function getMember(string $id) { <span class="comparison-header-l5"><abbr title="Relations" data-bs-toggle="tooltip">Relt.</abbr></span> </span> <span class="comparison-header comparison-item"> - <span class="comparison-header-l0"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> - <span class="comparison-header-l1"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> - <span class="comparison-header-l2"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> - <span class="comparison-header-l3"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> - <span class="comparison-header-l4"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> - <span class="comparison-header-l5"><abbr title="Most common fronter" data-bs-toggle="tooltip">MCF</abbr></span> + <span class="comparison-header-l0">Memory</span> + <span class="comparison-header-l1">Memory</span> + <span class="comparison-header-l2">Memory</span> + <span class="comparison-header-l3">Memory</span> + <span class="comparison-header-l4"><abbr title="Memory" data-bs-toggle="tooltip">Mem.</abbr></span> + <span class="comparison-header-l5"><abbr title="Memory" data-bs-toggle="tooltip">Mem.</abbr></span> </span> <span class="comparison-header comparison-item"> <span class="comparison-header-l0">Fictive</span> @@ -127,7 +127,7 @@ function getMember(string $id) { <?php endforeach; ?> </span> <span class="comparison-item"> - <?= count($metadata["marefriends"]) + count($metadata["sisters"]) === 0 ? "-" : "" ?> + <?= 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"]) : "" ?> </span> @@ -145,9 +145,9 @@ function getMember(string $id) { </span> </span> <span class="comparison-item"> - <?php if ($metadata["host"]): ?> - <?php if ($travelling[$member["id"]]["travelling"]): ?> - <img data-bs-toggle="tooltip" title="Yes, but currently travelling" src="/assets/icons/partial.svg" alt="Yes, but currently travelling" style="width:24px;"> + <?php if ($metadata["shared_memory"] > 0): ?> + <?php if ($metadata["shared_memory"] === 1): ?> + <img data-bs-toggle="tooltip" title="Partial" src="/assets/icons/partial.svg" alt="Partial" style="width:24px;"> <?php else: ?> <img data-bs-toggle="tooltip" title="Yes" src="/assets/icons/complete.svg" alt="Yes" style="width:24px;"> <?php endif; ?> |