diff options
author | RaindropsSys <contact@minteck.org> | 2023-03-16 13:29:26 +0100 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-03-16 13:29:26 +0100 |
commit | 7ccc2de87f9e25c715dc09b9aba4eb5c66f80424 (patch) | |
tree | b324a58933219e9ff2b0bbd137773f435df86057 /includes | |
parent | 940defd2939f52480ed5b548189b549457944995 (diff) | |
download | pluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.tar.gz pluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.tar.bz2 pluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.zip |
Updated 6 files (automated)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/components/details.inc | 2 | ||||
-rw-r--r-- | includes/fragments/metadata.inc | 2 | ||||
-rw-r--r-- | includes/pages.json | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/components/details.inc b/includes/components/details.inc index e50daf6..77790de 100644 --- a/includes/components/details.inc +++ b/includes/components/details.inc @@ -19,7 +19,7 @@ </div> <div> <b>Age:</b><span class="member-small-separator"><br></span> - <?php if (!isset($metadata["birth"]["year"]) || $metadata["birth"]["age"] > 0): ?> + <?php if (!isset($metadata["birth"]["year"]) || $metadata["birth"]["age"] > 0 || $metadata["birth"]["age"] === -1): ?> <?php if ($metadata["birth"]["age"] === -1): $age = abs(log(0)); // => INF ?> <?= "<span data-bs-toggle='tooltip' title='This pony never ages and doesn't have a defined age, making this pony pretty much eternal.'>Eternal</span>" ?> <?php elseif ($metadata["birth"]["age"] <= 0): ?> diff --git a/includes/fragments/metadata.inc b/includes/fragments/metadata.inc index 031fd19..4d13bb7 100644 --- a/includes/fragments/metadata.inc +++ b/includes/fragments/metadata.inc @@ -41,7 +41,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member <b>Species</b><br> <div style="display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 10px;"> <select class="tooltip-nohelp form-select" style='display:inline-block;filter:invert(1) hue-rotate(180deg);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");' name="species[0]"> - <option <?= !isset($metadata["species"][0]) || $metadata["species"][0] === "" ? "selected" : "" ?> value="" disabled>None</option> + <option <?= !isset($metadata["species"][0]) || $metadata["species"][0] === "" ? "selected" : "" ?> value="">None</option> <option <?= $metadata["species"][0] === "earth" ? "selected" : "" ?> value="earth">Earth pony</option> <option <?= $metadata["species"][0] === "unicorn" ? "selected" : "" ?> value="unicorn">Unicorn</option> <option <?= $metadata["species"][0] === "pegasus" ? "selected" : "" ?> value="pegasus">Pegasus</option> diff --git a/includes/pages.json b/includes/pages.json index f5e665f..aad0ed2 100644 --- a/includes/pages.json +++ b/includes/pages.json @@ -136,7 +136,7 @@ }, "short": null, "admin": true, - "limited": false, + "limited": true, "rail": true }, "fronting": { |