|
@@ -42,8 +42,11 @@ $(document).ready(function() {
|
|
$alertbox_log_parser = alertbox_log_parser($_SESSION);
|
|
$alertbox_log_parser = alertbox_log_parser($_SESSION);
|
|
if (is_array($alertbox_log_parser)) {
|
|
if (is_array($alertbox_log_parser)) {
|
|
foreach($alertbox_log_parser as $log) {
|
|
foreach($alertbox_log_parser as $log) {
|
|
|
|
+ $alerts[$log['type']][] = $log['msg'];
|
|
|
|
+ }
|
|
|
|
+ foreach($alerts as $alert_type => $alert_msg) {
|
|
?>
|
|
?>
|
|
- mailcow_alert_box(<?=$log['msg'];?>, <?=$log['type'];?>);
|
|
|
|
|
|
+ mailcow_alert_box(<?=json_encode(implode('<hr class="alert-hr">', $alert_msg));?>, <?=$alert_type;?>);
|
|
<?php
|
|
<?php
|
|
}
|
|
}
|
|
unset($_SESSION['return']);
|
|
unset($_SESSION['return']);
|