summaryrefslogtreecommitdiff
path: root/includes/fragments
diff options
context:
space:
mode:
Diffstat (limited to 'includes/fragments')
-rw-r--r--includes/fragments/member.inc2
-rw-r--r--includes/fragments/metadata.inc6
2 files changed, 6 insertions, 2 deletions
diff --git a/includes/fragments/member.inc b/includes/fragments/member.inc
index 4eed308..bbdfc98 100644
--- a/includes/fragments/member.inc
+++ b/includes/fragments/member.inc
@@ -120,7 +120,7 @@ if ($memberData["name"] === "fusion") {
</ul>
</li>
<li><b>Date added:</b> <?= date('l j F Y', strtotime($memberData["created"])) ?> (<?= timeAgo($memberData["created"]) ?>, <code><?= $memberData["created"] ?></code>)</li>
- <li><b>Pronouns:</b> <?= implode(", ", getPronounsFromMark($memberData['pronouns'])) ?></li>
+ <li><b>Pronouns:</b> <?= $memberData['pronouns'] ?></li>
<li><b>Pronouns usage:</b> <ul><?php
foreach (getMemberPronouns($memberData['pronouns']) as $type => $usage) {
diff --git a/includes/fragments/metadata.inc b/includes/fragments/metadata.inc
index e143153..031fd19 100644
--- a/includes/fragments/metadata.inc
+++ b/includes/fragments/metadata.inc
@@ -83,6 +83,10 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
</select>
</div>
</div>
+ <p>
+ <b>Gender</b><br>
+ <input name="gender" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" value="<?= $metadata["gender"] ?? "" ?>">
+ </p>
<hr>
@@ -132,7 +136,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
</p>
<p>
<b>Age (for ponies with fixed age)</b><br>
- <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" pattern="^\d{1,2}(-\d{1,2}|)$" value="<?= $metadata["birth"]["age"] ?? "" ?>">
+ <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" pattern="^(-\d{1,2}|\d{1,2}(-\d{1,2}|))$" value="<?= $metadata["birth"]["age"] ?? "" ?>">
</p>
<hr>