Skip to content

Commit

Permalink
form
Browse files Browse the repository at this point in the history
  • Loading branch information
uwol committed Oct 3, 2018
1 parent f3a467e commit 0cea647
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/mod_internet_kontakt/meta.json
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
{ {
"moduleName": "Kontakt", "moduleName": "Kontakt",
"version": 2.96, "version": 2.97,
"pages": [ "pages": [
{ {
"pid": "kontakt", "pid": "kontakt",
Expand Down
8 changes: 4 additions & 4 deletions modules/mod_internet_kontakt/scripts/contact.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@
echo '<form action="index.php?pid=kontakt" method="post" class="form-horizontal">'; echo '<form action="index.php?pid=kontakt" method="post" class="form-horizontal">';
echo '<fieldset>'; echo '<fieldset>';


$libForm->printTextInput('name', 'Name', $libString->protectXSS($name)); $libForm->printTextInput('name', 'Name', $libString->protectXSS($name), 'text', false, true);
$libForm->printTextInput('emailaddress', 'E-Mail-Adresse', $libString->protectXSS($email), 'email'); $libForm->printTextInput('emailaddress', 'E-Mail-Adresse', $libString->protectXSS($email), 'email', false, true);
$libForm->printTextInput('telefon', 'Telefonnummer', $libString->protectXSS($telefon), 'tel'); $libForm->printTextInput('telefon', 'Telefonnummer', $libString->protectXSS($telefon), 'tel', false, true);
$libForm->printTextarea('nachricht', 'Nachricht', $libString->protectXSS($nachricht)); $libForm->printTextarea('nachricht', 'Nachricht', $libString->protectXSS($nachricht), false, true);
$libForm->printSubmitButton('<i class="fa fa-envelope-o" aria-hidden="true"></i> Abschicken'); $libForm->printSubmitButton('<i class="fa fa-envelope-o" aria-hidden="true"></i> Abschicken');


echo '</fieldset>'; echo '</fieldset>';
Expand Down

0 comments on commit 0cea647

Please sign in to comment.