mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
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:
parent
3ea145fae7
commit
e1107b55c6
33 changed files with 123 additions and 75 deletions
|
@ -35,7 +35,7 @@ function install_post(&$a) {
|
|||
}
|
||||
}
|
||||
|
||||
notice( t('Connected to database.') . EOL);
|
||||
info( t('Connected to database.') . EOL);
|
||||
|
||||
$tpl = get_intltext_template('htconfig.tpl');
|
||||
$txt = replace_macros($tpl,array(
|
||||
|
@ -95,7 +95,7 @@ function install_content(&$a) {
|
|||
}
|
||||
}
|
||||
|
||||
notice( t('Welcome to Friendika.') . EOL);
|
||||
info( t('Welcome to Friendika.') . EOL);
|
||||
|
||||
|
||||
check_funcs();
|
||||
|
@ -238,4 +238,4 @@ function load_database($db) {
|
|||
}
|
||||
}
|
||||
return $errors;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue