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/notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/notifications.php') diff --git a/mod/notifications.php b/mod/notifications.php index b860f6018..a3339199e 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -136,7 +136,7 @@ function notifications_content(&$a) { } } else - notice( t('No notifications.') . EOL); + info( t('No notifications.') . EOL); if ($a->config['register_policy'] == REGISTER_APPROVE && $a->config['admin_email'] === $a->user['email']){ @@ -156,7 +156,7 @@ function notifications_content(&$a) { $o .= ""; } else - notice( t('No registrations.') . EOL); + info( t('No registrations.') . EOL); } -- cgit v1.2.3