edit messages from form-data
This commit is contained in:
parent
bf3a8e2a41
commit
a232043d23
2 changed files with 25 additions and 25 deletions
|
|
@ -161,49 +161,49 @@ kommentar = 'age und hobbies sind honeypots'
|
||||||
<label for="OW">OW: Obwalden</label>
|
<label for="OW">OW: Obwalden</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="SG" name="SG" value="SG - St Gallen">
|
<input type="checkbox" id="SG" name="SG" value="SG: St Gallen">
|
||||||
<label for="SG">SG: St Gallen</label>
|
<label for="SG">SG: St Gallen</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="SH" name="SH" value="SH - Schaffhausen">
|
<input type="checkbox" id="SH" name="SH" value="SH: Schaffhausen">
|
||||||
<label for="SH">SH: Schaffhausen</label>
|
<label for="SH">SH: Schaffhausen</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="SO" name="SO" value="SO - Solothurn">
|
<input type="checkbox" id="SO" name="SO" value="SO: Solothurn">
|
||||||
<label for="SO">SO: Solothurn</label>
|
<label for="SO">SO: Solothurn</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="SZ" name="SZ" value="SZ - Schwyz">
|
<input type="checkbox" id="SZ" name="SZ" value="SZ: Schwyz">
|
||||||
<label for="SZ">SZ: Schwyz</label>
|
<label for="SZ">SZ: Schwyz</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="TG" name="TG" value="TG - Thurgau">
|
<input type="checkbox" id="TG" name="TG" value="TG: Thurgau">
|
||||||
<label for="TG">TG: Thurgau</label>
|
<label for="TG">TG: Thurgau</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="UR" name="UR" value="UR - Uri">
|
<input type="checkbox" id="UR" name="UR" value="UR: Uri">
|
||||||
<label for="UR">UR: Uri</label>
|
<label for="UR">UR: Uri</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="VD" name="VD" value="VD - Waadt">
|
<input type="checkbox" id="VD" name="VD" value="VD: Waadt">
|
||||||
<label for="VD">VD: Waadt</label>
|
<label for="VD">VD: Waadt</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="VS" name="VS" value="VS - Wallis">
|
<input type="checkbox" id="VS" name="VS" value="VS: Wallis">
|
||||||
<label for="VS">VS: Wallis</label>
|
<label for="VS">VS: Wallis</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="ZG" name="ZG" value="ZG - Zug">
|
<input type="checkbox" id="ZG" name="ZG" value="ZG: Zug">
|
||||||
<label for="ZG">ZG: Zug</label>
|
<label for="ZG">ZG: Zug</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" id="ZH" name="ZH" value="ZH - Zürich">
|
<input type="checkbox" id="ZH" name="ZH" value="ZH: Zürich">
|
||||||
<label for="ZH">ZH: Zürich</label>
|
<label for="ZH">ZH: Zürich</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
|
|
@ -132,21 +132,21 @@ function constructMessage()
|
||||||
|
|
||||||
// form inputs cantons - only FPP
|
// 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" ];
|
$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" )
|
// if ( ! isset($organisation) && $lang == "DE" )
|
||||||
{
|
// {
|
||||||
$message .= "<hr/><p><b>";
|
// $message .= "<hr/><p><b>";
|
||||||
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
// $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
|
||||||
$message .= "</b><br/>";
|
// $message .= "</b><br/>";
|
||||||
foreach ( $arrAllCantons as $abbreviation )
|
// foreach ( $arrAllCantons as $abbreviation )
|
||||||
{
|
// {
|
||||||
if ( isset(filter_input(INPUT_POST, $abbreviation)) )
|
// if ( isset(filter_input(INPUT_POST, $abbreviation)) )
|
||||||
{
|
// {
|
||||||
$message .= filter_input(INPUT_POST, $abbreviation) . "<br/>";
|
// $message .= filter_input(INPUT_POST, $abbreviation) . "<br/>";
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
$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