diff options
author | RaindropsSys <contact@minteck.org> | 2023-03-29 22:44:18 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-03-29 22:44:18 +0200 |
commit | 05af3950c40e5724f1cd9ed662528c0832fb1297 (patch) | |
tree | b1e56bc989bffb0eee33c520b62cced63805acb9 /includes/components/details.inc | |
parent | e98e95d89939cdc1252d02df04ae8d91c6aa8c92 (diff) | |
download | pluralconnect-05af3950c40e5724f1cd9ed662528c0832fb1297.tar.gz pluralconnect-05af3950c40e5724f1cd9ed662528c0832fb1297.tar.bz2 pluralconnect-05af3950c40e5724f1cd9ed662528c0832fb1297.zip |
Updated 3 files and deleted includes/jobs/CleanupDocs.php (automated)
Diffstat (limited to 'includes/components/details.inc')
-rw-r--r-- | includes/components/details.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/components/details.inc b/includes/components/details.inc index bc7e408..6a9f241 100644 --- a/includes/components/details.inc +++ b/includes/components/details.inc @@ -79,7 +79,7 @@ <?php if ($systemID !== $app["other"]["id"]): ?> <div id="member-details-2" style="background-color: <?= isset($memberData["color"]) ? '#' . $memberData["color"] . "33" : "transparent" ?>; margin-left: -20px; margin-right: -20px;<?php if ($isLowerLoggedIn): ?>grid-template-columns: repeat(3, 1fr);<?php endif; ?>"> <?php endif; ?> - <?php $age2 = $age ?? 0; if (is_string($age2)) $age2 = (int)(explode("-", $age2)[1] ?? "0"); if (((isset($age2) && $age2 >= 16 && $metadata["little"] === 0) || (!isset($age2) && $metadata["little"] === 0)) || $metadata["sexual_features"]): ?> + <?php $age2 = $age ?? 0; if (is_string($age2)) $age2 = (int)(explode("-", $age2)[1] ?? "0"); if (((isset($age2) && $age2 >= 15 && $metadata["little"] !== 1) || (!isset($age2) && $metadata["little"] !== 1)) || $metadata["sexual_features"]): ?> <?php if ($isLoggedIn && $systemID !== $app["other"]["id"]): ?> <div> <span style="vertical-align: middle;"> @@ -90,8 +90,8 @@ <span title="Consent is absolutely required every time when having sex with this pony." data-bs-toggle="tooltip">Required</span> <?php endif; ?> </span> - <?php if (!((isset($age) && $age >= 16 && $metadata["little"] === 0) || (!isset($age) && $metadata["little"] === 0))): ?> - <img src="/assets/icons/warning.svg" style="width: 16px;" title="Although this pony is able to engage in sexual relationships, this pony is not allowed to have sex with ponies who are over 16 years old." data-bs-toggle="tooltip"> + <?php if (!((isset($age) && $age >= 15 && $metadata["little"] !== 1) || (!isset($age) && $metadata["little"] !== 1))): ?> + <img src="/assets/icons/warning.svg" style="width: 16px;" title="Although this pony is able to engage in sexual relationships, this pony is not allowed to have sex with ponies who are over 15 years old." data-bs-toggle="tooltip"> <?php endif; ?> </div> <?php endif; ?> |