From b4ee8fa6e0c38deee5273d5b0c268a57eaf5f39a Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Thu, 30 Apr 2026 15:57:38 +0200 Subject: [PATCH] added admin.js for javascript refractoring of moderation portal --- public/index.php | 4 +--- public/js/admin.js | 0 public/js/app.js | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 public/js/admin.js diff --git a/public/index.php b/public/index.php index 7f2bf07..90b61a4 100644 --- a/public/index.php +++ b/public/index.php @@ -10,8 +10,6 @@ require_once __DIR__ . '/api/auth.php'; // ----------------------------------------------------------------- // Loads Municipality Configuration -// ToDo's: Dynamic Loading via URL Slug once multi-tenant Routing -// is implemented. Hardcoded Slug for now. // ----------------------------------------------------------------- $pdo = get_db(); $stmt = $pdo->prepare("SELECT * FROM municipalities WHERE slug = :slug"); @@ -394,7 +392,7 @@ $news_items = $stmt->fetchAll();