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/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/install.php') diff --git a/mod/install.php b/mod/install.php index b5f056df7..35c2b3dae 100644 --- a/mod/install.php +++ b/mod/install.php @@ -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; -} \ No newline at end of file +} -- cgit v1.2.3