diff options
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"; |