From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- includes/banner.inc | 2 +- includes/bitset.inc | 1 + includes/details.inc | 28 +++++++++++++-------- includes/exchange.txt | 1 + includes/metadata.inc | 4 +++ includes/navigation.inc | 7 ++++++ includes/pages.json | 9 +++++++ includes/planner.inc | 66 +++++++++++++++++++++++++++++++++++++++++++++++-- includes/refresh.php | 11 +++++++++ 9 files changed, 116 insertions(+), 13 deletions(-) create mode 100644 includes/exchange.txt (limited to 'includes') diff --git a/includes/banner.inc b/includes/banner.inc index 67d066f..cbae0b2 100644 --- a/includes/banner.inc +++ b/includes/banner.inc @@ -256,7 +256,7 @@ function getMemberBannerData(string $id, string $system, bool $french = false) { $caretakers = null; - if ($metadata["little"] === 2) { + if ($metadata["little"] >= 2) { $caretakers = []; foreach ($metadata["caretakers"] as $marefriend) { $mfSystem = explode("/", $marefriend)[0]; diff --git a/includes/bitset.inc b/includes/bitset.inc index f45beb1..955d953 100644 --- a/includes/bitset.inc +++ b/includes/bitset.inc @@ -114,6 +114,7 @@ function parseMetadata ($metadata) { $m["birth"] = $metadata["birth"] ?? null; $m["heat"] = $metadata["heat"] ?? null; $m["code"] = $metadata["code"] ?? null; + $m["interest"] = $metadata["interest"] ?? null; } else { $m = $metadata; } diff --git a/includes/details.inc b/includes/details.inc index 08ba52a..6002acd 100644 --- a/includes/details.inc +++ b/includes/details.inc @@ -1,5 +1,5 @@ -
; margin-left: -20px; margin-right: -20px;"> +
; margin-left: -20px; margin-right: -20px;">

-
- Birthday:
- - - - - - -

@@ -69,6 +61,14 @@ -
+
+ Primary interest:
+ + + + - + +
; margin-left: -20px; margin-right: -20px;"> @@ -105,7 +105,7 @@
This member is too young to have a sexual relationship.
@@ -131,6 +131,14 @@ break; } ?> (poly)
+
+ Birthday:
+ + + + - + +