summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c454de)
raw | patch | inline | side by side (parent: 8c454de)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Jan 2008 15:19:24 +0000 (15:19 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Jan 2008 15:19:24 +0000 (15:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8296 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc b/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc
var $DepartmentGroups ;
var $ServerGroups ;
var $WorkstationGroups ;
+ var $WindowsGroups ;
var $TerminalGroups ;
var $PrinterGroups ;
var $PhoneGroups ;
$this->AddCheckBox("DepartmentGroups" , _("Select to see groups containing departments") , _("Show groups containing departments"), true);
$this->AddCheckBox("ServerGroups" , _("Select to see groups containing servers") , _("Show groups containing servers"), true);
$this->AddCheckBox("WorkstationGroups", _("Select to see groups containing workstations"), _("Show groups containing workstations"), true);
+ $this->AddCheckBox("WindowsGroups", _("Select to see groups containing windows workstations"), _("Show groups containing windows workstations"), true);
$this->AddCheckBox("TerminalGroups" , _("Select to see groups containing terminals") , _("Show groups containing terminals"), true);
$this->AddCheckBox("PrinterGroups" , _("Select to see groups containing printer") , _("Show groups containing printer"), true);
$this->AddCheckBox("PhoneGroups" , _("Select to see groups containing phones") , _("Show groups containing phones"), true);
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index 83d1efb7dcbf823757fc88cfe30ddfad06e16839..14b11c95ca49091c4c45e55993c6fbd96a059e68 100644 (file)
"D" => "departments",
"S" => "servers",
"W" => "workstations",
+ "O" => "winstations",
"T" => "terminals",
"F" => "phones",
"_" => "subtrees",
}
if (isset($_POST['dselect'])){
foreach( array("accounts", "groups", "applications", "departments",
- "servers", "workstations", "terminals", "printers","subtrees",
+ "servers", "workstations", "winstations", "terminals", "printers","subtrees",
"phones") as $type){
if (isset($_POST[$type])) {
$smarty->assign("deplist", $this->config->idepartments);
$smarty->assign("alphabet", generate_alphabet());
foreach( array("dselect", "regex", "accounts", "groups", "applications",
- "departments", "servers", "workstations", "terminals","subtrees",
+ "departments", "servers", "workstations", "winstations", "terminals","subtrees",
"printers", "phones") as $type){
$smarty->assign("$type", $ogfilter[$type]);
}
"D" => _("departments"),
"S" => _("servers"),
"W" => _("workstations"),
+ "O" => _("winstations"),
"T" => _("terminals"),
"F" => _("phones"),
"P" => _("printers"));
$type= preg_replace('/[\[\]]/', '', $this->gosaGroupObjects);
$p1= $conv[$type[0]];
error_reporting(0);
- if (isset($type[1]) && preg_match('/[UGADSFWTP]/', $type[1])){
+ if (isset($type[1]) && preg_match('/[UGADSFOWTP]/', $type[1])){
$p2= $conv[$type[1]];
$smarty->assign("combinedObjects", "$p1 "._("and")." $p2");
} else {
"departments" => array("CLASS"=>"gosaDepartment" ,"DN"=> "" ,"ACL" => "department"),
"servers" => array("CLASS"=>"goServer" ,"DN"=> get_ou('serverou') ,"ACL" => "server"),
"workstations" => array("CLASS"=>"gotoWorkstation","DN"=> get_ou('workstationou') ,"ACL" => "workstation"),
+ "winstations" => array("CLASS"=>"opsiClient", "DN"=> get_ou('WINSTATIONS') ,"ACL" => "winstation"),
"terminals" => array("CLASS"=>"gotoTerminal" ,"DN"=> get_ou('terminalou') ,"ACL" => "terminal"),
"printers" => array("CLASS"=>"gotoPrinter" ,"DN"=> get_ou('printerou') ,"ACL" => "printer"),
"phones" => array("CLASS"=>"goFonHardware" ,"DN"=> get_ou('phoneou') ,"ACL" => "phone"));
"D" => "select_department.png",
"S" => "select_server.png",
"W" => "select_workstation.png",
+ "O" => "select_winstation.png",
"T" => "select_terminal.png",
"F" => "select_phone.png",
"I" => "flag.png",
"D" => "gosaDepartment",
"S" => "goServer",
"W" => "gotoWorkstation",
+ "O" => "opsiClient",
"T" => "gotoTerminal",
"F" => "goFonHardware",
"P" => "gotoPrinter") as $index => $class){
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc
index 0c529fd122e4ae119cb73e8e8b01977d39d67118..1515f9d29274ce713b66bc39c1219654efda601b 100644 (file)
"S" => array("select_server.png" ,_("Server") , "ogroup"),
"F" => array("select_phone.png" ,_("Phone") , "phonequeue"),
"W" => array("select_workstation.png" ,_("Workstation") , "workstartup"),
+ "O" => array("select_winstation.png" ,_("Windows Install") , "ogroup"),
"T" => array("select_terminal.png" ,_("Terminal") , "termgroup"),
"P" => array("select_printer.png" ,_("Printer") , "ogroup"));
"DepartmentGroups" => "(gosaGroupObjects=*D*)" ,
"ServerGroups" => "(gosaGroupObjects=*S*)" ,
"WorkstationGroups" => "(gosaGroupObjects=*W*)" ,
+ "WindowsGroups" => "(gosaGroupObjects=*O*)" ,
"TerminalGroups" => "(gosaGroupObjects=*T*)" ,
"PrinterGroups" => "(gosaGroupObjects=*P*)" ,
"PhoneGroups" => "(gosaGroupObjects=*F*)" );