Code

Updated filename
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Jan 2010 14:14:47 +0000 (14:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Jan 2010 14:14:47 +0000 (14:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15284 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_divListRepositories.inc [deleted file]
gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc [new file with mode: 0644]

diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_divListRepositories.inc b/gosa-plugins/fai/admin/systems/services/repository/class_divListRepositories.inc
deleted file mode 100644 (file)
index 96cc1b6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-class divListRepository extends management
-{
-  
-  protected $skipFooter = TRUE;
-  protected $skipHeader = TRUE;
-  protected $parent     = NULL;
-
-  function __construct($config, $parent)
-  {
-    $this->ui     = get_userinfo();
-    $this->parent = $parent;
-
-    // Set storage points - We do not have any - We just create a fake list which lists all services
-    $this->storagePoints = array();
-
-    // Build filter
-#    if (session::global_is_set(get_class($this)."_filter")){
-#      $filter= session::global_get(get_class($this)."_filter");
-#    } else {
-      $filter = new filter(get_template_path("services/repository/repository-filter.xml", true));
-      $filter->setObjectStorage($this->storagePoints);
- #   }
-    $this->setFilter($filter);
-
-    // Build headpage
-    $headpage = new listing(get_template_path("services/repository/repository-list.xml", true));
-    $headpage->setFilter($filter);
-
-    parent::__construct($config, $this->ui, "repositories", $headpage);
-    $this->registerAction('edit',    'forwardToParent');
-    $this->registerAction('remove',  'forwardToParent');
-    $this->registerAction('new',     'forwardToParent');
-  }
-
-  function forwardToParent($action, $target, $all)
-  {
-    if(!empty($action)){
-      $tmp = $action."Entry";
-      $this->parent->$tmp($action,$target,$all);  
-    }
-  }
-}
-// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
-?>
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc b/gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc
new file mode 100644 (file)
index 0000000..96cc1b6
--- /dev/null
@@ -0,0 +1,46 @@
+<?php
+
+class divListRepository extends management
+{
+  
+  protected $skipFooter = TRUE;
+  protected $skipHeader = TRUE;
+  protected $parent     = NULL;
+
+  function __construct($config, $parent)
+  {
+    $this->ui     = get_userinfo();
+    $this->parent = $parent;
+
+    // Set storage points - We do not have any - We just create a fake list which lists all services
+    $this->storagePoints = array();
+
+    // Build filter
+#    if (session::global_is_set(get_class($this)."_filter")){
+#      $filter= session::global_get(get_class($this)."_filter");
+#    } else {
+      $filter = new filter(get_template_path("services/repository/repository-filter.xml", true));
+      $filter->setObjectStorage($this->storagePoints);
+ #   }
+    $this->setFilter($filter);
+
+    // Build headpage
+    $headpage = new listing(get_template_path("services/repository/repository-list.xml", true));
+    $headpage->setFilter($filter);
+
+    parent::__construct($config, $this->ui, "repositories", $headpage);
+    $this->registerAction('edit',    'forwardToParent');
+    $this->registerAction('remove',  'forwardToParent');
+    $this->registerAction('new',     'forwardToParent');
+  }
+
+  function forwardToParent($action, $target, $all)
+  {
+    if(!empty($action)){
+      $tmp = $action."Entry";
+      $this->parent->$tmp($action,$target,$all);  
+    }
+  }
+}
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+?>