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:
@@ -39,7 +39,7 @@ function crepair_post(&$a) {
|
||||
);
|
||||
|
||||
if($r)
|
||||
notice( t('Contact settings applied.') . EOL);
|
||||
info( t('Contact settings applied.') . EOL);
|
||||
else
|
||||
notice( t('Contact update failed.') . EOL);
|
||||
|
||||
@@ -102,4 +102,4 @@ function crepair_content(&$a) {
|
||||
|
||||
return $o;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user