summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3b9fc9e)
raw | patch | inline | side by side (parent: 3b9fc9e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Sep 2009 15:19:13 +0000 (15:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Sep 2009 15:19:13 +0000 (15:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14425 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 134ec25561d0b5f88d1b6e97664acb83e7d54977..6d2c6bb2c64dcca6ce4868ccd5a178b588cef9a8 100644 (file)
*/
$desc = "";
if(isset($this->cache['CLASSES'][$this->FAIrelease][$class])){
+ $desc ="";
foreach($this->cache['CLASSES'][$this->FAIrelease][$class] as $types ){
- if(isset($types['Desc'])){
- $desc= $types['Desc'];
+ if(isset($types['Abbr'])){
+ $desc.= $types['Abbr']." ";
if($types['Type'] == "FAIprofile"){
break;
}
*/
$o_queue = new gosaSupportDaemon();
$tmp = $o_queue->FAI_get_classes($release);
+
$this->cache['CLASSES'][$release] = array();
if($o_queue->is_error()){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o_queue->get_error()),ERROR_DIALOG);
}else{
foreach($tmp as $entry){
$class = $entry['CLASS'];
- $this->cache['CLASSES'][$release][$class] = $this->analyse_fai_object($entry);
+ $this->cache['CLASSES'][$release][$class][] = $this->analyse_fai_object($entry);
}
}
$ret= array();
foreach($classes as $class_name => $class_types){
if(!in_array($class_name,$this->FAIclass)){
+ $Abbr = "";
foreach($class_types as $type){
if(!preg_match("/".$type['Abbr']."/",$Abbr)){
$Abbr .= $type['Abbr']." ";