Add a message when a user valid his subscription to an event.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 16 Nov 2008 14:21:26 +0000 (15:21 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 16 Nov 2008 14:21:26 +0000 (15:21 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/xnetevents.php

index 91aa302..69f0b28 100644 (file)
@@ -268,6 +268,7 @@ class XnetEventsModule extends PLModule
             $total += $nb;
         }
         if ($updated !== false) {
+            $page->trigSuccess('Ton inscription à l\'événement a été mise à jour avec succès.');
             subscribe_lists_event($total, S::i('uid'), $evt);
         }
         $page->assign('event', get_event_detail($eid));