diff --git a/system/boot.php b/system/boot.php index ae52e935..98e46823 100644 --- a/system/boot.php +++ b/system/boot.php @@ -164,19 +164,8 @@ function _msglog($type, $msg) if (isset($_SESSION['notify'])) { $notify = $_SESSION['notify']; $ntype = $_SESSION['ntype']; - if ($ntype == 's') { - $ui->assign('notify', '
- -
' . $notify . '
'); - } else { - $ui->assign('notify', '
- -
' . $notify . '
'); - } + $ui->assign('notify', $notify); + $ui->assign('notify_t', $ntype); unset($_SESSION['notify']); unset($_SESSION['ntype']); } diff --git a/ui/ui/sections/header.tpl b/ui/ui/sections/header.tpl index 1c2faba7..bb5de551 100644 --- a/ui/ui/sections/header.tpl +++ b/ui/ui/sections/header.tpl @@ -301,4 +301,11 @@
-{if isset($notify)}{$notify}{/if} \ No newline at end of file +{if isset($notify)} +
+ +
{$notify}
+
+{/if} \ No newline at end of file diff --git a/ui/ui/sections/user-header.tpl b/ui/ui/sections/user-header.tpl index 1ad17207..5ce03983 100644 --- a/ui/ui/sections/user-header.tpl +++ b/ui/ui/sections/user-header.tpl @@ -165,4 +165,12 @@
-{if isset($notify)}{$notify}{/if} \ No newline at end of file + +{if isset($notify)} +
+ +
{$notify}
+
+{/if} \ No newline at end of file