summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87aba29)
raw | patch | inline | side by side (parent: 87aba29)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 14:15:17 +0000 (14:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 14:15:17 +0000 (14:15 +0000) |
...-- Diese und die folgenden Zeilen werden ignoriert --
D class_repositoryMangement.inc
A + class_repositoryManagement.inc
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15285 594d385d-05f5-0310-b6e9-bd551577e9d8
D class_repositoryMangement.inc
A + class_repositoryManagement.inc
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15285 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/systems/services/repository/class_repositoryManagement.inc | [new file with mode: 0644] | patch | blob |
gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc | [deleted file] | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_repositoryManagement.inc b/gosa-plugins/fai/admin/systems/services/repository/class_repositoryManagement.inc
--- /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:
+?>
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc b/gosa-plugins/fai/admin/systems/services/repository/class_repositoryMangement.inc
+++ /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:
-?>