From 095b14af285b3a0a5b56fbab48c411b821930773 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Oct 2010 12:08:05 +0000 Subject: [PATCH] Updated Folder Widget -Added missing comment. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20030 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/FolderWidget/class_FolderWidget.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc index 85f56d24f..1fde7b8f3 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc @@ -185,8 +185,10 @@ class FolderWidget extends plugin $entryPath = (empty($entryPath)) ? $pathName : "{$entryPath}{$this->pathSeparator}{$pathName}"; $entryBase = $this->pathToDn($entryPath); + // To not add sub-folders which are not nescessary to be displayed + // e.g. We have shared/technik/test + // Then do not all sub-folders for shared, it is not selectable in the listing later. if(!preg_match("/".preg_quote($this->accountPrefix,'/')."/", $entryPath)){ - echo "Skipped {$entryPath}
"; continue; } -- 2.30.2