diff --git a/public/admin.php b/public/admin.php index 7ec8fd4..4c3bb11 100644 --- a/public/admin.php +++ b/public/admin.php @@ -522,657 +522,28 @@ $counts['total'] = count($all_contributions); - + + + + + + + + @@ -1205,7 +576,7 @@ function show_login_page($municipality, $error = null) { - + diff --git a/public/index.php b/public/index.php index 1e7787c..1fdb22a 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"); @@ -35,7 +33,7 @@ $news_items = $stmt->fetchAll(); - Bürgerbeteiligungsportal <?= htmlspecialchars($municipality['name']) ?> + Mitmachkarte <?= htmlspecialchars($municipality['name']) ?> @@ -68,6 +66,10 @@ $news_items = $stmt->fetchAll(); + + + + @@ -183,17 +185,30 @@ $news_items = $stmt->fetchAll(); @@ -246,7 +261,7 @@ $news_items = $stmt->fetchAll();