Code

Added objectTypes for shared and user folder
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Oct 2010 14:29:02 +0000 (14:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Oct 2010 14:29:02 +0000 (14:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19941 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/FolderWidget/FolderWidget-list.xml
gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc

index 66af0338957201411490d28143f123dcc45a05cb..93e2bbfb3af74ce9f80476328e0c1707058d1167 100644 (file)
 
     <objectType>
       <label>Folder</label>
-      <objectClass>FAKE_OC_Folder</objectClass>
-      <category>users</category>
-      <class>none</class>
-      <image>plugins/sudo/images/select_sudo.png</image>
+      <objectClass>FAKE_OC_Groupware_sharedFolder</objectClass>
+      <image>images/lists/folder.png</image>
     </objectType>
 
+    <objectType>
+      <label>Folder</label>
+      <objectClass>FAKE_OC_Groupware_userFolder</objectClass>
+      <image>plugins/users/images/select_user.png</image>
+    </objectType>
   </definition>
 
   <table>
index 37b6f1854a141edf27df34be188a3be05dcf5989..f6f82a114d76db5e867ed852ad9ee3220fd56c29 100644 (file)
@@ -32,6 +32,7 @@ class filterFolderWidget {
         foreach($items as $item){
             filterFolderWidget::addEntry($ret, $item, $scope == 'sub', $filter);
         }
+    
         return($ret);
     }