diff --git a/static/php/message.php b/static/php/message.php index 0a9648e..f104112 100644 --- a/static/php/message.php +++ b/static/php/message.php @@ -134,40 +134,29 @@ function constructMessage() if ( ! isset($organisation) && $lang == "DE" ) { $arrServiceTyps = [ "SOM", "PSY", "AÜP" ]; - $strServiceTyps = ""; + $message .= "
";
+ $message .= "Leistungen, die Sie anbieten";
+ $message .= "
";
foreach ( $arrServiceTyps as $abbreviation )
{
if (isset( $_POST[$abbreviation]) )
{
- $strServiceTyps .= $_POST[$abbreviation] . "
";
+ $message .= $_POST[$abbreviation] . "
";
}
}
- if ( $strServiceTyps != "" )
- {
- $message .= "
";
- $message .= "Leistungen, die Sie anbieten";
- $message .= $strServiceTyps;
- $message .= "
";
- $message .= "
";
+ $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
+ $message .= "
";
foreach ( $arrAllCantons as $abbreviation )
{
if (isset( $_POST[$abbreviation]) )
{
- $strCantons .= $_POST[$abbreviation] . "
";
+ $message .= $_POST[$abbreviation] . "
";
}
}
- if ( $strCantons != "" )
- {
- $message .= "
";
- $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
- $message .= "
";
- $message .= $strCantons;
- $message .= "