From 17caf0b8d2e2f38ce4396e9fe8ffc8d2eed6ae68 Mon Sep 17 00:00:00 2001 From: Spitzer_Daniel Date: Thu, 16 Feb 2023 18:01:52 +0100 Subject: [PATCH] =?UTF-8?q?Devices/Ger=C3=A4tetypen/Hersteller=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/Device/DeviceController.php | 8 ++++---- application/Pop/PopController.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/Device/DeviceController.php b/application/Device/DeviceController.php index eac165d01..4ff29c800 100644 --- a/application/Device/DeviceController.php +++ b/application/Device/DeviceController.php @@ -83,7 +83,7 @@ class DeviceController extends mfBaseController $mode = "edit"; $device = new Device($id); if (!$device->id) { - $this->layout()->setFlash("Gerät nicht gefunden", "error"); + $this->layout()->setFlash("Device nicht gefunden", "error"); $this->redirect("Device"); } } else { @@ -136,13 +136,13 @@ class DeviceController extends mfBaseController $id = $device->save(); if (!$id) { - $this->layout()->setFlash("Gerät konnte nicht angelegt werden", "error"); + $this->layout()->setFlash("Device konnte nicht angelegt werden", "error"); $this->redirect("Device"); } if ($mode == "edit") { - $this->layout()->setFlash("Geräte erfolgreich geändert", "success"); + $this->layout()->setFlash("Device erfolgreich geändert", "success"); } else if ($mode = "add") { - $this->layout()->setFlash("Geräte erfolgreich angelegt", "success"); + $this->layout()->setFlash("Device erfolgreich angelegt", "success"); } $this->redirect("Device"); } diff --git a/application/Pop/PopController.php b/application/Pop/PopController.php index 3f9f3b42c..bc4a7c40c 100644 --- a/application/Pop/PopController.php +++ b/application/Pop/PopController.php @@ -133,7 +133,7 @@ class PopController extends mfBaseController $this->returUrl = ucfirst($this->request->returnto); } - $this->layout()->setFlash("Netzgebiet erfolgreich gespeichert.", "success"); + $this->layout()->setFlash("Pop erfolgreich gespeichert.", "success"); $this->redirect($this->returUrl, "Index", [], "view=pops&net=" . $pop->network_id);