Code

Updated several service dialogs, fixed typos, string, html, post handling and more.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jul 2010 15:47:06 +0000 (15:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jul 2010 15:47:06 +0000 (15:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19132 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc

index b68f398397e17f94f6b5ffa2f1e7997fbf370c0e..2a08a801fa8cb4b10b211febba16a74a6bf29e12 100644 (file)
@@ -2,31 +2,31 @@
 
 class filterRepository {
 
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
-  {
-    $list = servrepository::getRepositoryList();
+    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+    {
+        $list = servrepository::getRepositoryList();
 
-    // Convert plugin data into useable format for list.
-    $data = array();
-    foreach($list as $key => $entry){   
-      $entry['objectClass'] = array('FAKE_OC_FaiRepository');
-      $item = array('count' => count($entry));
-      $item['dn'] = $key;
+        // Convert plugin data into useable format for list.
+        $data = array();
+        foreach($list as $key => $entry){   
+            $entry['objectClass'] = array('FAKE_OC_FaiRepository');
+            $item = array('count' => count($entry));
+            $item['dn'] = $key;
 
-      if(!count($entry['Sections'])){
-        $entry['Sections'][] = '';
-      }
-      foreach($entry as $name => $value){   
-        $item[] = $name;
-        if(!is_array($value)) $value=array($value);
-        $value= array_values($value);
-        $value['count'] = count($value);
-        $item[$name] = $value;
-      }
-      $data[] = $item;
+            if(!count($entry['Sections'])){
+                $entry['Sections'][] = '';
+            }
+            foreach($entry as $name => $value){   
+                $item[] = $name;
+                if(!is_array($value)) $value=array($value);
+                $value= array_values($value);
+                $value['count'] = count($value);
+                $item[$name] = $value;
+            }
+            $data[] = $item;
+        }
+        return($data);
     }
-    return($data);
-  }
 }
 
 ?>