This commit is contained in:
115
.projectstructure.txt
Normal file
115
.projectstructure.txt
Normal file
@@ -0,0 +1,115 @@
|
||||
Papa-Kind-Treff – Projektstruktur und Pflegehinweise
|
||||
Stand: 2026-07-22
|
||||
|
||||
1. Zweck
|
||||
- Plattform für Väter mit Fokus auf lokale Treffen, Community/Forum, Mitgliederbereich und spätere Liveschaltung.
|
||||
- Sprache und Tonalität im Frontend: freundlich, direkt, nutzerzentriert.
|
||||
|
||||
2. Zentrale Einstiegspunkte
|
||||
- `public/index.php`
|
||||
Front-Controller, Routing auf `public/page/*`, Staging-Basic-Auth, Layout-Steuerung.
|
||||
- `partials/structure/layout_start.php`
|
||||
Globale Assets, Body-Datasets, Consent-UI, Navigation, globale Modale.
|
||||
- `partials/structure/layout_end.php`
|
||||
Footer und Footer-Assets.
|
||||
|
||||
3. Wichtige Verzeichnisse
|
||||
- `public/page/`
|
||||
Route-Dateien.
|
||||
Wichtige Seiten:
|
||||
- `index.php` Startseite
|
||||
- `search.php` Suche
|
||||
- `community.php` Community-Übersicht
|
||||
- `community_thread.php` Thread-Ansicht
|
||||
- `dashboard.php` Mitgliederbereich
|
||||
- `community-admin.php` Moderation/Admin
|
||||
- `impressum.php`, `datenschutz.php`, `ueber-uns.php`
|
||||
- `api/location-preference.php` API zum Speichern der Standortpräferenz
|
||||
- `partials/landing/main/`
|
||||
Startseiten-Blöcke.
|
||||
- `partials/landing/community/`
|
||||
Community-Templates inkl. Sidebar-Navigation.
|
||||
- `partials/landing/account/`
|
||||
Dashboard, Community-Admin, Login/Register.
|
||||
- `partials/structure/`
|
||||
Layout, Navigation, Footer, Matomo-Konfiguration.
|
||||
- `src/App/`
|
||||
Geschäftslogik und Services.
|
||||
|
||||
4. Relevante App-Klassen
|
||||
- `src/App/AccountPages.php`
|
||||
Dashboard-/Profil-Logik, Event-Anlage, Community-Bewerbung, Migration.
|
||||
- `src/App/Community.php`
|
||||
Boards, Threads, Posts, Forenstruktur, Punkte.
|
||||
- `src/App/CommunityAccess.php`
|
||||
Rollen, Bewerbungen, Meldungen, Moderation, Restrictions.
|
||||
- `src/App/CommunityMigration.php`
|
||||
DB-Erweiterungen für Community-Funktionen.
|
||||
- `src/App/ProfileSettings.php`
|
||||
Persistente Profileinstellungen für Standortfreigabe.
|
||||
- `src/App/Search.php`
|
||||
Eventsuche inkl. Distanzfilter.
|
||||
|
||||
5. Frontend-Assets
|
||||
- `public/assets/js/app.js`
|
||||
Globale UI-Logik, Slider, Geolocation, Consent-Manager, Matomo-Opt-in.
|
||||
- `public/assets/css/app.css`
|
||||
Globales UI-Styling inkl. Community, Footer, Consent.
|
||||
- `public/assets/css/styles.css`
|
||||
Basis-Styles.
|
||||
|
||||
6. Aktueller Funktionsstand
|
||||
- Startseite mit Hero, Suche, neueste Treffen, Community-Vorschau, Mitgliederbereich.
|
||||
- Hauptnavigation aktuell reduziert auf `Home`, `Suche`, `Community`.
|
||||
- Für eingeloggte Nutzer gibt es rechts ein Profil-Dropdown mit `Übersicht`, `Mitgliederbereich`, `Abmelden`.
|
||||
- Kein eigener Top-Level-Punkt `Termine`; Event-Fokus liegt derzeit auf Startseite und Suche.
|
||||
- Community mit Kategorien, Boards, Thread-Liste, Thread-Ansicht, Rollen-/Moderationslogik.
|
||||
- Dashboard mit Profil, Kinder, eigene Events, Community-Status.
|
||||
- Community-Admin-Bereich für Bewerbungen, Meldungen, Rollen und Migration.
|
||||
- Impressum, Datenschutz-&-Cookies-Seite und Über-uns vorhanden.
|
||||
- Standortsortierung auf der Startseite für Treffen in der Nähe.
|
||||
- Standortpräferenz im Profil:
|
||||
- `disabled`
|
||||
- `prompt`
|
||||
- `enabled`
|
||||
- Consent-Manager:
|
||||
- notwendige Cookies immer aktiv
|
||||
- `analytics` für Matomo
|
||||
- `external_services` für Standort/Karten/Leaflet/Nominatim
|
||||
|
||||
7. Rollenmodell Community
|
||||
- normaler Nutzer
|
||||
- schreiben, antworten, bewerten, melden
|
||||
- `forum_admin`
|
||||
- Themen/Beiträge bearbeiten und löschen
|
||||
- Meldungen prüfen
|
||||
- Community-Schreibsperren setzen
|
||||
- `site_admin`
|
||||
- alles wie `forum_admin`
|
||||
- Bewerbungen prüfen
|
||||
- Community-Migration
|
||||
- `owner`
|
||||
- alles wie `site_admin`
|
||||
- Rollen vergeben/entziehen
|
||||
|
||||
8. Externe Dienste und rechtlich relevante Punkte
|
||||
- Matomo (`matomo.my-statistics.info`) nur nach Consent `analytics`.
|
||||
- Leaflet via `unpkg.com` nur nach Consent `external_services`.
|
||||
- OpenStreetMap Nominatim für Geocoding/Reverse-Geocoding nur nach Consent `external_services` bei Browserfunktionen.
|
||||
- Browser-Geolocation und lokale Standortspeicherung nur nach Consent `external_services` und zusätzlicher Standortpräferenz.
|
||||
- Jede neue Einbindung von Cookies, LocalStorage, SessionStorage, Tracking, externen Skripten, APIs oder Drittanbietern muss:
|
||||
- technisch im Consent-Manager berücksichtigt werden
|
||||
- in `README.md` dokumentiert werden
|
||||
- in dieser Datei vermerkt werden
|
||||
- in den rechtlich notwendigen Hinweisen/Datenschutztexten ergänzt werden
|
||||
|
||||
9. Pflicht bei zukünftigen Änderungen
|
||||
- Bei jeder funktionalen Änderung immer mitprüfen und bei Bedarf aktualisieren:
|
||||
- `README.md`
|
||||
- `.projectstructure.txt`
|
||||
- `PROJECT_CONTEXT.md`
|
||||
- Bei neuen Cookies, Tracking-Mechanismen oder Drittanbietern zusätzlich:
|
||||
- Consent-Logik anpassen
|
||||
- rechtliche Texte/Hinweise ergänzen
|
||||
- Opt-in/Opt-out technisch verifizieren
|
||||
- Änderungen an Navigation, Nutzerführung oder Rollenanzeige ebenfalls in dieser Datei, `README.md` und `PROJECT_CONTEXT.md` mitführen.
|
||||
55
PROJECT_CONTEXT.md
Normal file
55
PROJECT_CONTEXT.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Papa-Kind-Treff – Chat-Kontext
|
||||
|
||||
Stand: 2026-07-22
|
||||
|
||||
## Kurzbeschreibung
|
||||
Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter. Kernbereiche sind lokale Treffen/Events, ein Community-Forum, Mitgliederprofile mit optionalen Kinderinfos und ein Moderations-/Adminbereich.
|
||||
|
||||
## Technischer Rahmen
|
||||
- Kein großes Framework, sondern eigener Front-Controller in `public/index.php`
|
||||
- Templates unter `partials/`
|
||||
- Geschäftslogik unter `src/App/`
|
||||
- MySQL/MariaDB-Schema in `schema.sql`
|
||||
- Globales Frontend vor allem über `public/assets/js/app.js` und `public/assets/css/app.css`
|
||||
|
||||
## Wichtige Produktentscheidungen
|
||||
- Die Ansprache im Frontend soll immer den aktuellen Nutzer direkt ansprechen.
|
||||
- Die Hauptnavigation ist bewusst knapp gehalten: `Home`, `Suche`, `Community`.
|
||||
- `Termine` ist aktuell kein eigener Hauptpunkt mehr; Events werden über Startseite und Suche erschlossen.
|
||||
- Die Community ist hierarchisch aufgebaut: Kategorien -> Boards -> Threads -> Posts.
|
||||
- Moderation ist getrennt vom normalen Community-Frontend in einem eigenen Adminbereich.
|
||||
- Standortfunktionen sind relevant für lokale Treffen und werden künftig weiter ausgebaut.
|
||||
|
||||
## Navigation / Konto
|
||||
- Eingeloggte Nutzer sehen rechts ein Profil-Menü statt einzelner `Dashboard`-/`Logout`-Buttons.
|
||||
- Das Profil-Menü enthält aktuell `Übersicht`, `Mitgliederbereich`, `Abmelden`.
|
||||
- Debug ist kein Menüpunkt und erscheint nur als Floating-Käfer für `site_admin` bei aktivem Debug-Modus.
|
||||
|
||||
## Community und Rechte
|
||||
- dekorative Ränge über Punkte
|
||||
- Moderationsrollen:
|
||||
- `forum_admin`
|
||||
- `site_admin`
|
||||
- `owner`
|
||||
- Bewerbungen für Moderation sind vorgesehen bzw. umgesetzt.
|
||||
|
||||
## Recht / Consent
|
||||
- Nicht notwendige Funktionen laufen nicht automatisch los.
|
||||
- Es gibt einen Consent-Manager mit Kategorien:
|
||||
- `analytics`
|
||||
- `external_services`
|
||||
- Matomo wird nur nach Analyse-Einwilligung geladen.
|
||||
- Externe Karten-/Standortdienste und lokale Standortspeicherung hängen an `external_services`.
|
||||
- Zusätzlich gibt es eine Standortpräferenz im Profil:
|
||||
- `disabled`
|
||||
- `prompt`
|
||||
- `enabled`
|
||||
- Es gibt eine eigene Seite `/datenschutz` für Datenschutz- und Cookie-Hinweise sowie einen Footer-Link auf die Consent-Einstellungen.
|
||||
|
||||
## Doku-Regel
|
||||
Bei jeder künftigen Änderung müssen mindestens diese Dateien mitgeprüft werden:
|
||||
- `README.md`
|
||||
- `.projectstructure.txt`
|
||||
- `PROJECT_CONTEXT.md`
|
||||
|
||||
Wenn Cookies, LocalStorage, SessionStorage, Tracking, Geolocation oder Drittanbieter neu hinzukommen oder geändert werden, müssen zusätzlich Consent und rechtliche Hinweise angepasst werden.
|
||||
136
README.md
Executable file → Normal file
136
README.md
Executable file → Normal file
@@ -1,93 +1,67 @@
|
||||
# emailtemplate
|
||||
# Papa-Kind-Treff
|
||||
|
||||
Stand: 2026-07-22
|
||||
|
||||
Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter mit Fokus auf lokale Treffen, Community-Austausch und einen geschützten Mitgliederbereich.
|
||||
|
||||
## Getting started
|
||||
## Produktumfang
|
||||
- lokale Events und Treffen finden
|
||||
- Community/Forum mit Kategorien, Boards, Threads und Antworten
|
||||
- Mitgliederbereich für Profil, optionale Kinderinfos und eigene Termine
|
||||
- Community-Moderation mit Rollenmodell
|
||||
|
||||
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
||||
## Aktueller Stand
|
||||
- Startseite mit Hero, Suche, Event-Karussell, Community-Vorschau und Mitgliederbereichs-Block
|
||||
- Community mit Board-Navigation und separater Thread-Ansicht
|
||||
- Community-Admin-Bereich für Bewerbungen, Meldungen, Rollen und Migration
|
||||
- Impressum, Datenschutz-&-Cookies-Seite und Über-uns
|
||||
- standortbasierte Sortierung für die neuesten Treffen
|
||||
- Standortpräferenz im Profil
|
||||
- Consent-Manager für Analyse und externe Dienste
|
||||
- Navigation aktuell mit `Home`, `Suche`, `Community`
|
||||
- eingeloggte Nutzer sehen rechts ein Profil-Menü statt separater `Dashboard`-/`Logout`-Buttons
|
||||
- Debug-Floating-Button nur für `site_admin` im Debug-Modus
|
||||
|
||||
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
||||
## Technik
|
||||
- Einstieg: `public/index.php`
|
||||
- Templates: `partials/`
|
||||
- App-Logik: `src/App/`
|
||||
- Assets: `public/assets/`
|
||||
- Datenbankschema: `schema.sql`
|
||||
|
||||
## Add your files
|
||||
## Rollen
|
||||
- `forum_admin`
|
||||
- `site_admin`
|
||||
- `owner`
|
||||
|
||||
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
||||
- [ ] [Add files using the command line](https://docs.gitlab.com/topics/git/add_files/#add-files-to-a-git-repository) or push an existing Git repository with the following command:
|
||||
Die Rechteverteilung und Community-Logik sind in `src/App/CommunityAccess.php` abgebildet.
|
||||
|
||||
```
|
||||
cd existing_repo
|
||||
git remote add origin https://gitlab.int.kusche.berlin/freemium_projects/papa-kind-treff.git
|
||||
git branch -M main
|
||||
git push -uf origin main
|
||||
```
|
||||
## Consent und rechtlich relevante Integrationen
|
||||
Der aktuelle Code nutzt oder kann nutzen:
|
||||
- notwendige Session-/Client-Cookies
|
||||
- Matomo (`analytics`)
|
||||
- Browser-Geolocation (`external_services`)
|
||||
- lokale Standortspeicherung via Cookie, `localStorage`, `sessionStorage` (`external_services`)
|
||||
- Leaflet von `unpkg.com` (`external_services`)
|
||||
- OpenStreetMap Nominatim (`external_services`)
|
||||
|
||||
## Integrate with your tools
|
||||
Wichtig:
|
||||
- Nicht notwendige Analyse- und Drittanbieterfunktionen dürfen erst nach Einwilligung aktiv werden.
|
||||
- Änderungen an Cookies, Tracking oder Drittanbietern müssen immer auch in Consent und rechtlichen Hinweisen nachgezogen werden.
|
||||
|
||||
- [ ] [Set up project integrations](https://gitlab.int.kusche.berlin/emailtemplate/emailtemplate/-/settings/integrations)
|
||||
## Dokumentationspflicht bei Änderungen
|
||||
Bei jeder Änderung im Projekt immer mitprüfen und bei Bedarf aktualisieren:
|
||||
- `README.md`
|
||||
- `.projectstructure.txt`
|
||||
- `PROJECT_CONTEXT.md`
|
||||
|
||||
## Collaborate with your team
|
||||
Zusätzlich bei neuen Cookies, Tracking-Mechanismen oder Drittanbietern:
|
||||
- Consent-Manager anpassen
|
||||
- rechtliche Hinweise/Datenschutztexte ergänzen
|
||||
- technische Opt-in-/Opt-out-Logik prüfen
|
||||
|
||||
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
||||
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
||||
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
||||
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
||||
- [ ] [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)
|
||||
|
||||
## Test and Deploy
|
||||
|
||||
Use the built-in continuous integration in GitLab.
|
||||
|
||||
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)
|
||||
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
||||
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
||||
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
||||
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
||||
|
||||
***
|
||||
|
||||
# Editing this README
|
||||
|
||||
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
||||
|
||||
## Suggestions for a good README
|
||||
|
||||
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
||||
|
||||
## Name
|
||||
Papa-Kind-Treff
|
||||
|
||||
## Description
|
||||
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
||||
|
||||
## Badges
|
||||
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
||||
|
||||
## Visuals
|
||||
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
||||
|
||||
## Installation
|
||||
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
||||
|
||||
## Usage
|
||||
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
||||
|
||||
## Support
|
||||
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
||||
|
||||
## Roadmap
|
||||
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
||||
|
||||
## Contributing
|
||||
State if you are open to contributions and what your requirements are for accepting them.
|
||||
|
||||
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
||||
|
||||
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
||||
|
||||
## Authors and acknowledgment
|
||||
Show your appreciation to those who have contributed to the project.
|
||||
|
||||
## License
|
||||
For open source projects, say how it is licensed.
|
||||
|
||||
## Project status
|
||||
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
||||
## Dateien für neue Chats
|
||||
Für spätere Chats als Einstieg besonders wichtig:
|
||||
- `README.md`
|
||||
- `.projectstructure.txt`
|
||||
- `PROJECT_CONTEXT.md`
|
||||
|
||||
@@ -462,6 +462,11 @@ $allowNoKidsChecked = $editEvent ? ((int)$editEvent['allow_kids'] === 0) : false
|
||||
let map, marker;
|
||||
|
||||
function ensureLeaflet(callback) {
|
||||
if (!window.PKTConsent || !window.PKTConsent.has('external_services')) {
|
||||
alert('Für Karten und Adresssuche bitte zuerst die externen Dienste in den Cookie-Einstellungen erlauben.');
|
||||
window.PKTConsent?.openPreferences?.();
|
||||
return;
|
||||
}
|
||||
if (window.L) { callback(); return; }
|
||||
const css = document.createElement('link');
|
||||
css.rel = 'stylesheet';
|
||||
@@ -508,6 +513,7 @@ $allowNoKidsChecked = $editEvent ? ((int)$editEvent['allow_kids'] === 0) : false
|
||||
}
|
||||
|
||||
function reverseGeocode(lat, lng) {
|
||||
if (!window.PKTConsent || !window.PKTConsent.has('external_services')) return;
|
||||
fetch(`https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=${encodeURIComponent(lat)}&lon=${encodeURIComponent(lng)}`, {
|
||||
headers: { 'Accept-Language': 'de', 'User-Agent': 'papa-kind-treff/1.0' },
|
||||
})
|
||||
@@ -517,6 +523,11 @@ $allowNoKidsChecked = $editEvent ? ((int)$editEvent['allow_kids'] === 0) : false
|
||||
}
|
||||
|
||||
function geocodeAndPlace(query) {
|
||||
if (!window.PKTConsent || !window.PKTConsent.has('external_services')) {
|
||||
alert('Für Karten und Adresssuche bitte zuerst die externen Dienste in den Cookie-Einstellungen erlauben.');
|
||||
window.PKTConsent?.openPreferences?.();
|
||||
return;
|
||||
}
|
||||
fetch('https://nominatim.openstreetmap.org/search?format=jsonv2&limit=1&q=' + encodeURIComponent(query), {
|
||||
headers: { 'Accept-Language': 'de', 'User-Agent': 'papa-kind-treff/1.0' },
|
||||
})
|
||||
|
||||
@@ -140,6 +140,11 @@ if ($pdo && ($q !== '' || $loc !== '' || ($lat !== null && $lng !== null))) {
|
||||
}
|
||||
|
||||
function ensureLeaflet(cb) {
|
||||
if (!window.PKTConsent || !window.PKTConsent.has('external_services')) {
|
||||
alert('Für Karten- und Standortfunktionen bitte zuerst die externen Dienste in den Cookie-Einstellungen erlauben.');
|
||||
window.PKTConsent?.openPreferences?.();
|
||||
return;
|
||||
}
|
||||
if (window.L) { cb(); return; }
|
||||
const css = document.createElement('link');
|
||||
css.rel = 'stylesheet';
|
||||
@@ -188,6 +193,11 @@ if ($pdo && ($q !== '' || $loc !== '' || ($lat !== null && $lng !== null))) {
|
||||
});
|
||||
|
||||
btnGeo?.addEventListener('click', () => {
|
||||
if (!window.PKTConsent || !window.PKTConsent.has('external_services')) {
|
||||
alert('Für Standortfunktionen bitte zuerst die externen Dienste in den Cookie-Einstellungen erlauben.');
|
||||
window.PKTConsent?.openPreferences?.();
|
||||
return;
|
||||
}
|
||||
if (!navigator.geolocation) {
|
||||
alert('Geolocation wird nicht unterstützt.');
|
||||
return;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<div class="container site-footer__inner">
|
||||
<nav class="site-footer__links" aria-label="Footer">
|
||||
<a href="/impressum">Impressum</a>
|
||||
<a href="/datenschutz">Datenschutz & Cookies</a>
|
||||
<a href="/ueber-uns">Über uns</a>
|
||||
<button class="site-footer__link-button" type="button" data-consent-open>Cookie-Einstellungen</button>
|
||||
</nav>
|
||||
|
||||
@@ -14,15 +14,21 @@ if (!in_array($childGender, ['male', 'female', 'mixed'], true)) {
|
||||
|
||||
$debugEnabled = defined('APP_DEBUG') && APP_DEBUG === true;
|
||||
$locationTrackingPreference = 'prompt';
|
||||
$showDebugTools = false;
|
||||
if (isset($_SESSION['user_id'])) {
|
||||
try {
|
||||
$pdo = $app->pdo();
|
||||
if ($pdo) {
|
||||
$profileSettings = new \App\ProfileSettings($pdo);
|
||||
$locationTrackingPreference = $profileSettings->getLocationTrackingPreference((int)$_SESSION['user_id']);
|
||||
$communityCfg = dirname(__DIR__, 2) . '/config/community.php';
|
||||
$communityConfig = file_exists($communityCfg) ? require $communityCfg : [];
|
||||
$communityAccess = new \App\CommunityAccess($pdo, $communityConfig);
|
||||
$showDebugTools = $debugEnabled && $communityAccess->hasRole((int)$_SESSION['user_id'], 'site_admin');
|
||||
}
|
||||
} catch (\Throwable) {
|
||||
$locationTrackingPreference = 'prompt';
|
||||
$showDebugTools = false;
|
||||
}
|
||||
}
|
||||
$debugFiles = [];
|
||||
@@ -158,7 +164,7 @@ if ($debugEnabled) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($debugEnabled): ?>
|
||||
<?php if ($showDebugTools): ?>
|
||||
<style>
|
||||
.debug-fab { position: fixed; right: 18px; bottom: 18px; z-index: 200; background:#111827; color:#fff; border:none; border-radius: 999px; width: 52px; height:52px; display:flex; align-items:center; justify-content:center; font-size:24px; box-shadow:0 10px 30px rgba(0,0,0,0.2); cursor:pointer; }
|
||||
.debug-modal { position:fixed; inset:0; background: rgba(0,0,0,0.4); display:none; align-items:center; justify-content:center; z-index: 210; padding:16px; }
|
||||
|
||||
@@ -1,7 +1,27 @@
|
||||
<?php
|
||||
$app = app();
|
||||
$isLoggedIn = isset($_SESSION['user_id']);
|
||||
$isDebug = defined('APP_DEBUG') && APP_DEBUG === true;
|
||||
$displayName = 'Profil';
|
||||
$profileInitial = 'P';
|
||||
|
||||
if ($isLoggedIn) {
|
||||
try {
|
||||
$pdo = $app->pdo();
|
||||
if ($pdo) {
|
||||
$stmt = $pdo->prepare('SELECT display_name, first_name FROM user_profiles WHERE user_id = :id LIMIT 1');
|
||||
$stmt->execute(['id' => (int)$_SESSION['user_id']]);
|
||||
$profileRow = $stmt->fetch(PDO::FETCH_ASSOC) ?: [];
|
||||
$displayName = trim((string)($profileRow['display_name'] ?? '')) ?: trim((string)($profileRow['first_name'] ?? '')) ?: 'Profil';
|
||||
$firstChar = mb_substr($displayName, 0, 1);
|
||||
if ($firstChar !== '') {
|
||||
$profileInitial = mb_strtoupper($firstChar);
|
||||
}
|
||||
}
|
||||
} catch (\Throwable) {
|
||||
$displayName = 'Profil';
|
||||
$profileInitial = 'P';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<header class="site-header">
|
||||
<div class="container nav-row">
|
||||
@@ -15,16 +35,21 @@ $isDebug = defined('APP_DEBUG') && APP_DEBUG === true;
|
||||
<nav class="nav-links" aria-label="Hauptmenü">
|
||||
<a href="/">Home</a>
|
||||
<a href="/search">Suche</a>
|
||||
<a href="/#events" data-nav-events>Termine</a>
|
||||
<a href="/community">Community</a>
|
||||
</nav>
|
||||
<div class="nav-actions">
|
||||
<?php if ($isLoggedIn): ?>
|
||||
<a class="btn ghost" href="/dashboard">Dashboard</a>
|
||||
<a class="btn ghost" href="/logout">Logout</a>
|
||||
<?php if ($isDebug): ?>
|
||||
<a class="btn ghost" href="/debug">Debug</a>
|
||||
<?php endif; ?>
|
||||
<div class="profile-menu" data-profile-menu>
|
||||
<button class="profile-menu__trigger" type="button" aria-haspopup="menu" aria-expanded="false" data-profile-menu-trigger>
|
||||
<span class="profile-menu__avatar" aria-hidden="true"><?= htmlspecialchars($profileInitial, ENT_QUOTES) ?></span>
|
||||
<span class="profile-menu__name"><?= htmlspecialchars($displayName, ENT_QUOTES) ?></span>
|
||||
</button>
|
||||
<div class="profile-menu__dropdown" role="menu">
|
||||
<a href="/dashboard" role="menuitem">Übersicht</a>
|
||||
<a href="/dashboard" role="menuitem">Mitgliederbereich</a>
|
||||
<a href="/logout" role="menuitem">Abmelden</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<a class="btn ghost" href="/login">Anmelden</a>
|
||||
<a class="btn" href="/register">Kostenlos registrieren</a>
|
||||
@@ -35,14 +60,11 @@ $isDebug = defined('APP_DEBUG') && APP_DEBUG === true;
|
||||
<div class="mobile-menu" id="mobileMenu">
|
||||
<a href="/">Home</a>
|
||||
<a href="/search">Suche</a>
|
||||
<a href="/#events" data-nav-events>Termine</a>
|
||||
<a href="/community">Community</a>
|
||||
<?php if ($isLoggedIn): ?>
|
||||
<a class="btn ghost" href="/dashboard">Dashboard</a>
|
||||
<a class="btn block" href="/logout">Logout</a>
|
||||
<?php if ($isDebug): ?>
|
||||
<a class="btn ghost block" href="/debug">Debug</a>
|
||||
<?php endif; ?>
|
||||
<a class="btn ghost" href="/dashboard">Übersicht</a>
|
||||
<a class="btn ghost" href="/dashboard">Mitgliederbereich</a>
|
||||
<a class="btn block" href="/logout">Abmelden</a>
|
||||
<?php else: ?>
|
||||
<a class="btn ghost" href="/login">Anmelden</a>
|
||||
<a class="btn block" href="/register">Kostenlos registrieren</a>
|
||||
|
||||
@@ -49,6 +49,15 @@ body {
|
||||
.nav-links a:hover { color: var(--color-primary); }
|
||||
|
||||
.nav-actions { display: flex; align-items: center; gap: 10px; }
|
||||
.profile-menu { position: relative; }
|
||||
.profile-menu__trigger { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--color-text); cursor: pointer; font: inherit; }
|
||||
.profile-menu__trigger:hover { border-color: var(--color-primary); }
|
||||
.profile-menu__avatar { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: var(--color-primary-contrast); font-weight: 700; }
|
||||
.profile-menu__name { font-weight: 600; }
|
||||
.profile-menu__dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; padding: 10px; display: none; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
|
||||
.profile-menu.is-open .profile-menu__dropdown { display: grid; gap: 4px; }
|
||||
.profile-menu__dropdown a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--color-text); }
|
||||
.profile-menu__dropdown a:hover { background: #f8f4ec; color: var(--color-primary); }
|
||||
.menu-toggle { display: none; background: transparent; border: 1px solid var(--color-border); padding: 8px 10px; border-radius: var(--radius-sm); }
|
||||
.mobile-menu { display: none; padding: 12px 16px; border-top: 1px solid var(--color-border); background: #fff; }
|
||||
.mobile-menu a, .mobile-menu button { display: block; width: 100%; text-align: left; margin-bottom: 10px; }
|
||||
@@ -56,7 +65,8 @@ body {
|
||||
@media (max-width: 900px){
|
||||
.nav-links { display: none; }
|
||||
.menu-toggle { display: inline-flex; }
|
||||
.nav-actions .btn { display: none; }
|
||||
.nav-actions .btn,
|
||||
.profile-menu { display: none; }
|
||||
.mobile-menu.open { display: block; }
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const locationPreference = body.dataset.locationPreference || 'prompt';
|
||||
const header = document.querySelector('.site-header');
|
||||
const headerSentinel = document.getElementById('headerSentinel');
|
||||
const matomoConfigNode = document.getElementById('matomoConfig');
|
||||
const consentStateKey = 'pkt_cookie_consent';
|
||||
let matomoLoaded = false;
|
||||
|
||||
// Logo-Logik
|
||||
const pickLogo = (gender) => {
|
||||
@@ -41,6 +44,19 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
mobileMenu?.classList.toggle('open');
|
||||
});
|
||||
});
|
||||
const profileMenu = document.querySelector('[data-profile-menu]');
|
||||
const profileMenuTrigger = document.querySelector('[data-profile-menu-trigger]');
|
||||
profileMenuTrigger?.addEventListener('click', () => {
|
||||
const next = !profileMenu?.classList.contains('is-open');
|
||||
profileMenu?.classList.toggle('is-open', next);
|
||||
profileMenuTrigger.setAttribute('aria-expanded', next ? 'true' : 'false');
|
||||
});
|
||||
document.addEventListener('click', (event) => {
|
||||
if (!profileMenu || !profileMenuTrigger) return;
|
||||
if (profileMenu.contains(event.target)) return;
|
||||
profileMenu.classList.remove('is-open');
|
||||
profileMenuTrigger.setAttribute('aria-expanded', 'false');
|
||||
});
|
||||
|
||||
// Scroll zu Events
|
||||
const scrollBtn = document.getElementById('scrollToEvents');
|
||||
@@ -78,8 +94,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
quickGeo: document.getElementById('quickGeo'),
|
||||
eventsSection: document.getElementById('events'),
|
||||
locationPreferenceModal: document.getElementById('locationPreferenceModal'),
|
||||
consentBanner: document.getElementById('cookieConsentBanner'),
|
||||
consentModal: document.getElementById('cookieConsentModal'),
|
||||
consentAnalytics: document.getElementById('consentAnalytics'),
|
||||
consentExternalServices: document.getElementById('consentExternalServices'),
|
||||
};
|
||||
let effectiveLocationPreference = locationPreference;
|
||||
let consentState = null;
|
||||
|
||||
const fmtDate = (iso) => {
|
||||
const d = new Date(iso);
|
||||
@@ -88,6 +109,127 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
const now = () => new Date();
|
||||
|
||||
const deleteCookie = (name) => {
|
||||
document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; SameSite=Lax`;
|
||||
};
|
||||
|
||||
const readConsent = () => {
|
||||
try {
|
||||
const raw = window.localStorage.getItem(consentStateKey);
|
||||
if (!raw) return null;
|
||||
const parsed = JSON.parse(raw);
|
||||
if (!parsed || typeof parsed !== 'object') return null;
|
||||
return {
|
||||
necessary: true,
|
||||
analytics: Boolean(parsed.analytics),
|
||||
external_services: Boolean(parsed.external_services),
|
||||
updatedAt: parsed.updatedAt || null,
|
||||
};
|
||||
} catch (err) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
const writeConsent = (nextState) => {
|
||||
consentState = {
|
||||
necessary: true,
|
||||
analytics: Boolean(nextState.analytics),
|
||||
external_services: Boolean(nextState.external_services),
|
||||
updatedAt: new Date().toISOString(),
|
||||
};
|
||||
try {
|
||||
window.localStorage.setItem(consentStateKey, JSON.stringify(consentState));
|
||||
} catch (err) {
|
||||
// ignore
|
||||
}
|
||||
window.PKTConsent = window.PKTConsent || {};
|
||||
window.PKTConsent.get = () => consentState;
|
||||
window.PKTConsent.has = (category) => {
|
||||
if (category === 'necessary') return true;
|
||||
return Boolean(consentState?.[category]);
|
||||
};
|
||||
};
|
||||
|
||||
const closeConsentModal = () => {
|
||||
el.consentModal?.classList.remove('open');
|
||||
};
|
||||
|
||||
const openConsentModal = () => {
|
||||
if (el.consentAnalytics) el.consentAnalytics.checked = Boolean(consentState?.analytics);
|
||||
if (el.consentExternalServices) el.consentExternalServices.checked = Boolean(consentState?.external_services);
|
||||
el.consentModal?.classList.add('open');
|
||||
};
|
||||
|
||||
const deleteMatomoCookies = () => {
|
||||
['_pk_id', '_pk_ses', '_pk_ref', '_pk_cvar', 'mtm_consent', 'mtm_consent_removed'].forEach((prefix) => {
|
||||
deleteCookie(prefix);
|
||||
const hostParts = window.location.hostname.split('.');
|
||||
while (hostParts.length > 1) {
|
||||
document.cookie = `${prefix}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.${hostParts.join('.')}; SameSite=Lax`;
|
||||
hostParts.shift();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const loadMatomo = () => {
|
||||
if (matomoLoaded || !matomoConfigNode || !consentState?.analytics) return;
|
||||
try {
|
||||
const cfg = JSON.parse(matomoConfigNode.textContent || '{}');
|
||||
if (!cfg.url || !cfg.siteId) return;
|
||||
const _paq = window._paq = window._paq || [];
|
||||
_paq.push(['setDomains', Array.isArray(cfg.domains) ? cfg.domains : []]);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
_paq.push(['setTrackerUrl', cfg.url + 'matomo.php']);
|
||||
_paq.push(['setSiteId', cfg.siteId]);
|
||||
const script = document.createElement('script');
|
||||
script.async = true;
|
||||
script.src = cfg.url + 'matomo.js';
|
||||
document.head.appendChild(script);
|
||||
matomoLoaded = true;
|
||||
} catch (err) {
|
||||
// ignore
|
||||
}
|
||||
};
|
||||
|
||||
const showConsentBannerIfNeeded = () => {
|
||||
if (!consentState && el.consentBanner) {
|
||||
el.consentBanner.removeAttribute('hidden');
|
||||
}
|
||||
};
|
||||
|
||||
const applyConsent = (nextState, options = {}) => {
|
||||
const previous = consentState;
|
||||
writeConsent(nextState);
|
||||
if (!consentState.external_services) {
|
||||
clearStoredLocation();
|
||||
}
|
||||
if (!consentState.analytics) {
|
||||
deleteMatomoCookies();
|
||||
} else {
|
||||
loadMatomo();
|
||||
}
|
||||
el.consentBanner?.setAttribute('hidden', 'hidden');
|
||||
closeConsentModal();
|
||||
|
||||
if (previous && options.reloadOnChange !== false) {
|
||||
const analyticsChanged = previous.analytics !== consentState.analytics;
|
||||
const externalChanged = previous.external_services !== consentState.external_services;
|
||||
if (analyticsChanged || externalChanged) {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const requireExternalServicesConsent = (message = 'Für diese Funktion werden externe Dienste benötigt.') => {
|
||||
if (consentState?.external_services) {
|
||||
return true;
|
||||
}
|
||||
alert(message);
|
||||
openConsentModal();
|
||||
return false;
|
||||
};
|
||||
|
||||
const setCookie = (name, value, days = 30) => {
|
||||
const expires = new Date(Date.now() + (days * 86400000)).toUTCString();
|
||||
document.cookie = `${name}=${encodeURIComponent(value)}; expires=${expires}; path=/; SameSite=Lax`;
|
||||
@@ -142,7 +284,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
} catch (err) {
|
||||
// ignore
|
||||
}
|
||||
document.cookie = 'pkt_user_location=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; SameSite=Lax';
|
||||
deleteCookie('pkt_user_location');
|
||||
if (el.quickLat) el.quickLat.value = '';
|
||||
if (el.quickLng) el.quickLng.value = '';
|
||||
if (el.quickLoc) el.quickLoc.value = '';
|
||||
@@ -465,6 +607,10 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
renderSlider(null);
|
||||
return null;
|
||||
}
|
||||
if (!requireExternalServicesConsent('Für standortbezogene Treffen werden Standort- und Kartendienste erst nach deiner Einwilligung aktiviert.')) {
|
||||
renderSlider(null);
|
||||
return null;
|
||||
}
|
||||
|
||||
const stored = applyStoredLocationToForm();
|
||||
if (stored && effectiveLocationPreference !== 'enabled' && sessionPreference !== 'session') {
|
||||
@@ -511,6 +657,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
};
|
||||
|
||||
el.quickGeo?.addEventListener('click', () => {
|
||||
if (!requireExternalServicesConsent('Für die Standortermittlung benötigen wir deine Einwilligung zu externen Diensten und Standortfunktionen.')) {
|
||||
return;
|
||||
}
|
||||
if (!navigator.geolocation) {
|
||||
alert('Geolocation wird nicht unterstützt.');
|
||||
return;
|
||||
@@ -554,6 +703,28 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
btn.addEventListener('click', () => el.modal?.classList.remove('open'));
|
||||
});
|
||||
el.modal?.addEventListener('click', (e) => { if (e.target === el.modal) el.modal.classList.remove('open'); });
|
||||
document.querySelectorAll('[data-consent-open]').forEach(btn => {
|
||||
btn.addEventListener('click', openConsentModal);
|
||||
});
|
||||
document.querySelectorAll('[data-consent-close]').forEach(btn => {
|
||||
btn.addEventListener('click', closeConsentModal);
|
||||
});
|
||||
document.querySelectorAll('[data-consent-necessary]').forEach(btn => {
|
||||
btn.addEventListener('click', () => applyConsent({ analytics: false, external_services: false }));
|
||||
});
|
||||
document.querySelector('[data-consent-accept-all]')?.addEventListener('click', () => {
|
||||
applyConsent({ analytics: true, external_services: true });
|
||||
});
|
||||
document.querySelector('[data-consent-save]')?.addEventListener('click', () => {
|
||||
applyConsent({
|
||||
analytics: Boolean(el.consentAnalytics?.checked),
|
||||
external_services: Boolean(el.consentExternalServices?.checked),
|
||||
});
|
||||
});
|
||||
el.consentModal?.addEventListener('click', (e) => {
|
||||
if (e.target === el.consentModal) closeConsentModal();
|
||||
});
|
||||
document.addEventListener('pkt:open-consent', openConsentModal);
|
||||
|
||||
document.querySelectorAll('[data-nav-events]').forEach(link => {
|
||||
link.addEventListener('click', async () => {
|
||||
@@ -563,6 +734,12 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
});
|
||||
|
||||
consentState = readConsent();
|
||||
if (consentState?.analytics) {
|
||||
loadMatomo();
|
||||
}
|
||||
showConsentBannerIfNeeded();
|
||||
|
||||
try {
|
||||
if (!isLoggedIn) {
|
||||
const guestPreference = window.localStorage.getItem('pkt_location_preference_guest');
|
||||
@@ -581,7 +758,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
renderSlider(initialLocation);
|
||||
renderThreadSlider();
|
||||
|
||||
if (effectiveLocationPreference === 'enabled' && window.location.pathname === '/') {
|
||||
if (effectiveLocationPreference === 'enabled' && window.location.pathname === '/' && consentState?.external_services) {
|
||||
ensureEventsLocation();
|
||||
} else if (window.location.hash === '#events' || window.location.hash === '#quicksearch') {
|
||||
ensureEventsLocation();
|
||||
|
||||
195
public/page/datenschutz.php
Normal file
195
public/page/datenschutz.php
Normal file
@@ -0,0 +1,195 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
$app = app();
|
||||
$config = $app->config();
|
||||
$sessionCookie = $config->cookiePrefix() . 'session';
|
||||
$clientCookie = $config->cookiePrefix() . 'client';
|
||||
?>
|
||||
<main class="container section legal-page">
|
||||
<div class="content-card content-card--narrow page-copy">
|
||||
<h1>Datenschutz & Cookies</h1>
|
||||
<p class="muted small">Stand: 22. Juli 2026</p>
|
||||
|
||||
<p>
|
||||
Diese Hinweise erklären, welche personenbezogenen Daten beim Besuch und bei der Nutzung von Papa-Kind-Treff
|
||||
verarbeitet werden, wofür dies geschieht und welche Auswahlmöglichkeiten du bei Cookies, Analyse und externen Diensten hast.
|
||||
</p>
|
||||
|
||||
<section>
|
||||
<h2>1. Verantwortlicher</h2>
|
||||
<p>
|
||||
Lars Gebhardt-Kusche<br>
|
||||
Hammerstraße 47B<br>
|
||||
14167 Berlin
|
||||
</p>
|
||||
<p>
|
||||
E-Mail: <a href="mailto:rechtliches@papa-kind-treff.info">rechtliches@papa-kind-treff.info</a><br>
|
||||
Telefon: +49 (171) 33 10 538
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>2. Aufruf der Website</h2>
|
||||
<p>
|
||||
Beim rein informatorischen Besuch der Website verarbeitet der Server technisch notwendige Verbindungsdaten,
|
||||
zum Beispiel aufgerufene Adresse, Datum und Uhrzeit, übertragene Datenmenge, Browser-Informationen,
|
||||
Referrer und IP-Adresse. Diese Verarbeitung ist erforderlich, um die Website auszuliefern,
|
||||
Stabilität und Sicherheit sicherzustellen und Missbrauch abzuwehren.
|
||||
</p>
|
||||
<p>
|
||||
Rechtsgrundlage ist Art. 6 Abs. 1 lit. f DSGVO. Soweit auf Informationen in deinem Endgerät zugegriffen wird,
|
||||
richtet sich dies zusätzlich nach § 25 TDDDG.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>3. Registrierung, Login und Mitgliederbereich</h2>
|
||||
<p>
|
||||
Wenn du ein Konto anlegst oder den Mitgliederbereich nutzt, verarbeiten wir die dafür notwendigen Daten,
|
||||
insbesondere E-Mail-Adresse, Passwort-Hash, Verifikationsstatus sowie die von dir gepflegten Profilangaben.
|
||||
Dazu können Anzeigename, Name, Ort, Sprachen, Kurzbeschreibung, optionale Kinderangaben,
|
||||
eigene Events, Event-Teilnahmen und Community-Inhalte gehören.
|
||||
</p>
|
||||
<p>
|
||||
Rechtsgrundlage ist Art. 6 Abs. 1 lit. b DSGVO, soweit die Verarbeitung für die Durchführung des
|
||||
Nutzungsverhältnisses erforderlich ist.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>4. Community, Beiträge und Events</h2>
|
||||
<p>
|
||||
Wenn du Themen, Antworten oder Termine veröffentlichst, werden diese Inhalte mit deinem Konto verknüpft und
|
||||
entsprechend der jeweiligen Sichtbarkeit innerhalb der Plattform angezeigt. Moderationsvorgänge wie Meldungen,
|
||||
Rollen, Bewerbungen oder Community-Sperren werden verarbeitet, soweit dies für den Betrieb einer sicheren und
|
||||
funktionsfähigen Community erforderlich ist.
|
||||
</p>
|
||||
<p>
|
||||
Rechtsgrundlage ist Art. 6 Abs. 1 lit. b DSGVO sowie ergänzend Art. 6 Abs. 1 lit. f DSGVO
|
||||
für den sicheren und geordneten Betrieb der Plattform.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>5. Verschlüsselte und sensible Angaben</h2>
|
||||
<p>
|
||||
Bestimmte Angaben, insbesondere Telefoninformationen und einzelne Kinderdaten, werden nicht nur organisatorisch,
|
||||
sondern zusätzlich verschlüsselt verarbeitet. Das dient dem Schutz besonders sensibler Angaben innerhalb der Plattform.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>6. Cookies, lokale Speicherung und Sitzungsdaten</h2>
|
||||
<p>
|
||||
Die Website verwendet technisch notwendige Cookies und, je nach deiner Auswahl, weitere lokale Speichermechanismen
|
||||
wie `localStorage` und `sessionStorage`.
|
||||
</p>
|
||||
<p>
|
||||
Aktuell werden insbesondere folgende technisch relevanten Einträge verwendet:
|
||||
</p>
|
||||
<ul class="list">
|
||||
<li>`<?= htmlspecialchars($sessionCookie, ENT_QUOTES) ?>`: Sitzungs-Cookie für Login und geschützte Bereiche</li>
|
||||
<li>`<?= htmlspecialchars($clientCookie, ENT_QUOTES) ?>`: technische Client-Kennung zur Wiedererkennung des Browsers</li>
|
||||
<li>`pkt_cookie_consent`: Speichert deine Auswahl zu Analyse und externen Diensten</li>
|
||||
<li>`pkt_user_location`, `pkt_user_location_session`, `pkt_user_location_session_preference`, `pkt_location_preference_guest`: nur bei Nutzung standortbezogener Funktionen und abhängig von Einwilligung bzw. Auswahl</li>
|
||||
</ul>
|
||||
<p>
|
||||
Technisch notwendige Cookies und Speicherungen werden auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO
|
||||
beziehungsweise Art. 6 Abs. 1 lit. b DSGVO genutzt sowie im Rahmen von § 25 Abs. 2 TDDDG,
|
||||
soweit sie für die Bereitstellung des ausdrücklich gewünschten Dienstes erforderlich sind.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>7. Einwilligungsverwaltung</h2>
|
||||
<p>
|
||||
Für nicht notwendige Funktionen verwenden wir eine eigene Einwilligungsverwaltung. Dort kannst du auswählen,
|
||||
ob Analyse und externe Dienste aktiviert werden dürfen. Deine Auswahl kann jederzeit über den Link
|
||||
„Cookie-Einstellungen“ im Footer geändert werden.
|
||||
</p>
|
||||
<p>
|
||||
Rechtsgrundlage für einwilligungspflichtige Funktionen ist Art. 6 Abs. 1 lit. a DSGVO
|
||||
in Verbindung mit § 25 Abs. 1 TDDDG.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>8. Matomo-Analyse</h2>
|
||||
<p>
|
||||
Sofern du der Kategorie „Analyse“ zustimmst, wird Matomo zur Reichweitenmessung und Nutzungsanalyse eingebunden.
|
||||
Dabei können Nutzungsdaten und technisch erforderliche Analyse-Cookies verarbeitet werden.
|
||||
</p>
|
||||
<p>
|
||||
Matomo wird erst nach deiner Einwilligung geladen. Wenn du die Einwilligung widerrufst,
|
||||
wird die Analyse für künftige Besuche beendet.
|
||||
</p>
|
||||
<p>
|
||||
Empfänger in diesem Zusammenhang ist die Matomo-Instanz unter `matomo.my-statistics.info`.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>9. Standort, Karten und externe Dienste</h2>
|
||||
<p>
|
||||
Wenn du standortbezogene Funktionen nutzt oder freigibst, kann der Browser deinen aktuellen Standort abfragen.
|
||||
Je nach Auswahl wird dieser nur für den aktuellen Besuch oder darüber hinaus lokal gespeichert,
|
||||
damit dir passende Treffen in deiner Nähe angezeigt werden können.
|
||||
</p>
|
||||
<p>
|
||||
Für Karten- und Adressfunktionen werden derzeit externe Dienste genutzt:
|
||||
</p>
|
||||
<ul class="list">
|
||||
<li>`unpkg.com` für die Bereitstellung von Leaflet-Dateien</li>
|
||||
<li>OpenStreetMap Nominatim für Geocoding und Reverse-Geocoding</li>
|
||||
</ul>
|
||||
<p>
|
||||
Diese Funktionen werden erst aktiv, wenn du der Kategorie „Externe Dienste, Karten und Standort“ zugestimmt hast.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>10. Empfänger und Kategorien von Empfängern</h2>
|
||||
<p>
|
||||
Eine Weitergabe erfolgt nur, soweit sie für den Betrieb der Website oder einzelner Funktionen erforderlich ist.
|
||||
Dazu können insbesondere technische Hosting-Dienstleister, E-Mail-Dienstleister,
|
||||
Analyse-Dienstleister sowie die oben genannten externen Karten- und Standortdienste gehören.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>11. Speicherdauer</h2>
|
||||
<p>
|
||||
Wir speichern personenbezogene Daten nur so lange, wie dies für die jeweiligen Zwecke erforderlich ist
|
||||
oder gesetzliche Aufbewahrungspflichten bestehen. Kontodaten, Profilinformationen, Community-Inhalte
|
||||
und Eventdaten bleiben grundsätzlich gespeichert, solange das Konto genutzt wird oder bis eine Löschung
|
||||
beantragt beziehungsweise technisch vorgesehen ist, soweit keine gesetzlichen oder berechtigten Gründe
|
||||
für eine längere Aufbewahrung bestehen.
|
||||
</p>
|
||||
<p>
|
||||
Lokale Einwilligungs- und Standortinformationen werden abhängig von ihrer Funktion entweder sitzungsbezogen
|
||||
oder bis zu einer Änderung oder Löschung im Browser gespeichert.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>12. Deine Rechte</h2>
|
||||
<p>
|
||||
Du hast nach Maßgabe der gesetzlichen Voraussetzungen das Recht auf Auskunft, Berichtigung, Löschung,
|
||||
Einschränkung der Verarbeitung, Datenübertragbarkeit und Widerspruch.
|
||||
Eine erteilte Einwilligung kannst du jederzeit mit Wirkung für die Zukunft widerrufen.
|
||||
</p>
|
||||
<p>
|
||||
Außerdem hast du das Recht, dich bei einer Datenschutz-Aufsichtsbehörde zu beschweren.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>13. Hinweis zur Aktualisierung</h2>
|
||||
<p>
|
||||
Diese Hinweise werden angepasst, wenn sich Funktionen, eingesetzte Dienste oder rechtliche Anforderungen ändern.
|
||||
Insbesondere bei neuen Cookies, Tracking-Technologien oder Drittanbietern wird diese Seite ergänzt.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
Reference in New Issue
Block a user