From e1107b55c6715d131ca808890ce51c6301e56ccc Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 23 May 2011 11:39:57 +0200 Subject: add info() function. Works like notice() but show messages in a div with class info-message. update code to use info() instead of notice() when appropriate (non-error message) add info-message class style in themes --- mod/profile_photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile_photo.php') diff --git a/mod/profile_photo.php b/mod/profile_photo.php index b1fd0fc6e..8dc896653 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -236,7 +236,7 @@ function profile_photo_crop_ui_head(&$a, $ph){ $r = $ph->store(local_user(), 0 , $hash, $filename, t('Profile Photos'), 0 ); if($r) - notice( t('Image uploaded successfully.') . EOL ); + info( t('Image uploaded successfully.') . EOL ); else notice( t('Image upload failed.') . EOL ); -- cgit v1.2.3