Files
usbcheck.it/public/login/index.php
2025-11-21 00:56:12 +01:00

31 lines
836 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
// Error-Output für Entwicklung
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require __DIR__ . '/../../src/functions.php';
// Sprachlogik:
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
// (später: User-Dummy durch echte Session ersetzen)
$userInitials = null;
// Seitentitel & Description für das Layout
$pageTitle = 'Login usbcheck.it';
$pageDescription = 'Melde dich bei USBCheck an, um Tests zu speichern, Pro-Modus zu nutzen und mehrere Geräte zu verwalten.';
// Für die Login-Seite brauchen wir typischerweise keine Sektionen-Navigation
$navAnchors = [];
// Layout-Start
tpl('layout_start', 'structure');
// Login-/Register-Section
tpl('login', 'landing', 'login');
// Layout-Ende
tpl('layout_end', 'structure');