Lehrplan: Country-Helper + Landeinstellung live
- App/php/lib/Country.php: Kaskade session → classes → teachers → cookie → 'AT', Helper current()/flag()/label()/allCountries() - App/php/api/country.php: GET + POST /api/country - country-Spalten in teachers, classes, student_sessions (idempotent) - Native-<select>-Picker im Header aller öffentlichen Seiten (modul-*.php, lehrplan.php, simulationen.php) - Footer-Links "Andere Länder: 🇨🇭 🇩🇪 🇱🇮" - lehrplan.php liest Default-Filter jetzt aus Country::current() - iPad-freundlich: Native Select gibt Wheel-Picker auf iOS, Touch-Ziel >=40px Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -404,6 +404,7 @@ $countryMeta = [
|
||||
<?php if ($easyActive): ?>
|
||||
<span class="md-btn-sm md-easy-pill" title="Leichte Sprache ist aktiv">🟢 Leichte Sprache</span>
|
||||
<?php endif; ?>
|
||||
<?php include __DIR__ . '/country_picker.php'; ?>
|
||||
<a href="<?= $bp ?>/pages/simulationen.php" class="md-btn-sm">Alle Simulationen</a>
|
||||
<a href="<?= $bp ?>/pages/lehrplan.php" class="md-btn-sm">Lehrplan</a>
|
||||
<a href="<?= $bp ?>/glossar" class="md-btn-sm">Glossar</a>
|
||||
@@ -631,6 +632,7 @@ $countryMeta = [
|
||||
<a href="<?= $bp ?>/impressum.html">Impressum</a> ·
|
||||
<a href="<?= $bp ?>/datenschutz.html">Datenschutz</a>
|
||||
</div>
|
||||
<?php include __DIR__ . '/country_footer.php'; ?>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user