summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee582b5)
raw | patch | inline | side by side (parent: ee582b5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Sep 2006 07:35:37 +0000 (07:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Sep 2006 07:35:37 +0000 (07:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4721 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiSummaryTab.inc | patch | blob | history |
index d22b1e84c1266e6af4bed04211f18a8e26e49d2a..0fd878cd38322f2257f013919bd6fa7267fb1e06 100644 (file)
var $is_dialog = false;
var $InitCalled = false;
var $usedClasses = array();
-
- function faiSummaryTab($config,$dn)
+ var $base = "";
+ var $parent = "";
+
+ function faiSummaryTab($config,$dni,$parent)
{
- plugin::plugin($config,$dn);
+ plugin::plugin($config,$dn,$parent);
/* Base object configuration */
$this->objs = array(
/* Get Classes and release */
$this->Classes = $this->parent->by_object['faiProfile']->FAIclasses;
+ $this->base = $this->parent->by_object['faiProfile']->base;
$str = preg_replace("/^.*ou=profiles,/","",$this->dn);
/* Check if parent tab is work tab */
}elseif(isset($this->parent->by_name['workstartup'])){
$this->Classes = $this->parent->by_object['workstartup']->FAIclass;
$this->Release = $this->parent->by_object['workstartup']->FAIrelease;
+ $this->base = $this->parent->by_object['workgeneric']->base;
/* Append workstation class && LAST */
if(isset($this->parent->by_object['workgeneric']->cn)){
function getBranches($base = false,$prefix = "")
{
if(!$base){
- $base = $this->config->current['BASE'];
+ $base = $this->base;
}
return(get_all_releases_from_base($base,true));
}