adding disclaimer to email_template

This commit is contained in:
mcguirepr89
2022-02-02 08:15:13 -05:00
parent 78e3fb621d
commit 7a4cc4bc70
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
} elseif (file_exists('/home/pi/BirdNET-Pi/firstrun.ini')) {
$config = parse_ini_file('/home/pi/BirdNET-Pi/firstrun.ini');
}
$template = file_get_contents("email_template.html");
$template = file_get_contents("email_template");
foreach($config as $key => $value)
{
+13
View File
@@ -0,0 +1,13 @@
Hi, Tim, and thank you so much for BirdWeather.com!
%0A%0A
Below is the information I would like to use to request a BirdWeather ID
%0A%0A
Latitude={{ LATITUDE }}%0A
Longitude={{ LONGITUDE }}%0A
Location= [ Create a location name ]%0A
%0A%0A
Thank you so much!%0A
[ Your Name Here ]
Disclaimer: By requesting this BirdWeather ID, I acknowledge that my location
and recording data will be made public.