From 2a7127a4c34bad20d25c4d30353a4becea0990df Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 16 Sep 2011 10:21:40 +0000 Subject: [PATCH] show real namespaces instead of not (visibly) defined shortcuts --- phpgwapi/inc/class.groupdav.inc.php | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/class.groupdav.inc.php b/phpgwapi/inc/class.groupdav.inc.php index ed67d9a765..0c47ceced5 100644 --- a/phpgwapi/inc/class.groupdav.inc.php +++ b/phpgwapi/inc/class.groupdav.inc.php @@ -54,9 +54,13 @@ class groupdav extends HTTP_WebDAV_Server */ const CARDDAV = 'urn:ietf:params:xml:ns:carddav'; /** - * Calendarserver namespace (eg. for ctag) + * Apple Calendarserver namespace (eg. for ctag) */ const CALENDARSERVER = 'http://calendarserver.org/ns/'; + /** + * Apple Addressbookserver namespace (eg. for ctag) + */ + const ADDRESSBOOKSERVER = 'http://addressbookserver.org/ns/'; /** * Apple iCal namespace (eg. for calendar color) */ @@ -571,7 +575,7 @@ class groupdav extends HTTP_WebDAV_Server { return $ret; // no collection } - header('Content-type: text/html; charset='.$GLOBALS['egw']->translation->charset()); + header('Content-type: text/html; charset='.translation::charset()); echo "\n\n\t".'EGroupware (Cal|Card|Group)DAV server '.htmlspecialchars($options['path'])."\n"; echo "\t\n"; echo "\t