summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d73f6cf)
raw | patch | inline | side by side (parent: d73f6cf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Apr 2008 10:50:03 +0000 (10:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Apr 2008 10:50:03 +0000 (10:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10670 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_serverService.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_serverService.inc b/gosa-plugins/systems/admin/systems/class_serverService.inc
index 14ff1970e53462dfb6881e61aafb6e2c13578644..b9b7c73818c5440f2b044615a413f6685b7a1efd 100644 (file)
var $backup = NULL;
var $acl ;
var $cn;
+ var $parent ;
- function ServerService (&$config, $dn)
+ function ServerService (&$config, $dn,$parent)
{
plugin::plugin($config);
+ $this->parent = $parent;
$this->dn= $dn;
foreach ($config->data['TABS']['SERVERSERVICE'] as $plug){
$name= $plug['CLASS'];
$this->plugin_names[]= $name;
- $this->plugins[$name]= new $name($config, $dn);
+ $this->plugins[$name]= new $name($config, $dn,&$this);
/* Capture all service objectClases, necessary for acl handling */
if(isset($this->plugins[$name]->objectclasses)){
/* Abort dialog */
if(isset($_POST['SaveService']) && is_object($this->dialog)){
- $this->dialog->save_object();
+# $this->dialog->save_object();
$msgs = $this->dialog->check();
if(count($msgs)){
foreach($msgs as $msg){
/* There is currently a subdialog open, display this dialog */
if(is_object($this->dialog)){
- $this->dialog->save_object();
+# $this->dialog->save_object();
return($this->dialog->execute());
}
function save_object()
{
foreach($this->plugins as $name => $obj){
-
-# if($obj->is_account){
-# $this->plugins[$name]->save_object();
-# }
+ if($obj->is_account){
+ $this->plugins[$name]->save_object();
+ }
}
}