From 17b31a9f041141e0c5cc46afe95efd121f4a2211 Mon Sep 17 00:00:00 2001 From: Markines16 <80280295+Markines16@users.noreply.github.com> Date: Tue, 8 Jun 2021 11:27:11 +0200 Subject: [PATCH] Add files via upload --- panel_manager/panel_manager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/panel_manager/panel_manager.php b/panel_manager/panel_manager.php index e5a47d1..f796d8e 100644 --- a/panel_manager/panel_manager.php +++ b/panel_manager/panel_manager.php @@ -139,12 +139,16 @@ } static function success(){ + $msg = "operacion completada con exito"; + if(isset($_GET["new"])) $msg = "La sala se ha creado con exito"; + if(isset($_GET["edit"])) $msg = "La sala se ha editado con exito"; + if(isset($_GET["del"])) $msg = "La sala se ha eliminado con exito"; + $panel = '

Operacion completada.


-

'.$_SESSION['msg'].'

+

'.$msg.'

'."\n"; - $_SESSION['msg'] = ""; return $panel; }