summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3565453)
raw | patch | inline | side by side (parent: 3565453)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 10:23:59 +0000 (10:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 10:23:59 +0000 (10:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10354 594d385d-05f5-0310-b6e9-bd551577e9d8
index 1fef153b638bc87723acf6a0508d7f0c0725b73e..fc4f5c1856782abe00568e3f643b0306b0e3a8f2 100644 (file)
/* Dont't try to modify non FAIclasses
*/
if(!preg_match("/[^,]+,".normalizePreg(get_ou("faiou"))."/",$obj_dn)){
- echo "PLEASE check fai class handling in ".__LINE__." -> ".__FILE__;
+ trigger_error("PLEASE check fai class handling in ".__LINE__." -> ".__FILE__);
+ echo "<br>-->".$Current_DN."<br>";
+ echo "<br>-->".$obj_dn."<br>";
}else{
/* Get source object and check if it is a base FAIclass
diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc
index 84964327618141c13c91b3b185440ccba491c85c..74628205777042b7841d9f0bd0dee2009d009451 100644 (file)
$this->SubObjects[$objects['cn']] = $objects;
}
}
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
$this->ui = get_userinfo();
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index fe7989ea1eb37c2f9fdecf7c278b2772bee4d0e9..a44ffd345eda5417281bd3976a99ea756b0ef04e 100644 (file)
if ($this->dn != "new"){
$this->newDialogShown= true;
}
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index a3ed119a810ced7d84bb71f15579650af1160b0c..c721a8ed73eb40ff52052423d4f83d480cc9a92a 100644 (file)
}
}
}
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
ksort($this->disks);
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiScript.inc b/gosa-plugins/fai/admin/fai/class_faiScript.inc
index d94b760c24e9e159ac6dd1b6182422f7117eab56..c94c49d5895e88ffd40c1658a70c31632c30057b 100644 (file)
}
}
+
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
+
$this->ui = get_userinfo();
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index ab20b94bb06c5cba7d87f0b6519ca1a8101dd0b3..018d8596c37467c85291ac4c021bc9f52e685882 100644 (file)
$this->SubObjects[$objects['cn']] = $objects;
}
}
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
$this->ui = get_userinfo();
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc
index 21722813e27da2251466ec79351338e6a802727c..af021e7df6f56bf174515bf4b28220171991bdb9 100644 (file)
}
}
+ $this->is_new = FALSE;
+ if($this->dn == "new"){
+ $this->is_new =TRUE;
+ }
$this->ui = get_userinfo();
}