summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f0c15a)
raw | patch | inline | side by side (parent: 0f0c15a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 May 2006 09:10:17 +0000 (09:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 May 2006 09:10:17 +0000 (09:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3385 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/ogroups/tabs_ogroups.inc | patch | blob | history |
index 9867ffdd29bc08531486849a1bc8ad0661b89c24..c4fdeed3b0cefabb86e316f0a8e4e52f32d56da3 100644 (file)
}
/* Remove terminal group, if theres no terminal left in the object list */
- if((!preg_match("/T/",$objects))&&(isset($this->by_object['termgroup']))){
+ if(((!preg_match("/T/",$objects)) && (!preg_match("/W/",$objects)))&&(isset($this->by_object['termgroup']))){
$this->by_object['termgroup']->remove_from_parent();
unset($this->by_object['termgroup']);
unset($this->by_name['termgroup']);
}
/* Add Terminal tab */
- if((preg_match("/T/",$objects))&&(!isset($this->by_object['termgroup']))){
+ if(((preg_match("/T/",$objects)) || (preg_match("/W/",$objects)))&&(!isset($this->by_object['termgroup']))){
require_once("class_termgroup.inc");
if(!isset($this->by_object['termgroup'])){
- $this->by_name['termgroup']= _("Terminals");
+ $this->by_name['termgroup']= _("Common settings");
$this->by_object['termgroup']= new termgroup($this->config, $this->dn);
$this->by_object['termgroup']->parent= &$this;
}