aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-23 11:39:57 +0200
commite1107b55c6715d131ca808890ce51c6301e56ccc (patch)
treefe082a84a1b20b68141e3b1ffdac697051ae73b6 /mod/install.php
parent3ea145fae7defaf959b04797afc8482bd0190352 (diff)
downloadvolse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.gz
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.tar.bz2
volse-hubzilla-e1107b55c6715d131ca808890ce51c6301e56ccc.zip
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
Diffstat (limited to 'mod/install.php')
-rw-r--r--mod/install.php6
1 files changed, 3 insertions, 3 deletions
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
+}