Merge branch 'master' of github.com:Froxlor/Froxlor

This commit is contained in:
Michael Kaufmann (d00p)
2014-03-04 10:57:30 +01:00
4 changed files with 3 additions and 4 deletions

View File

@@ -189,7 +189,7 @@ class MailLogParser {
$timestamp = $this->_getLogTimestamp($line);
if ($this->startTime < $timestamp) {
if (preg_match("/dovecot.*(?::|\]) imap\(.*@([a-z0-9\.\-]+)\):.*in=(\d+) out=(\d+)/i", $line, $matches)) {
if (preg_match("/dovecot.*(?::|\]) imap\(.*@([a-z0-9\.\-]+)\):.*(?:in=(\d+) out=(\d+)|bytes=(\d+)\/(\d+))/i", $line, $matches)) {
// Dovecot IMAP
$this->_addDomainTraffic($matches[1], (int)$matches[2] + (int)$matches[3], $timestamp);
} elseif (preg_match("/dovecot.*(?::|\]) pop3\(.*@([a-z0-9\.\-]+)\):.*size=(\d+)/i", $line, $matches)) {

View File

@@ -168,14 +168,13 @@ ul.topheadernav li ul li a:hover {
display:block;
font-size:9px;
color:#fff;
background-color:#d00;
background-color:#d90000;
position:absolute;
padding:3px;
font-weight:700;
line-height:9px;
border-radius:3px;
right:-6px;
bottom:-1px;
bottom:-4px;
}
/* FOOTER */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB