Compare commits
2 commits
c5206adf64
...
67f58e195f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67f58e195f | ||
|
|
6b021ba72b |
1 changed files with 21 additions and 10 deletions
|
|
@ -134,30 +134,41 @@ function constructMessage()
|
||||||
if ( ! isset($organisation) && $lang == "DE" )
|
if ( ! isset($organisation) && $lang == "DE" )
|
||||||
{
|
{
|
||||||
$arrServiceTyps = [ "SOM", "PSY", "AÜP" ];
|
$arrServiceTyps = [ "SOM", "PSY", "AÜP" ];
|
||||||
$message .= "<hr/><p><b>";
|
$strServiceTyps = "";
|
||||||
$message .= "Leistungen, die Sie anbieten";
|
|
||||||
$message .= "</b><br/>";
|
|
||||||
foreach ( $arrServiceTyps as $abbreviation )
|
foreach ( $arrServiceTyps as $abbreviation )
|
||||||
{
|
{
|
||||||
if (isset( $_POST[$abbreviation]) )
|
if (isset( $_POST[$abbreviation]) )
|
||||||
{
|
{
|
||||||
$message .= $_POST[$abbreviation] . "<br/>";
|
$strServiceTyps .= $_POST[$abbreviation] . "<br/>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$message .= "</p>";
|
if ( $strServiceTyps != "" )
|
||||||
$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 .= "<hr/><p><b>";
|
||||||
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
$message .= "Leistungen, die Sie anbieten";
|
||||||
|
$message .= $strServiceTyps;
|
||||||
$message .= "</b><br/>";
|
$message .= "</b><br/>";
|
||||||
|
$message .= "</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" ];
|
||||||
|
$strCantons = "";
|
||||||
foreach ( $arrAllCantons as $abbreviation )
|
foreach ( $arrAllCantons as $abbreviation )
|
||||||
{
|
{
|
||||||
if (isset( $_POST[$abbreviation]) )
|
if (isset( $_POST[$abbreviation]) )
|
||||||
{
|
{
|
||||||
$message .= $_POST[$abbreviation] . "<br/>";
|
$strCantons .= $_POST[$abbreviation] . "<br/>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( $strCantons != "" )
|
||||||
|
{
|
||||||
|
$message .= "<hr/><p><b>";
|
||||||
|
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
||||||
|
$message .= "</b><br/>";
|
||||||
|
$message .= $strCantons;
|
||||||
$message .= "</p>";
|
$message .= "</p>";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$modulpop2 = filter_input(INPUT_POST, 'modulpop2');
|
$modulpop2 = filter_input(INPUT_POST, 'modulpop2');
|
||||||
if (isset($modulpop2))
|
if (isset($modulpop2))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue