diff options
author | Minteck <contact@minteck.org> | 2023-03-03 19:57:57 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-03-03 19:57:57 +0100 |
commit | 27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe (patch) | |
tree | 5e9f7c306212e3c97c4d5ffac3072c9400520a7f /includes/details.inc | |
parent | 29928887e733f3bc2c2baaf06dafd495a006753b (diff) | |
download | pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.gz pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.bz2 pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.zip |
Updated 5 files (automated)
Diffstat (limited to 'includes/details.inc')
-rw-r--r-- | includes/details.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/details.inc b/includes/details.inc index 415e313..7f96884 100644 --- a/includes/details.inc +++ b/includes/details.inc @@ -26,9 +26,11 @@ <?= "<span data-bs-toggle='tooltip' title='" . str_replace("'", "'", ucfirst($pronouns["subjective"])) . " never age" . str_replace("'", "'", $pronouns["third"] ? "s" : "") . " and " . str_replace("'", "'", $pronouns["third"] ? "doesn't" : "don't") . " have a defined age, making " . str_replace("'", "'", $pronouns["object"]) . " pretty much eternal.'>Eternal</span>" ?> <?php elseif ($metadata["birth"]["age"] <= 0): ?> - - <?php else: $age = $metadata["birth"]["age"]; ?> + <?php else: $age = $metadata["birth"]["age"]; if (is_numeric($metadata["birth"]["age"])): ?> <?= "<span data-bs-toggle='tooltip' title='" . str_replace("'", "'", ucfirst($pronouns["subjective"])) . str_replace("'", "'", $pronouns["third"] ? " doesn't" : " don't") . " age like the body does, making " . str_replace("'", "'", $pronouns["object"]) . " stay " . $metadata["birth"]["age"] . " years old for " . str_replace("'", "'", $pronouns["possessive_det"]) . " entire life.'>" . $metadata["birth"]["age"] . "* years old</span>" ?> - <?php endif; ?> + <?php else: ?> + <?= "<span data-bs-toggle='tooltip' title='" . str_replace("'", "'", ucfirst($pronouns["object"])) . " age " . str_replace("'", "'", $pronouns["third"] ? " changes" : " change") . " frequently between " . explode("-", $metadata["birth"]["age"])[0] . " and " . explode("-", $metadata["birth"]["age"])[1] . " years old, and " . str_replace("'", "'", $pronouns["subjective"]) . " " . str_replace("'", "'", $pronouns["third"] ? " doesn't" : " don't") . " have a single defined age.'>Sliding " . explode("-", $metadata["birth"]["age"])[0] . " to " . explode("-", $metadata["birth"]["age"])[1] . "</span>" ?> + <?php endif; endif; ?> <?php else: ?> <?php if ($metadata["birth"]["year"] <= 1900): ?> - |