summaryrefslogtreecommitdiff
path: root/includes/details.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
committerMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
commit27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe (patch)
tree5e9f7c306212e3c97c4d5ffac3072c9400520a7f /includes/details.inc
parent29928887e733f3bc2c2baaf06dafd495a006753b (diff)
downloadpluralconnect-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.inc6
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("'", "&apos;", ucfirst($pronouns["subjective"])) . " never age" . str_replace("'", "&apos;", $pronouns["third"] ? "s" : "") . " and " . str_replace("'", "&apos;", $pronouns["third"] ? "doesn't" : "don't") . " have a defined age, making " . str_replace("'", "&apos;", $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("'", "&apos;", ucfirst($pronouns["subjective"])) . str_replace("'", "&apos;", $pronouns["third"] ? " doesn't" : " don't") . " age like the body does, making " . str_replace("'", "&apos;", $pronouns["object"]) . " stay " . $metadata["birth"]["age"] . " years old for " . str_replace("'", "&apos;", $pronouns["possessive_det"]) . " entire life.'>" . $metadata["birth"]["age"] . "* years old</span>" ?>
- <?php endif; ?>
+ <?php else: ?>
+ <?= "<span data-bs-toggle='tooltip' title='" . str_replace("'", "&apos;", ucfirst($pronouns["object"])) . " age " . str_replace("'", "&apos;", $pronouns["third"] ? " changes" : " change") . " frequently between " . explode("-", $metadata["birth"]["age"])[0] . " and " . explode("-", $metadata["birth"]["age"])[1] . " years old, and " . str_replace("'", "&apos;", $pronouns["subjective"]) . " " . str_replace("'", "&apos;", $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): ?>
-