Explains that the photo will not disapear immediatly after deletion.
authorStéphane Jacob <sj@m4x.org>
Sat, 9 Jan 2010 23:42:40 +0000 (00:42 +0100)
committerStéphane Jacob <sj@m4x.org>
Sat, 9 Jan 2010 23:42:40 +0000 (00:42 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile.php
templates/profile/trombino.tpl

index 3e888c9..8bf1ec1 100644 (file)
@@ -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();
 
index 559728e..9d39dab 100644 (file)
@@ -64,7 +64,7 @@
     </tr>
     <tr>
       <th colspan="2">
-        Actions immédiates
+        Action non modérée
       </th>
     </tr>
     <tr>
@@ -96,7 +96,7 @@
         </p>
         <p>
         Si elle est sur Internet, choisis la seconde solution et nos robots iront la télécharger
-        directement où il faut&nbsp;:-)
+        directement où il faut.
         </p>
       </td>
     </tr>