edit messages from form-data
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 57s

This commit is contained in:
betty 2026-01-12 11:38:24 +01:00
commit e85960b7b8

View file

@ -132,21 +132,21 @@ function constructMessage()
// form inputs cantons - only FPP // 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" ]; $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" ) if ( ! isset($organisation) && $lang == "DE" )
// { {
// $message .= "<hr/><p><b>"; $message .= "<hr/><p><b>";
// $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben"; $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
// $message .= "</b><br/>"; $message .= "</b><br/>";
// foreach ( $arrAllCantons as $abbreviation ) foreach ( $arrAllCantons as $abbreviation )
// { {
// if ( isset(filter_input(INPUT_POST, $abbreviation)) ) if ( isset(filter_input(INPUT_POST, $abbreviation)) )
// { {
// $message .= filter_input(INPUT_POST, $abbreviation) . "<br/>"; $message .= filter_input(INPUT_POST, $abbreviation) . "<br/>";
// } }
// } }
//
// $message .= "</p>"; $message .= "</p>";
// } }
$modulpop2 = filter_input(INPUT_POST, 'modulpop2'); $modulpop2 = filter_input(INPUT_POST, 'modulpop2');
if (isset($modulpop2)) if (isset($modulpop2))