From: Stéphane Jacob Date: Sat, 9 Jan 2010 23:42:40 +0000 (+0100) Subject: Explains that the photo will not disapear immediatly after deletion. X-Git-Tag: xorg/1.0.0~338 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=716dedc5f2793d8c79cc886cc9c3101c40d38d05;p=platal.git Explains that the photo will not disapear immediatly after deletion. Signed-off-by: Stéphane Jacob --- diff --git a/modules/profile.php b/modules/profile.php index 3e888c9..8bf1ec1 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -169,6 +169,7 @@ class ProfileModule extends PLModule WHERE user_id = {?} AND type="photo"', S::v('uid')); $globals->updateNbValid(); + $page->trigSuccess("Ta photo a bien été supprimée. Elle ne sera plus visible sur le site dans au plus une heure."); } elseif (Env::v('cancel')) { S::assert_xsrf_token(); diff --git a/templates/profile/trombino.tpl b/templates/profile/trombino.tpl index 559728e..9d39dab 100644 --- a/templates/profile/trombino.tpl +++ b/templates/profile/trombino.tpl @@ -64,7 +64,7 @@ - Actions immédiates + Action non modérée @@ -96,7 +96,7 @@

Si elle est sur Internet, choisis la seconde solution et nos robots iront la télécharger - directement où il faut :-) + directement où il faut.