From a232043d23da7e6b2de78b50a23f47eb92826515 Mon Sep 17 00:00:00 2001 From: betty Date: Mon, 12 Jan 2026 11:17:29 +0100 Subject: [PATCH] edit messages from form-data --- content/german/bestellung/freiberufliche.md | 20 +++++++------- static/php/message.php | 30 ++++++++++----------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/content/german/bestellung/freiberufliche.md b/content/german/bestellung/freiberufliche.md index e3bdf2d..898bf99 100644 --- a/content/german/bestellung/freiberufliche.md +++ b/content/german/bestellung/freiberufliche.md @@ -161,49 +161,49 @@ kommentar = 'age und hobbies sind honeypots'       - + - +       - +       - +       - + - +       - +       - +       - + - +       diff --git a/static/php/message.php b/static/php/message.php index ca70307..70db7dd 100644 --- a/static/php/message.php +++ b/static/php/message.php @@ -132,21 +132,21 @@ function constructMessage() // form inputs cantons - only FPP $arrAllCantons = [ "AG", "AI", "AR", "BE", "BL", "BS", "FR", "GE", "GL", "GR", "JU", "LU", "NE", "NW", "OW", "SG", "SH", "SO", "SZ", "TG", "UR", "VD", "VS", "ZG", "ZH" ]; - if ( ! isset($organisation) && $lang == "DE" ) - { - $message .= "

"; - $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben"; - $message .= "
"; - foreach ( $arrAllCantons as $abbreviation ) - { - if ( isset(filter_input(INPUT_POST, $abbreviation)) ) - { - $message .= filter_input(INPUT_POST, $abbreviation) . "
"; - } - } - - $message .= "

"; - } +// if ( ! isset($organisation) && $lang == "DE" ) +// { +// $message .= "

"; +// $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben"; +// $message .= "
"; +// foreach ( $arrAllCantons as $abbreviation ) +// { +// if ( isset(filter_input(INPUT_POST, $abbreviation)) ) +// { +// $message .= filter_input(INPUT_POST, $abbreviation) . "
"; +// } +// } +// +// $message .= "

"; +// } $modulpop2 = filter_input(INPUT_POST, 'modulpop2'); if (isset($modulpop2))