From 04e692a6dd2cc412219cc3a4bbbe0cc60eb189c7 Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Fri, 24 Apr 2026 17:28:12 +0200 Subject: [PATCH] minor changed to text fields --- public/admin.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/public/admin.php b/public/admin.php index 4347d82..47024e3 100644 --- a/public/admin.php +++ b/public/admin.php @@ -704,16 +704,16 @@ $counts['total'] = count($all_contributions); function createNews() { Swal.fire({ - title: 'Neue Nachricht', + title: 'Neuigkeit hinzufügen', html: '
' + '
' + '' + - '' + + '' + '
' + '
' + '' + - '' + + '' + '
' + '
', showCancelButton: true, @@ -745,7 +745,7 @@ $counts['total'] = count($all_contributions); Swal.fire('Fehler', response.error, 'error'); return; } - Swal.fire('Veröffentlicht!', 'Nachricht wurde erstellt.', 'success') + Swal.fire('Veröffentlicht!', 'Neuigkeit wurde veröffentlicht.', 'success') .then(function () { location.reload(); }); }); }); @@ -757,7 +757,7 @@ $counts['total'] = count($all_contributions); // ============================================================= function editNews(newsId, currentTitle, currentContent) { Swal.fire({ - title: 'Nachricht bearbeiten', + title: 'Neuigkeit bearbeiten', html: '
' + '
' + @@ -795,7 +795,7 @@ $counts['total'] = count($all_contributions); Swal.fire('Fehler', response.error, 'error'); return; } - Swal.fire('Gespeichert!', 'Nachricht wurde aktualisiert.', 'success') + Swal.fire('Gespeichert!', 'Neuigkeit wurde aktualisiert.', 'success') .then(function () { location.reload(); }); }); }); @@ -807,7 +807,7 @@ $counts['total'] = count($all_contributions); // ============================================================= function deleteNews(newsId) { Swal.fire({ - title: 'Nachricht löschen?', + title: 'Neuigkeit löschen?', text: 'Diese Aktion kann nicht rückgängig gemacht werden.', icon: 'warning', showCancelButton: true, @@ -828,7 +828,7 @@ $counts['total'] = count($all_contributions); Swal.fire('Fehler', response.error, 'error'); return; } - Swal.fire('Gelöscht!', 'Nachricht wurde entfernt.', 'success') + Swal.fire('Gelöscht!', 'Neuigkeit wurde gelöscht.', 'success') .then(function () { location.reload(); }); }); });