summaryrefslogtreecommitdiff
path: root/includes/details.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-28 21:46:19 +0100
committerMinteck <contact@minteck.org>2023-01-28 21:46:19 +0100
commitee4628eb4596c1c12a7efcbfc04abd2d48f05f0b (patch)
tree2780f25fa5244ef3b37e791c0ef2b52ab87b0b53 /includes/details.inc
parent089d94ff3a34ef022015bf28db0427497acc67ea (diff)
downloadpluralconnect-ee4628eb4596c1c12a7efcbfc04abd2d48f05f0b.tar.gz
pluralconnect-ee4628eb4596c1c12a7efcbfc04abd2d48f05f0b.tar.bz2
pluralconnect-ee4628eb4596c1c12a7efcbfc04abd2d48f05f0b.zip
Updated includes/details.inc and added assets/icons/warning.svg (automated)
Diffstat (limited to 'includes/details.inc')
-rw-r--r--includes/details.inc15
1 files changed, 10 insertions, 5 deletions
diff --git a/includes/details.inc b/includes/details.inc
index 985f2b0..aced1ac 100644
--- a/includes/details.inc
+++ b/includes/details.inc
@@ -74,11 +74,16 @@
<div id="member-details-2" style="background-color: <?= isset($memberData["color"]) ? '#' . $memberData["color"] . "33" : "transparent" ?>; margin-left: -20px; margin-right: -20px;">
<?php if (((isset($age) && $age >= 16 && $metadata["little"] === 0) || (!isset($age) && $metadata["little"] === 0)) || $metadata["sexual_features"]): ?>
<div>
- <b>Sexual consent:</b><span class="member-small-separator"><br></span>
- <?php if ($metadata["sexually_active"]): ?>
- <span title="Consent is assumed when having sex with <?= $pronouns["object"] ?>, however <?= $pronouns["subjective"] ?> may ask to not have sex at the moment and such request must be honored." data-bs-toggle="tooltip">Preemptive</span>
- <?php else: ?>
- <span title="Consent is absolutely required every time when having sex with <?= $pronouns["object"] ?>." data-bs-toggle="tooltip">Required</span>
+ <span style="vertical-align: middle;">
+ <b>Sexual consent:</b><span class="member-small-separator"><br></span>
+ <?php if ($metadata["sexually_active"]): ?>
+ <span title="Consent is assumed when having sex with <?= $pronouns["object"] ?>, however <?= $pronouns["subjective"] ?> may ask to not have sex at the moment and such request must be honored." data-bs-toggle="tooltip">Preemptive</span>
+ <?php else: ?>
+ <span title="Consent is absolutely required every time when having sex with <?= $pronouns["object"] ?>." 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, they are not allowed to have sex with ponies who are over 16 years old." data-bs-toggle="tooltip">
<?php endif; ?>
</div>
<div>