edit messages from form-data
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m16s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m16s
This commit is contained in:
parent
8526acbacb
commit
5db8710a5f
1 changed files with 18 additions and 0 deletions
|
|
@ -130,6 +130,24 @@ function constructMessage()
|
|||
$message .= $servername . "</p>";
|
||||
}
|
||||
|
||||
// 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" ];
|
||||
if ( ! isset($organisation) && $lang == "DE" )
|
||||
{
|
||||
$message .= "<hr/><p><b>";
|
||||
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
||||
$message .= "</b><br/>";
|
||||
foreach ( $arrAllCantons as $abbreviation )
|
||||
{
|
||||
if ( isset(filter_input(INPUT_POST, $abbreviation)) )
|
||||
{
|
||||
$message .= filter_input(INPUT_POST, $abbreviation) . "<br/>";
|
||||
}
|
||||
}
|
||||
|
||||
$message .= "</p>";
|
||||
}
|
||||
|
||||
$modulpop2 = filter_input(INPUT_POST, 'modulpop2');
|
||||
if (isset($modulpop2))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue