diff --git a/TODO.md b/TODO.md index a99517e..3866314 100644 --- a/TODO.md +++ b/TODO.md @@ -14,19 +14,19 @@ third-party dependencies. The tasks below are ordered from critical to nice-to-h ## Critical Bugs (broken at runtime) -- [ ] **Fix broken `lib/` require paths in all admin pages** +- [x] **Fix broken `lib/` require paths in all admin pages** Admin pages (`add.php`, `edit.php`, `import.php`, `thanks.php`, `login.php`, `logout.php`, `actions/formulaire.php`, `actions/publish.php`) all require `../../lib/AdminAuth.php` and `../../lib/Database.php`, but the `lib/` directory **does not exist**. The actual files live in `src/`. This means the entire admin panel is broken. Fix: change all `lib/` references to `src/`. -- [ ] **Fix missing `modern-normalize.css` (no `.min` variant)** +- [x] **Fix missing `modern-normalize.css` (no `.min` variant)** `templates/header.php`, `templates/head.php`, and `public/search.php` reference `assets/modern-normalize.css` (without `.min`), but only `modern-normalize.min.css` exists. Either rename the file or update the references to be consistent. -- [ ] **Fix `admin/index.php` inconsistency** +- [x] **Fix `admin/index.php` inconsistency** `admin/index.php` uses `src/AdminAuth.php` (correct) but then `../../lib/Database.php` (broken). It should load from `src/` consistently. diff --git a/public/admin/actions/formulaire.php b/public/admin/actions/formulaire.php index 0efd75f..a8c1260 100644 --- a/public/admin/actions/formulaire.php +++ b/public/admin/actions/formulaire.php @@ -1,7 +1,7 @@ Recherche - Posterg - + diff --git a/templates/head.php b/templates/head.php index a0121c4..e2439dc 100644 --- a/templates/head.php +++ b/templates/head.php @@ -7,7 +7,7 @@ <?= isset($pageTitle) ? htmlspecialchars($pageTitle) . ' - Posterg' : 'Posterg' ?> - + diff --git a/templates/header.php b/templates/header.php index 1099efe..9f46bbe 100644 --- a/templates/header.php +++ b/templates/header.php @@ -8,7 +8,7 @@ Posterg - +