summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 217e7d2)
raw | patch | inline | side by side (parent: 217e7d2)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 15:20:54 +0000 (15:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 15:20:54 +0000 (15:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12614 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/ogroups/tabs_ogroups.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc
index 43804d1024c0db6361fa2d0713cb20503c9bf327..a7a3318b5a6121b3639f8b168810d4845f8680fa 100644 (file)
unset($this->by_name['termservice']);
}
}
+ if(class_available("termstartup")){
+ if(!preg_match("/T/",$objects)&&(isset($this->by_object['termstartup']))){
+ $this->by_object['termstartup']->remove_from_parent();
+ unset($this->by_object['termstartup']);
+ unset($this->by_name['termstartup']);
+ }
+ }
/* Remove ws tabs, if theres no ws left in the object list */
if(class_available("workservice")){
}
}
}
+ if(class_available("termstartup")){
+ if(preg_match("/T/",$objects) &&(!isset($this->by_object['termstartup']))){
+ if(!isset($this->by_object['termstartup'])){
+ $this->by_name['termstartup']= _("Startup");
+ $this->by_object['termstartup']= new termstartup($this->config, $this->dn,$this->by_object['ogroup']);
+ $this->by_object['termstartup']->parent= &$this;
+ $this->by_object['termstartup']->acl = "#all#";
+ }
+ }
+ }
if(class_available("termservice")){
if(preg_match("/T/",$objects) &&(!isset($this->by_object['termservice']))){
if(!isset($this->by_object['termservice'])){
$this->by_name['termservice']= _("Devices");
$this->by_object['termservice']= new termservice($this->config, $this->dn,$this->by_object['ogroup']);
+ $this->by_object['termservice']->parent= &$this;
+ $this->by_object['termservice']->acl = "#all#";
}
}
}
case "T":
/* Add a terminal tab */
if(class_available("termgroup")){
- $this->by_name['termgroup']= _("Terminals");
+ $this->by_name['termgroup']= _("Systems");
$this->by_object['termgroup']= new termgroup($this->config, $this->dn);
$this->by_object['termgroup']->parent= &$this;
}
-
+ if(class_available("termstartup")){
+ $this->by_name['termstartup']= _("Startup");
+ $this->by_object['termstartup']= new termstartup($this->config, $this->dn,$this->by_object['ogroup']);
+ }
if(class_available("termservice")){
$this->by_name['termservice']= _("Devices");
$this->by_object['termservice']= new termservice($this->config, $this->dn,$this->by_object['ogroup']);