diff options
Diffstat (limited to 'intern.gospeladlershof.de')
| -rw-r--r-- | intern.gospeladlershof.de/code/erinnerung.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/intern.gospeladlershof.de/code/erinnerung.php b/intern.gospeladlershof.de/code/erinnerung.php index 31d1ff3..2234391 100644 --- a/intern.gospeladlershof.de/code/erinnerung.php +++ b/intern.gospeladlershof.de/code/erinnerung.php @@ -45,17 +45,20 @@ if ( $error_msg != "" ) { ->useTube('contactme_mail') ->put(json_encode($data)); } else { - if ( $count_proben <= 4 || $count_einsteiger < 1 ) { + if ( $count_proben <= 40 || $count_einsteiger < 1 ) { // email schicken, da wenige proben in der datenbank vorhanden sind // -$text_msg = 'Hi Lotte,'; + $text_msg = 'Hi Lotte, + +'; - if ( $count_proben <= 4 ) { + if ( $count_proben <= 40 ) { $text_msg .= 'es sind nur noch ' . $count_proben . ' Proben eingetragen.'; $subject = "Wenige Proben"; if ( $count_einsteiger < 1 ) { - $text_msg .= 'Außerdem gibt es keinen Einsteigertermin. Bitte trage einen ein!'; + $text_msg .= ' +Außerdem gibt es keinen Einsteigertermin. Bitte trage einen ein!'; $subject .= " und keinen Einsteigertermin"; } } else { @@ -64,6 +67,7 @@ $text_msg = 'Hi Lotte,'; } $text_msg .= ' + Viele Grüße Max'; |
