diff options
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r-- | includes/metadata.inc | 6 |
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: ?> |