From 209fb252dcce8b69d05f796a914beb0e0bb7f9eb Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Mon, 5 Nov 2012 21:40:58 +0100 Subject: Fix issue #4 : ajout des retours utilisateur --- app/controllers/entryController.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/controllers/entryController.php') diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index cf510e362..ca702191f 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -40,6 +40,13 @@ class entryController extends ActionController { $entryDAO = new EntryDAO (); if ($id == false) { $entryDAO->updateEntries ($values); + + // notif + $notif = array ( + 'type' => 'good', + 'content' => 'Tous les flux ont été marqués comme lu' + ); + Session::_param ('notification', $notif); } else { $entryDAO->updateEntry ($id, $values); } -- cgit v1.2.3