From 475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 21 Mar 2023 16:21:21 +0100 Subject: Updated 26 files and added 1074 files (automated) --- includes/fragments/member.inc | 22 +++++++++++++++++++++- includes/fragments/metadata.inc | 14 +++++++------- 2 files changed, 28 insertions(+), 8 deletions(-) (limited to 'includes/fragments') diff --git a/includes/fragments/member.inc b/includes/fragments/member.inc index bbdfc98..1d9530c 100644 --- a/includes/fragments/member.inc +++ b/includes/fragments/member.inc @@ -48,6 +48,11 @@ if ($memberData["name"] === "fusion") { window.onscroll = () => { document.getElementById("member-banner-container").style.height = ( - ((window.scrollY / window.screen.availHeight) * 100)) + "vh"; } + + function showPrivate() { + document.getElementById("private-page-link").style.display = "none"; + document.getElementById("private-page-hidden").style.display = "block"; + }
@@ -84,7 +89,22 @@ if ($memberData["name"] === "fusion") {
- + Show private page (NSFW)"); + } else { + echo($text); + } + + ?>
diff --git a/includes/fragments/metadata.inc b/includes/fragments/metadata.inc index 4d13bb7..7a3779a 100644 --- a/includes/fragments/metadata.inc +++ b/includes/fragments/metadata.inc @@ -131,11 +131,11 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member

Age information

- Birth date (use January 1st for none)
+ Birth date (use January 1st for none, fixed age takes priority over birth year if applicable)
-">

- Age (for ponies with fixed age)
+ Age (for ponies with fixed age, takes priority over birth year)
">

@@ -147,17 +147,17 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member $flags = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/flags.json"), true); - foreach ($flags as $id => $name): if (!is_array($name) && !is_null($name)): if (($systemID === $app["other"]["id"] && str_starts_with($name, "!!")) || $systemID !== $app["other"]["id"]): ?> + foreach ($flags as $id => $name): if (!is_array($name) && !is_null($name)): if (($systemID === $app["other"]["id"] && str_starts_with($name, "!!")) || ($systemID === $app["other"]["id"] && str_starts_with($name, "#")) || ($systemID !== $app["other"]["id"] && !str_starts_with($name, "#"))): ?>
- $name2): ?> + $name2): if (!is_array($name2) && !is_null($name2)): if (($systemID === $app["other"]["id"] && str_starts_with($name2, "!!")) || ($systemID !== $app["other"]["id"] && !str_starts_with($name2, "#"))): ?>
- +
-- cgit