diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-01 14:55:45 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-01 14:55:45 +0200 |
commit | 82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426 (patch) | |
tree | a192e62111c727a6dc6204cb7188e1c5ed006486 /includes/components/details.inc | |
parent | 1c7477be214a95d7c551e627b11d1d63fe82a553 (diff) | |
download | pluralconnect-82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426.tar.gz pluralconnect-82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426.tar.bz2 pluralconnect-82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426.zip |
Updated 4 files (automated)
Diffstat (limited to 'includes/components/details.inc')
-rw-r--r-- | includes/components/details.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/components/details.inc b/includes/components/details.inc index 7b02808..6b8ea64 100644 --- a/includes/components/details.inc +++ b/includes/components/details.inc @@ -89,6 +89,9 @@ <div> <b><span class="member-detail-desktop">Sexual alignment</span><span class="member-detail-mobile">Sex. algn.</span>:</b><span class="member-small-separator"><br></span> <?php switch ($metadata["alignment"]["sexual"]) { + case "unsure": + echo "Unsure"; + break; case "aroace": echo "Asexual"; break; @@ -96,7 +99,7 @@ echo "Straight"; break; case "homo": - echo $pronouns["subjective"] === "she" ? "Lesbian" : ($pronouns["subjective"] === "he" ? "Gay" : "Homosexual"); + echo str_starts_with($memberData["pronouns"], "she") ? "Lesbian" : (str_starts_with($memberData["pronouns"], "he") ? "Gay" : "Homosexual"); break; case "bi": echo "Bisexual"; @@ -122,6 +125,9 @@ <div> <b><span class="member-detail-desktop">Romantic alignment</span><span class="member-detail-mobile">Rom. algn.</span>:</b><span class="member-small-separator"><br></span> <?php switch ($metadata["alignment"]["romantic"]) { + case "unsure": + echo "Unsure"; + break; case "aroace": echo "Aromantic"; break; @@ -129,7 +135,7 @@ echo "Heteroromantic"; break; case "homo": - echo $pronouns["subjective"] === "she" ? "Lesbiromantic" : ($pronouns["subjective"] === "he" ? "Gay" : "Homoromantic"); + echo str_starts_with($memberData["pronouns"], "she") ? "Lesbiromantic" : (str_starts_with($memberData["pronouns"], "he") ? "Gay" : "Homoromantic"); break; case "bi": echo "Biromantic"; |