From: hickert Date: Wed, 13 Oct 2010 12:08:05 +0000 (+0000) Subject: Updated Folder Widget X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=095b14af285b3a0a5b56fbab48c411b821930773;p=gosa.git Updated Folder Widget -Added missing comment. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20030 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }