summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a63d5e5)
raw | patch | inline | side by side (parent: a63d5e5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Aug 2008 11:12:18 +0000 (11:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Aug 2008 11:12:18 +0000 (11:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12259 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_divListSystem.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index 54529f658b0c16160d3427f605c56b4669ae1fad..6c8d7337289c219bfcab426bd1a6722e5922f2c2 100644 (file)
$s.= "...|<img src='plugins/systems/images/select_component.png' alt='' border='0' class='center'>".
" "._("Component")."|"."newsystem_component|\n";
}
+ if(class_available("opsigeneric") && preg_match("/c/",$ui->get_permissions($this->selectedBase,"opsi/opsigeneric"))){
+ $s.= "...|<img src='plugins/systems/images/select_component.png' alt='' border='0' class='center'>".
+ " "._("Opsi")."|"."newsystem_opsi_client|\n";
+ }
if($this->parent->si_active){
$events = DaemonEvent::get_event_types(SYSTEM_EVENT);
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 4372472751fb112fdce25d64b324099391d6322c..a271bdedfc429cd70e719ace050bc36692f44ab8 100644 (file)
$this->dn= "new";
$tabs = $this->get_tab_defs();
-
+
if(isset($tabs[$sw])){
$class = $tabs[$sw]["CLASS"];
$tabname = $tabs[$sw]["TABNAME"];
}
}
-
/********************
System activation
********************/
if($this->opsi != NULL){
$tabs["opsi_client"] = array(
"CLASS" => "OPSITABS",
- "TABNAME" => "opsi_generic" ,
+ "TABNAME" => "opsigeneric" ,
"TABCLASS"=> "opsi_tabs",
"ACLC" => "opsi" ,
- "ACL" => "opsi/opsi_generic");
+ "ACL" => "opsi/opsigeneric");
}
return($tabs);