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
This commit is contained in:
@@ -47,11 +47,11 @@ function match_content(&$a) {
|
||||
$o .= '<div id="profile-match-wrapper-end"></div>';
|
||||
}
|
||||
else {
|
||||
notice( t('No matches') . EOL);
|
||||
info( t('No matches') . EOL);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$o .= paginate($a);
|
||||
return $o;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user