Startseite: Anfrageformular sendet serverseitig, Landingpage und netcup-Ziel

- Neues oeffentliches Formular-Endpoint POST /anfrage (app/inquiry.php):
  Pflichtfelder ausser Nachricht, Validierung, Honeypot, IP-Limit 5/Stunde,
  Versand per mail_send() mit Reply-To des Kunden - kein mailto mehr
- mail_send() akzeptiert zusaetzliche Kopfzeilen (CRLF bereinigt)
- app.inquiry_email in Konfiguration und Deploy-Template (DIC_INQUIRY_EMAIL)
- Statische Landingpage web/index.html mit Assets, Service-Worker-Cache dic-v18
- App-Routen auf /dashboard, netcup-Deploy-Doku und Fundstellen aktualisiert
This commit is contained in:
torsten 2026-11-29 16:31:28 +01:00
parent 273eabfdb7
commit fe388838db
27 changed files with 2598 additions and 57 deletions

View file

@ -235,7 +235,7 @@ function abort_page(int $code, string $message): never
. '<img src="' . e(asset('logo-mark.svg')) . '" alt="" width="64" height="46">'
. '<p class="eyebrow">Drink it cold · Terminplanung</p>'
. '<h1>' . e($title) . '</h1><p>' . e($message) . '</p>'
. '<p><a class="btn primary" href="' . e(url('/')) . '">Zur Übersicht</a></p>'
. '<p><a class="btn primary" href="' . e(url('/dashboard')) . '">Zur Übersicht</a></p>'
. '<p class="muted small"><a href="' . e(url('/impressum')) . '">Impressum</a>'
. ' · <a href="' . e(url('/datenschutz')) . '">Datenschutz</a></p>'
. '</div></body></html>';