diff --git a/install.php b/install.php
index 99cc6fe..1cad77a 100644
--- a/install.php
+++ b/install.php
@@ -178,7 +178,7 @@
$sql->setQuery("SELECT * FROM ". \rex::getTablePrefix() ."yform_email_template WHERE name = 'd2u_immo_request'");
if($sql->getRows() == 0) {
$sql->setQuery("INSERT INTO ". \rex::getTablePrefix() ."yform_email_template (`name`, `mail_from`, `mail_from_name`, `subject`, `body`, `body_html`, `attachments`) VALUES
- ('d2u_immo_request', 'REX_YFORM_DATA[field=\"email\"]', 'REX_YFORM_DATA[field=\"name\"]', 'Immobilienanfrage', 'Immobilienanfrage von Internetseite:\r\nImmobilie: REX_YFORM_DATA[field=\"immo_name\"]\r\n\r\nEs fragt an:\r\nName: REX_YFORM_DATA[field=\"name\"]\r\nAnschrift: REX_YFORM_DATA[field=\"address\"]\r\nPLZ/Ort: REX_YFORM_DATA[field=\"zip\"] REX_YFORM_DATA[field=\"city\"]\r\nTelefon: REX_YFORM_DATA[field=\"phone\"]\r\nTelefon Anrufe gestattet: REX_YFORM_DATA[field=\"phone_calls\"]\r\nEmail: REX_YFORM_DATA[field=\"email\"]\r\nDatenschutzerklärung zugestimmt: REX_YFORM_DATA[field=\"privacy_policy_accepted\"]\r\n\r\nNachricht: REX_YFORM_DATA[field=\"message\"]\r\n', '', '')");
+ ('d2u_immo_request', 'REX_YFORM_DATA[field=\"email\"]', 'REX_YFORM_DATA[field=\"name\"]', 'Immobilienanfrage', 'Immobilienanfrage von Internetseite:\r\nImmobilie: REX_YFORM_DATA[field=\"immo_name\"]\r\n\r\nEs fragt an:\r\nName: REX_YFORM_DATA[field=\"name\"]\r\nAnschrift: REX_YFORM_DATA[field=\"address\"]\r\nPLZ/Ort: REX_YFORM_DATA[field=\"zip\"] REX_YFORM_DATA[field=\"city\"]\r\nTelefon: REX_YFORM_DATA[field=\"phone\"]\r\nTelefon Anrufe gestattet: \r\nEmail: REX_YFORM_DATA[field=\"email\"]\r\nDatenschutzerklärung zugestimmt: \r\n\r\nNachricht: REX_YFORM_DATA[field=\"message\"]\r\n', '', '')");
}
// Insert frontend translations
diff --git a/lib/d2u_immo_module_manager.php b/lib/d2u_immo_module_manager.php
index bfc8428..244515c 100644
--- a/lib/d2u_immo_module_manager.php
+++ b/lib/d2u_immo_module_manager.php
@@ -13,7 +13,7 @@ public static function getModules() {
$modules = [];
$modules[] = new D2UModule("70-1",
"D2U Immo Addon - Hauptausgabe",
- 12);
+ 13);
$modules[] = new D2UModule("70-2",
"D2U Immo Addon - Infobox Ansprechpartner",
2);
diff --git a/modules/70/1/output.php b/modules/70/1/output.php
index 64b12f2..8be6b43 100644
--- a/modules/70/1/output.php
+++ b/modules/70/1/output.php
@@ -960,8 +960,8 @@ function recalc() {
text|phone|'. $tag_open .'d2u_immo_form_phone'. $tag_close .' *
text|email|'. $tag_open .'d2u_immo_form_email'. $tag_close .' *
textarea|message|'. $tag_open .'d2u_immo_form_message'. $tag_close .'
- checkbox|privacy_policy_accepted|'. $tag_open .'d2u_immo_form_privacy_policy'. $tag_close .' *|'. $tag_open .'d2u_immo_no'. $tag_close .','. $tag_open .'d2u_immo_yes'. $tag_close .'|'. $tag_open .'d2u_immo_no'. $tag_close .'
- checkbox|phone_calls|'. $tag_open .'d2u_immo_form_phone_calls'. $tag_close .'|'. $tag_open .'d2u_immo_no'. $tag_close .','. $tag_open .'d2u_immo_yes'. $tag_close .'|'. $tag_open .'d2u_immo_no'. $tag_close .'
+ checkbox|privacy_policy_accepted|'. $tag_open .'d2u_immo_form_privacy_policy'. $tag_close .' *|0,1|0
+ checkbox|phone_calls|'. $tag_open .'d2u_immo_form_phone_calls'. $tag_close .'|0,1|0
php|validate_timer|Spamprotection||
html||
* '. $tag_open .'d2u_immo_form_required'. $tag_close .'
diff --git a/pages/setup.php b/pages/setup.php
index e3cded5..7f69f9d 100644
--- a/pages/setup.php
+++ b/pages/setup.php
@@ -32,7 +32,7 @@
1.1.0:
1.0.9: