Files
fewo-stommer/config/content.php
T
Lars StommerandClaude Opus 5.5 4f69b426a4 Booking path 1 (offer + guest acceptance), 2FA for all, privacy hardening, brand graphics in theme
- Offer workflow: "Angebot senden" in the admin (dates, guests, promo code, manual price adjustment,
  validity from the property's hold time, message, guest data for the contract) with live price;
  contract draft PDF; signed, versioned offer page for the guest to accept (acceptance record without
  IP) or decline; expiry job, landlord notifications, editable offer texts, wording on the website.
- 2FA is mandatory for every admin account.
- Privacy: complete anonymisation (notes, attribution, review names, offer messages), shorter
  periods for unbinding requests, portal mail excerpts and attribution (configurable proposals),
  iCal summary not stored, known e-mail no longer overwrites guest data, security headers, bearer
  tokens for automations, metadata stripped from photo originals, review link throttled.
- Daily database backup (backup:database) and scripts/backup-pull.sh for the NAS.
- Theme: brand mark in header/footer, favicon/touch icon, wave divider, icons, illustration as
  image placeholder; navy follows the text colour for dark appearances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:38:22 +02:00

72 lines
4.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/*
|--------------------------------------------------------------------------
| Editable website texts
|--------------------------------------------------------------------------
|
| Central texts used in several places (mails, contract, legal pages, SEO).
| Page texts live in the page sections (Admin › Webseite › Seiten).
| Every field becomes an input on the admin page "Webseiten-Texte", grouped
| by section. Types: text, textarea, richtext (sanitised HTML), photo (id of
| a Photo). The default is shown until a value has been saved.
|
*/
return [
'host' => [
'label' => 'Gastgeber',
'fields' => [
'host.quote' => ['label' => 'Zitat', 'type' => 'textarea', 'default' => 'Wir vermieten unsere Wohnung seit über 20 Jahren – und freuen uns jedes Mal, wenn Gäste wiederkommen.'],
'host.text' => ['label' => 'Text', 'type' => 'richtext', 'default' => '<p>Sie erreichen uns persönlich per Telefon oder E-Mail.</p>'],
'host.photo' => ['label' => 'Foto der Gastgeberin', 'type' => 'photo'],
],
],
'stay' => [
'label' => 'Aufenthalt',
'fields' => [
'stay.house_rules' => ['label' => 'Hausregeln', 'type' => 'richtext', 'default' => null],
'stay.arrival_info' => ['label' => 'Anreiseinformationen (für Gäste-E-Mail vor Anreise)', 'type' => 'richtext', 'default' => null],
'stay.cancellation' => ['label' => 'Stornobedingungen', 'type' => 'richtext', 'default' => null],
],
],
'contract' => [
'label' => 'Mietvertrag',
'fields' => [
'contract.intro' => ['label' => 'Einleitung', 'type' => 'textarea', 'default' => 'Zwischen Vermieter und Mieter wird folgender Mietvertrag über die Ferienwohnung geschlossen. Der Vertrag kommt zustande, wenn der Mieter das Angebot des Vermieters annimmt.'],
'contract.terms' => ['label' => 'Mietbedingungen', 'type' => 'richtext', 'default' => '<p><strong>[MUSTER – bitte durch Ihre geprüften Mietbedingungen ersetzen]</strong></p><ol><li>Die Wohnung darf nur von den im Vertrag genannten Personen genutzt werden.</li><li>Der Mieter behandelt die Wohnung und das Inventar pfleglich und meldet Schäden unverzüglich.</li><li>Die Kurtaxe ist nicht im Mietpreis enthalten und wird vor Ort entrichtet.</li></ol>'],
'contract.closing' => ['label' => 'Schlusstext', 'type' => 'textarea', 'default' => 'Wir freuen uns auf Ihren Besuch und wünschen Ihnen schon jetzt einen erholsamen Aufenthalt an der Ostsee.'],
],
],
'offer' => [
'label' => 'Angebot & Annahme',
'fields' => [
'offer.intro' => ['label' => 'Einleitung in der Angebots-E-Mail', 'type' => 'textarea', 'default' => 'vielen Dank für Ihre Anfrage. Gern machen wir Ihnen folgendes Angebot – den Vertragsentwurf mit allen Bedingungen finden Sie im Anhang.'],
'offer.contract_note' => ['label' => 'Hinweis im Vertragsentwurf', 'type' => 'textarea', 'default' => 'Dies ist ein Angebot. Der Mietvertrag wird verbindlich, sobald Sie das Angebot über den Link in unserer E-Mail annehmen.'],
'offer.accept_note' => ['label' => 'Hinweis über dem Annahme-Button', 'type' => 'textarea', 'default' => 'Mit Klick auf den Button nehmen Sie unser Angebot verbindlich an. Damit kommt der Mietvertrag zu den oben genannten Bedingungen zustande und die genannten Zahlungen werden fällig.'],
'offer.accept_button' => ['label' => 'Beschriftung des Annahme-Buttons', 'type' => 'text', 'default' => 'Angebot zahlungspflichtig annehmen'],
],
],
'legal' => [
'label' => 'Rechtliches',
'fields' => [
'legal.imprint' => ['label' => 'Impressum', 'type' => 'richtext', 'default' => null],
'legal.privacy' => ['label' => 'Datenschutzerklärung', 'type' => 'richtext', 'default' => null],
],
],
'seo' => [
'label' => 'Suchmaschinen',
'fields' => [
'seo.home.title' => ['label' => 'Seitentitel (Google)', 'type' => 'text', 'default' => 'Ferienwohnung Stommer in Kühlungsborn – Terrasse, Garten, Ostsee'],
'seo.home.description' => ['label' => 'Beschreibung (Google)', 'type' => 'textarea', 'default' => 'Gemütliche 53 m² Ferienwohnung im Erdgeschoss mit eigener Terrasse in Kühlungsborn. Freie Termine und Preise online prüfen und unverbindlich anfragen.'],
],
],
];