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/viewcontacts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/viewcontacts.php') diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 732607b18..e8c2462e2 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -37,7 +37,7 @@ function viewcontacts_content(&$a) { intval($a->pager['itemspage']) ); if(! count($r)) { - notice( t('No contacts.') . EOL ); + info( t('No contacts.') . EOL ); return $o; } @@ -62,4 +62,4 @@ function viewcontacts_content(&$a) { $o .= paginate($a); return $o; -} \ No newline at end of file +} -- cgit v1.2.3