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" )
|
||||
{
|
||||
$arrServiceTyps = [ "SOM", "PSY", "AÜP" ];
|
||||
$message .= "<hr/><p><b>";
|
||||
$message .= "Leistungen, die Sie anbieten";
|
||||
$message .= "</b><br/>";
|
||||
$strServiceTyps = "";
|
||||
foreach ( $arrServiceTyps as $abbreviation )
|
||||
{
|
||||
if (isset( $_POST[$abbreviation]) )
|
||||
{
|
||||
$message .= $_POST[$abbreviation] . "<br/>";
|
||||
$strServiceTyps .= $_POST[$abbreviation] . "<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" ];
|
||||
if ( $strServiceTyps != "" )
|
||||
{
|
||||
$message .= "<hr/><p><b>";
|
||||
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
||||
$message .= "Leistungen, die Sie anbieten";
|
||||
$message .= $strServiceTyps;
|
||||
$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 )
|
||||
{
|
||||
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>";
|
||||
}
|
||||
}
|
||||
|
||||
$modulpop2 = filter_input(INPUT_POST, 'modulpop2');
|
||||
if (isset($modulpop2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue