Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style

This commit is contained in:
2026-02-27 22:47:08 +01:00
committed by erik
parent 5a70f775f1
commit 93faae5cc8
1463 changed files with 306917 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
// Redirect to new unified EÜR page
require_once __DIR__ . '/../src/config.php';
require_once __DIR__ . '/../src/journal_functions.php';
// Get year from year_id parameter for backwards compatibility
$year = date('Y');
if (isset($_GET['year_id'])) {
$year_id = (int)$_GET['year_id'];
$years = get_journal_years();
foreach ($years as $y) {
if ($y['id'] == $year_id) {
$year = (int)$y['year'];
break;
}
}
}
header('Location: ' . url_for('euer.php?year=' . $year));
exit;