Formatting form
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m5s

This commit is contained in:
betty 2026-01-12 13:53:49 +01:00
commit a1322d5589
2 changed files with 7 additions and 8 deletions

View file

@ -133,11 +133,11 @@ function constructMessage()
// form inputs cantons - only FPP
if ( ! isset($organisation) && $lang == "DE" )
{
$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" ];
$arrServiceTyps = [ "SOM", "PSY", "AÜP" ];
$message .= "<hr/><p><b>";
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
$message .= "Leistungen, die Sie anbieten";
$message .= "</b><br/>";
foreach ( $arrAllCantons as $abbreviation )
foreach ( $arrServiceTyps as $abbreviation )
{
if (isset( $_POST[$abbreviation]) )
{
@ -145,12 +145,11 @@ function constructMessage()
}
}
$message .= "</p>";
$arrServiceTyps = [ "SOM", "PSY", "AÜP" ];
$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" ];
$message .= "<hr/><p><b>";
$message .= "Leistungen, die Sie anbieten";
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
$message .= "</b><br/>";
foreach ( $arrServiceTyps as $abbreviation )
foreach ( $arrAllCantons as $abbreviation )
{
if (isset( $_POST[$abbreviation]) )
{