diff --git a/system/autoload/Message.php b/system/autoload/Message.php index 988c98e0..cdc04525 100644 --- a/system/autoload/Message.php +++ b/system/autoload/Message.php @@ -154,6 +154,9 @@ class Message $mail->Body = $body; } $mail->send(); + if (!$mail->send()) { + _log(Lang::T("Email not sent, Mailer Error: ") . $mail->ErrorInfo); + } //

} diff --git a/ui/ui/dashboard.tpl b/ui/ui/dashboard.tpl index f0432982..b47f0796 100644 --- a/ui/ui/dashboard.tpl +++ b/ui/ui/dashboard.tpl @@ -198,7 +198,7 @@ {assign var="current_time" value=$smarty.now} {assign var="run_time" value=strtotime($run_date)} {if $current_time - $run_time > 3600} -

+
  {Lang::T('Cron has not run for over 1 hour. Please check your setup.')}
diff --git a/ui/ui/sections/header.tpl b/ui/ui/sections/header.tpl index bb5f8525..a075a25a 100644 --- a/ui/ui/sections/header.tpl +++ b/ui/ui/sections/header.tpl @@ -157,11 +157,6 @@ border-bottom-left-radius: 21px; } - .panel-warning>.panel-heading { - border-bottom-right-radius: 21px; - border-bottom-left-radius: 21px; - } - .panel-danger>.panel-heading { color: #a94442; background-color: #f2dede; @@ -670,9 +665,6 @@ } .toggle-container { - position: absolute; - top: 17px; - right: 15px; cursor: pointer; } @@ -682,19 +674,6 @@ transition: color 0.5s ease; } - @media (max-width: 600px) { - .toggle-container { - top: 15px; - right: 60px; - } - - .toggle-container .toggle-icon { - font-size: 20px; - color: rgb(100 116 139); - transition: color 0.5s ease; - } - } - .dark-mode .toggle-container .toggle-icon { color: #ffdd57; }