summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0135f1d)
raw | patch | inline | side by side (parent: 0135f1d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 14:48:43 +0000 (14:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 14:48:43 +0000 (14:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15288 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+class filterRepository {
+
+ static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+ {
+ return(array());
+ $list = servRepository::getRepositoryList();
+
+ $data = array();
+ foreach($list as $key => $entry){
+ $entry['objectClass'] = array('FAKE_OC_FaiRepository');
+ $item = array('count' => count($entry));
+ $item['dn'] = $key;
+ 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);
+ }
+}
+
+?>
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_filterServerService.inc b/gosa-plugins/fai/admin/systems/services/repository/class_filterServerService.inc
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class filterRepository {
-
- static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
- {
- $list = servRepository::getRepositoryList();
-
- $data = array();
- foreach($list as $key => $entry){
- $entry['objectClass'] = array('FAKE_OC_FaiRepository');
- $item = array('count' => count($entry));
- $item['dn'] = $key;
- 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);
- }
-}
-
-?>
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc
index ff134395e5da36f1cd04096a0b288415a02c9e81..6797e103e86eb677ae4c8724f39c787e0b148521 100644 (file)
$this->repositories[$tmp[2]]=$tmp2;
}
}
-
+ session::set('RepositoryList', $this->repositories);
/* Create divlist */
$this->divlist = new repositoryManagement($this->config,$this);