From b717da3639dfbdb5b8563c1deddeb9551cdb9fe1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 31 Jan 2008 15:06:14 +0000 Subject: [PATCH] Some additional group application update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8706 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groups/apps/class_groupApplication2.inc | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc index f64fcfc90..55ad4002a 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication2.inc @@ -13,26 +13,27 @@ class appgroup2 extends plugin */ var $a_Structure= array(); - var $a_Releases = array(); - var $a_Entries = array(); - var $a_Folders = array(); - +# var $a_Releases = array(); +# var $a_Entries = array(); +# var $a_Folders = array(); + var $a_Structure_on_load = array(); public function __construct(&$config, $dn= NULL, $parent= NULL) { plugin::plugin($config,$dn,$parent); $this->dn = $dn; $this->_load_menu_structure(); + $this->a_Structure_on_load = $this->a_Structure; } function _load_menu_structure() { $this->a_Structure = array(); - $this->a_Releases = array(); - $this->a_Entries = array(); - $this->a_Folders = array(); +# $this->a_Releases = array(); +# $this->a_Entries = array(); +# $this->a_Folders = array(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->dn); @@ -72,9 +73,9 @@ class appgroup2 extends plugin $cur[$name] = $data; switch($type){ - case 'RELEASE': $this->a_Releases[$name] = &$cur[$name];break; - case 'ENTRY': $this->a_Entries[$name] = &$cur[$name];break; - case 'FOLDER': $this->a_Folders[$name] = &$cur[$name];break; +# case 'RELEASE': $this->a_Releases[$name] = &$cur[$name];break; +# case 'ENTRY': $this->a_Entries[$name] = &$cur[$name];break; +# case 'FOLDER': $this->a_Folders[$name] = &$cur[$name];break; } } } @@ -169,7 +170,7 @@ class appgroup2 extends plugin $ret = array(); $depth ++; if($cur == NULL){ - $cur = &$this->a_Structure; + $cur = $this->a_Structure; } $ret[] = array("TYPE" => "OPEN"); foreach($cur as $entry){ -- 2.30.2