sent email with correct subject
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 58s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 58s
This commit is contained in:
parent
7cb8887078
commit
d4ff61d42e
2 changed files with 21 additions and 4 deletions
|
|
@ -7,8 +7,16 @@ function constructMessage()
|
|||
{
|
||||
$lang = ( isset($_POST['sprache']) && $_POST['sprache'] == "FR" ? "FR" : "DE" );
|
||||
|
||||
$schulungstermin = filter_input(INPUT_POST, 'schulungstermin');
|
||||
if (isset($schulungstermin) )
|
||||
{
|
||||
$message = ($lang == "FR" ? "<p>Vous avez fourni les informations suivantes lors de votre inscription à la formation <b>VeruA App</b></p>"
|
||||
: "<p>Sie haben folgende Angaben bei Ihrer Anmeldung zur Schulung <b>VeruA App</b> gemacht:</p><hr/>");
|
||||
} else
|
||||
{
|
||||
$message = ($lang == "FR" ? "<p>Vous avez indiqué les informations suivantes lors de votre commande <b>VeruA App</b></p>"
|
||||
: "<p>Sie haben folgende Angaben bei Ihrer Bestellung <b>VeruA App</b> gemacht:</p><hr/>");
|
||||
: "<p>Sie haben folgende Angaben bei Ihrer Bestellung <b>VeruA App</b> gemacht:</p><hr/>");
|
||||
}
|
||||
|
||||
$organisation = filter_input(INPUT_POST, 'organisation');
|
||||
if (isset($organisation))
|
||||
|
|
@ -202,11 +210,10 @@ function constructMessage()
|
|||
}
|
||||
|
||||
// Form inputs von Schulungstermin
|
||||
$schulungstermin = filter_input(INPUT_POST, 'schulungstermin');
|
||||
if (isset($schulungstermin))
|
||||
{
|
||||
$message .= "<hr/><p><b>";
|
||||
$message .= "Schulungstermin</b><br/>" . $schulungstermin . "<br/><br/>";
|
||||
$message .= "Schulungstermin</b><br/>" . $schulungstermin . "<br/></p>";
|
||||
}
|
||||
|
||||
$anmerkung = filter_input(INPUT_POST, 'anmerkung');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue