diff --git a/App/pages/_partials/country_footer.php b/App/pages/_partials/country_footer.php new file mode 100644 index 0000000..51a91a9 --- /dev/null +++ b/App/pages/_partials/country_footer.php @@ -0,0 +1,38 @@ + $c !== $current); +?> +
+ Andere Länder: + + + + + +
+ + diff --git a/App/pages/_partials/country_picker.php b/App/pages/_partials/country_picker.php new file mode 100644 index 0000000..8e4a3dd --- /dev/null +++ b/App/pages/_partials/country_picker.php @@ -0,0 +1,93 @@ + im Header + * ------------------------------------------- + * Wird per include in den Modul-/Lehrplan-/Simulationen-Seiten eingebunden. + * + * Erwartet im eltern-Scope: + * $bp BASE_PATH + * + * Beim Ändern: + * - POST auf /php/api/country.php (Session + Cookie) + * - Fallback: Cookie via JS + * - Seite wird neu geladen, damit alle Server-seitigen Filter greifen + */ + +require_once __DIR__ . '/../../php/lib/Country.php'; + +if (!isset($bp)) $bp = defined('BASE_PATH') ? BASE_PATH : ''; +$currentCountry = Country::current(); +?> +
+ + +
+ + + + diff --git a/App/pages/_partials/modul_detail.php b/App/pages/_partials/modul_detail.php index e6fffda..d128a03 100644 --- a/App/pages/_partials/modul_detail.php +++ b/App/pages/_partials/modul_detail.php @@ -404,6 +404,7 @@ $countryMeta = [ 🟢 Leichte Sprache + Alle Simulationen Lehrplan Glossar @@ -631,6 +632,7 @@ $countryMeta = [ Impressum · Datenschutz +