From abd342282b48d742cca1740f76d220037fd13800 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 5 Feb 2023 13:00:59 +0100 Subject: Updated 6 files, added 2 files and renamed assets/uploads/pt-twilight.png (automated) --- includes/agewarning.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 includes/agewarning.inc (limited to 'includes/agewarning.inc') diff --git a/includes/agewarning.inc b/includes/agewarning.inc new file mode 100644 index 0000000..a7ab501 --- /dev/null +++ b/includes/agewarning.inc @@ -0,0 +1,19 @@ + [ + 'method' => 'POST', + 'header' => + "Content-Type: text/plain\r\n" . + "Title: ⚠️ $name does not have an age or birth year set\r\n" . + "Priority: max\r\n" . + "Tags: switch\r\n" . + "Actions: view, Edit on Cold Haze, https://ponies.equestria.horse/-/metadata/" . ($system === "gdapd" ? "raindrops" : "cloudburst") . "/" . $id . "/, clear=true\r\n" . + "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), + 'content' => "To make sure they still appear on the fronting schedule after March 1st, they need to set an age or birth year now." + ] + ])); +} \ No newline at end of file -- cgit