new moderation portal with CRUD operations and map preview function, bugfixes, comments and improved textblocks #7

Merged
lukas.uptmoor merged 11 commits from dev/patrick into main 2026-04-23 08:41:29 +02:00
Showing only changes of commit f107d97b87 - Show all commits

View File

@@ -327,11 +327,11 @@ if (!$municipality) {
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.0/dist/sweetalert2.all.min.js"></script>
<!-- ============================================================= -->
<!-- Municipality Configuration (passed to JavaScript) -->
<!-- Municipality Configuration passed to JavaScript -->
<!-- ============================================================= -->
<script>
// Municipality Configuration from Database — used by app.js
var MUNICIPALITY = {
const MUNICIPALITY = {
id: <?= $municipality['municipality_id'] ?>,
name: "<?= htmlspecialchars($municipality['name'], ENT_QUOTES) ?>",
slug: "<?= htmlspecialchars($municipality['slug'], ENT_QUOTES) ?>",
@@ -341,7 +341,7 @@ if (!$municipality) {
};
// Category Definitions from Database
var CATEGORIES = <?= json_encode(get_categories(), JSON_UNESCAPED_UNICODE) ?>;
const CATEGORIES = <?= json_encode(get_categories(), JSON_UNESCAPED_UNICODE) ?>;
</script>
<!-- Application Logic -->