From 6282b84ddaaacfb7164e3f32ac3826b50f58e44a Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Tue, 1 Feb 2022 13:04:27 -0500 Subject: [PATCH] adding birdweather request email template for now --- scripts/birdweather_request.php | 15 +++++++++++++++ scripts/config.php | 2 ++ scripts/email_template.html | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100644 scripts/birdweather_request.php create mode 100644 scripts/email_template.html diff --git a/scripts/birdweather_request.php b/scripts/birdweather_request.php new file mode 100644 index 0000000..b52c044 --- /dev/null +++ b/scripts/birdweather_request.php @@ -0,0 +1,15 @@ + $value) +{ + $template = str_replace('{{ '.$key.' }}', $value, $template); +} +echo $template; +?> + diff --git a/scripts/config.php b/scripts/config.php index 82c6165..1b2504b 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -120,6 +120,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {

+

Email Tim to request a BirdWeather ID


@@ -179,3 +180,4 @@ if(isset($_SESSION['success'])){