dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbxContentConsent.class.php
Go to the documentation of this file.
1<?php
2namespace dbx\dbxContent;
3
4require_once __DIR__ . '/dbxContent_bootstrap.php';
5
7
8 public function run(): string {
9 return '<div class="dbx-consent-panel card">'
10 . '<div class="card-body">'
11 . '<h5 class="card-title">Datenschutz-Einstellungen</h5>'
12 . '<p class="text-muted mb-3">Legen Sie fest, welche Cookies auf dieser Website und welche externen Inhalte geladen werden dürfen.</p>'
13 . '<div class="form-check mb-2">'
14 . '<input class="form-check-input" type="checkbox" id="dbxConsentCookies" data-dbx-consent-cookies checked disabled>'
15 . '<label class="form-check-label" for="dbxConsentCookies">Technisch notwendig <span class="text-muted">(eigene Website, immer aktiv)</span></label>'
16 . '</div>'
17 . '<div class="form-check mb-3">'
18 . '<input class="form-check-input" type="checkbox" id="dbxConsentYoutube" data-dbx-consent-youtube>'
19 . '<label class="form-check-label" for="dbxConsentYoutube">Externe Medien <span class="text-muted">(YouTube)</span></label>'
20 . '</div>'
21 . '<div class="dbx-consent-panel-actions">'
22 . '<button type="button" class="btn btn-primary btn-sm" data-dbx-consent-action="accept-all">Alle akzeptieren</button>'
23 . '<button type="button" class="btn btn-outline-secondary btn-sm" data-dbx-consent-action="necessary">Nur notwendige</button>'
24 . '<button type="button" class="btn btn-success btn-sm" data-dbx-consent-action="save">Speichern</button>'
25 . '<button type="button" class="btn btn-outline-danger btn-sm" data-dbx-consent-action="reject" title="Alle Zustimmungen widerrufen und Hinweis erneut anzeigen">Ablehnen</button>'
26 . '</div>'
27 . '</div>'
28 . '</div>';
29 }
30}
31
32?>