From: hickert Date: Thu, 7 Oct 2010 14:08:38 +0000 (+0000) Subject: Added parent folder to the list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dd740ba9a2da90a35f227446be028c7dccc1c596;p=gosa.git Added parent folder to the list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc index aba8249bf..083df4fe5 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc @@ -22,8 +22,13 @@ class filterFolderWidget { $parent = $item; } + // Add entries $ret = array(); + if($parent != NULL){ + $parent['name'] = '..'; + filterFolderWidget::addEntry($ret, $parent, FALSE, $filter); + } foreach($items as $item){ filterFolderWidget::addEntry($ret, $item, $scope == 'sub', $filter); }