From dd740ba9a2da90a35f227446be028c7dccc1c596 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 7 Oct 2010 14:08:38 +0000 Subject: [PATCH] Added parent folder to the list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groupware/FolderWidget/class_filterFolderWidget.inc | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.30.2