This commit is contained in:
@@ -999,18 +999,25 @@ if (!empty($canManageSystemSettings)) {
|
||||
</div>
|
||||
<form method="post" class="stack gap-8" style="margin-top:12px;">
|
||||
<input type="hidden" name="action" value="category_merge">
|
||||
<input type="hidden" name="source_category_slug" value="<?= htmlspecialchars((string)$categoryItem['slug'], ENT_QUOTES) ?>">
|
||||
<input type="hidden" name="current_category_slug" value="<?= htmlspecialchars((string)$categoryItem['slug'], ENT_QUOTES) ?>">
|
||||
<div class="stack gap-6">
|
||||
<label class="label" for="targetCategorySearchInput<?= (int)($categoryItem['id'] ?? 0) ?>">Mit bestehender Kategorie zusammenführen</label>
|
||||
<label class="label" for="targetCategorySearchInput<?= (int)($categoryItem['id'] ?? 0) ?>">Zweite Kategorie</label>
|
||||
<input
|
||||
id="targetCategorySearchInput<?= (int)($categoryItem['id'] ?? 0) ?>"
|
||||
name="target_category_input"
|
||||
name="other_category_input"
|
||||
class="input"
|
||||
list="categoryMergeSuggestions"
|
||||
placeholder="Kategorie suchen"
|
||||
required
|
||||
>
|
||||
</div>
|
||||
<div class="stack gap-6">
|
||||
<label class="label" for="keepCategorySearchChoice<?= (int)($categoryItem['id'] ?? 0) ?>">Behalten</label>
|
||||
<select id="keepCategorySearchChoice<?= (int)($categoryItem['id'] ?? 0) ?>" name="keep_category_choice" class="select">
|
||||
<option value="current"><?= htmlspecialchars((string)$categoryItem['title'], ENT_QUOTES) ?></option>
|
||||
<option value="other">Ausgewählte zweite Kategorie</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="flex gap-8" style="flex-wrap:wrap;">
|
||||
<button class="btn ghost" type="submit">Zusammenführen</button>
|
||||
</div>
|
||||
@@ -1044,18 +1051,25 @@ if (!empty($canManageSystemSettings)) {
|
||||
</div>
|
||||
<form method="post" class="stack gap-8" style="margin-top:12px;">
|
||||
<input type="hidden" name="action" value="category_merge">
|
||||
<input type="hidden" name="source_category_slug" value="<?= htmlspecialchars((string)$categoryItem['slug'], ENT_QUOTES) ?>">
|
||||
<input type="hidden" name="current_category_slug" value="<?= htmlspecialchars((string)$categoryItem['slug'], ENT_QUOTES) ?>">
|
||||
<div class="stack gap-6">
|
||||
<label class="label" for="targetCategoryInput<?= (int)($categoryItem['id'] ?? 0) ?>">Mit bestehender Kategorie zusammenführen</label>
|
||||
<label class="label" for="targetCategoryInput<?= (int)($categoryItem['id'] ?? 0) ?>">Zweite Kategorie</label>
|
||||
<input
|
||||
id="targetCategoryInput<?= (int)($categoryItem['id'] ?? 0) ?>"
|
||||
name="target_category_input"
|
||||
name="other_category_input"
|
||||
class="input"
|
||||
list="categoryMergeSuggestions"
|
||||
placeholder="Kategorie suchen"
|
||||
required
|
||||
>
|
||||
</div>
|
||||
<div class="stack gap-6">
|
||||
<label class="label" for="keepCategoryChoice<?= (int)($categoryItem['id'] ?? 0) ?>">Behalten</label>
|
||||
<select id="keepCategoryChoice<?= (int)($categoryItem['id'] ?? 0) ?>" name="keep_category_choice" class="select">
|
||||
<option value="current"><?= htmlspecialchars((string)$categoryItem['title'], ENT_QUOTES) ?></option>
|
||||
<option value="other">Ausgewählte zweite Kategorie</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="flex gap-8" style="flex-wrap:wrap;">
|
||||
<button class="btn ghost" type="submit">Zusammenführen</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user