sadasd
All checks were successful
Deploy / deploy (push) Successful in 56s

This commit is contained in:
2026-08-19 20:04:01 +02:00
parent c2eaa5c186
commit c567d19deb
13 changed files with 177 additions and 38 deletions

View File

@@ -147,8 +147,10 @@ if (!empty($canManageProfileLevels)) {
}
$showEventTypeChoice = !$editing && (($section ?? 'events') === 'places') && $requestedCreateListingKind === null;
$modalSectionTarget = ($editingListing || ($section ?? '') === 'places') ? 'places' : 'events';
if (!empty($canManageSystemSettings)) {
if (!empty($canManageCategories)) {
$sectionLinks['categories'] = 'Kategorien';
}
if (!empty($canManageSystemSettings)) {
$sectionLinks['system'] = 'System';
}
?>
@@ -951,7 +953,7 @@ if (!empty($canManageSystemSettings)) {
</section>
<?php endif; ?>
<?php if ($section === 'categories' && !empty($canManageSystemSettings)): ?>
<?php if ($section === 'categories' && !empty($canManageCategories)): ?>
<section class="account-panel">
<div class="account-panel__head">
<h2>Kategorien</h2>
@@ -991,6 +993,11 @@ if (!empty($canManageSystemSettings)) {
<button class="btn ghost" type="submit">Zusammenführen</button>
</div>
</form>
<form method="post" style="margin-top:12px;">
<input type="hidden" name="action" value="category_confirm">
<input type="hidden" name="source_category_slug" value="<?= htmlspecialchars((string)$categoryItem['slug'], ENT_QUOTES) ?>">
<button class="btn" type="submit">Bestätigen</button>
</form>
</div>
<?php endforeach; ?>
</div>