From 0675f62b9ca018b3d2126d19df325683ce31c1c5 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 19 Apr 2010 11:34:28 +0000 Subject: [PATCH] Updated mailqueue git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17687 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc | 2 +- gosa-plugins/mail/addons/mailqueue/contents.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc b/gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc index df82668f3..3be4b7e2b 100644 --- a/gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc +++ b/gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc @@ -78,7 +78,7 @@ class mailqueue extends plugin foreach($types as $type){ if(preg_match("/^".$type."__/",$name) && $this->acl_is_writeable($type)){ $action = $type; - $server = preg_replace("/^".$type."__[^_]*__([^_]*)_.*/","\\1",$name); + $server = preg_replace("/^".$type."__[^_]*__([^_]*)$/","\\1",$name); $entry[$server][] = preg_replace("/^".$type."__([^_]*)__.*/","\\1",$name); break; } diff --git a/gosa-plugins/mail/addons/mailqueue/contents.tpl b/gosa-plugins/mail/addons/mailqueue/contents.tpl index 8fbbfdb4d..4711e0993 100644 --- a/gosa-plugins/mail/addons/mailqueue/contents.tpl +++ b/gosa-plugins/mail/addons/mailqueue/contents.tpl @@ -100,7 +100,7 @@ {$entries[$key].ServerName} {$entries[$key].Size} - $entries[$key].Arrival|date_format:"%d.%m.%Y %H:%M:%S"} + {$entries[$key].Arrival|date_format:"%d.%m.%Y %H:%M:%S"} {$entries[$key].Sender} {$entries[$key].Recipient} {$entries[$key].Status} -- 2.30.2