From 716dedc5f2793d8c79cc886cc9c3101c40d38d05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 10 Jan 2010 00:42:40 +0100 Subject: [PATCH] Explains that the photo will not disapear immediatly after deletion. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile.php | 1 + templates/profile/trombino.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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.

-- 2.1.4