diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-02 17:02:41 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-02 17:02:41 -0700 |
commit | 3e1fe042e7826867c2b0a830657653d557506cfb (patch) | |
tree | f86988ee4d231d77ac3e8df82c46d5f623b9b595 | |
parent | b9e1a126c5d4ed5adc82d69d516292896aca3431 (diff) | |
download | volse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.tar.gz volse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.tar.bz2 volse-hubzilla-3e1fe042e7826867c2b0a830657653d557506cfb.zip |
use notice function instead of appending to sysmsg
-rw-r--r-- | boot.php | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -299,4 +299,11 @@ function footer(&$a) { $s = fetch_url("http://fortunemod.com/cookie.php?equal=1"); $a->page['content'] .= "<div class=\"fortune\" >$s</div>"; -}
\ No newline at end of file +} + +if(! function_exists('notice')) { +function notice($s) { + + $_SESSION['sysmsg'] .= $s; + +}}
\ No newline at end of file |