summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1940c1f)
raw | patch | inline | side by side (parent: 1940c1f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 10:43:35 +0000 (10:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 10:43:35 +0000 (10:43 +0000) |
and cn too, if edited object is a WS
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3424 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3424 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiSummaryTab.inc | patch | blob | history |
index 40d3981977bfa489e07a77fb858bc4159c235664..0db08e8660fcb20403e9dbc768eece4f294fd86e 100644 (file)
$this->Result = array();
$_SESSION['faiSummaryTab']['UniqueID'] = 0;
$tmp = $this->getBranches();
-
+
+
/* Get classes & release name
There are 2 different tabs which use the summary tab
faiProfile / Workstations */
}elseif(isset($this->parent->by_name['workstartup'])){
$this->Classes = $this->parent->by_object['workstartup']->FAIclass;
$this->Release = $this->parent->by_object['workstartup']->FAIrelease;
+
+ /* Append workstation class && LAST */
+ if(isset($this->parent->by_object['workgeneric']->cn)){
+ $this->Classes[] = $this->parent->by_object['workgeneric']->cn;
+ }
+
$tmp = array_flip($tmp);
if(!isset($tmp[$this->Release])) {
$this->Release = "";
}
}
+ $this->Classes[] = "LAST";
+
/* Set all available releases */
$this->Releases = array_flip($this->getBranches());
$this->usedClasses = array();