summaryrefslogtreecommitdiff
path: root/includes/metadata.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-12-21 18:09:20 +0100
committerMinteck <contact@minteck.org>2022-12-21 18:09:20 +0100
commitae766d28c07628e71629a72452261898ea72057a (patch)
tree79bf1110a59f8339ce685b80c12d18f3650700d8 /includes/metadata.inc
parent9d5e468be5e58269f8730305745eee29b9d957d5 (diff)
downloadpluralconnect-ae766d28c07628e71629a72452261898ea72057a.tar.gz
pluralconnect-ae766d28c07628e71629a72452261898ea72057a.tar.bz2
pluralconnect-ae766d28c07628e71629a72452261898ea72057a.zip
Update - This is an automated commit
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r--includes/metadata.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc
index 1aa7329..04b6a9e 100644
--- a/includes/metadata.inc
+++ b/includes/metadata.inc
@@ -8,7 +8,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
<br>
<div class="container" id="page-content">
- <h2><?= $memberData["display_name"] ?? $memberData["name"] ?></h2>
+ <h2><a href="/<?= $memberData["name"] ?>"><?= $memberData["display_name"] ?? $memberData["name"] ?></a></h2>
<?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $memberID . ".json")): ?>
<form>
<input name="submit" type="hidden">
@@ -45,6 +45,10 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
<b>Age (for ponies with fixed age):</b><br>
<input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="number" value="<?= $metadata["birth"]["age"] ?? "" ?>">
</p>
+ <p>
+ <b>Member code:</b><br>
+ <input name="membc" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" value="<?= $metadata["code"] ?? "" ?>">
+ </p>
<input name="submit" class="btn btn-outline-primary" value="Save and quit" type="submit">
</form>
<?php else: ?>