diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 14:01:21 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 14:01:21 +0200 |
commit | abd65e00aba5a2581665a689e01fe9330046f001 (patch) | |
tree | 67c27d54db34b09cef3667d85198f9a88dda77ba /boot.php | |
parent | 14125ce67bb27b024d082738c8065e1bc7f2d377 (diff) | |
download | volse-hubzilla-abd65e00aba5a2581665a689e01fe9330046f001.tar.gz volse-hubzilla-abd65e00aba5a2581665a689e01fe9330046f001.tar.bz2 volse-hubzilla-abd65e00aba5a2581665a689e01fe9330046f001.zip |
Load infos and notices via ping and show them with js popup
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -721,14 +721,16 @@ function remote_user() { if(! function_exists('notice')) { function notice($s) { $a = get_app(); + if(! x($_SESSION,'sysmsg')) $_SESSION['sysmsg'] = array(); if($a->interactive) - $_SESSION['sysmsg'] .= $s; + $_SESSION['sysmsg'][] = $s; }} if(! function_exists('info')) { function info($s) { $a = get_app(); + if(! x($_SESSION,'sysmsg_info')) $_SESSION['sysmsg_info'] = array(); if($a->interactive) - $_SESSION['sysmsg_info'] .= $s; + $_SESSION['sysmsg_info'][] = $s; }} |