This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user