summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6787b39)
raw | patch | inline | side by side (parent: 6787b39)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 07:49:55 +0000 (07:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 07:49:55 +0000 (07:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9092 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/class_target_list.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/class_target_list.inc b/gosa-plugins/goto/addons/gotomasses/class_target_list.inc
index 2cf1a24e17865d4098dcda558b23d711006507e0..f6685dd665f90eebbe1503772ccd935d89714d4c 100644 (file)
var $ogroups ;
var $servers ;
var $workstations ;
+ var $incoming ;
/* Subsearch checkbox */
function target_list(&$config,$Targets_used)
{
- MultiSelectWindow::MultiSelectWindow($config, "Targetselection", array("ogroup","gotomasses"));
+ MultiSelectWindow::MultiSelectWindow($config, "Targetselection", array("ogroup","server","incoming","workstation","gotomasses"));
$this->Targets_used = $Targets_used;
$this->AddCheckBox("ogroups", _("Select to see object groups"), _("Show object groups"), true);
$this->AddCheckBox("servers", _("Select to see servers") , _("Show servers"), true);
$this->AddCheckBox("workstations", _("Select to see workstations"),_("Show workstations"), true);
+ $this->AddCheckBox("incoming", _("Select to see incoming objects") , _("Show new objects"), true);
/* Add SubSearch checkbox */
$this->AddCheckBox(SEPERATOR);
$chk = array(
"ogroups" => "(&(objectClass=gosaGroupOfNames)(|(gosaGroupObjects=*S*)(gosaGroupObjects=*W*)))" ,
"servers" => "(objectClass=goServer)" ,
+ "incoming" => "(objectClass=GOhard)" ,
"workstations" => "(objectClass=gotoWorkstation)");
/* Create filter */
array("cn","objectClass","ipHostNumber","description"), GL_SIZELIMIT ));
$res= array_merge($res,get_list($filter, "server", get_ou('serverou').$base,
array("cn","objectClass","ipHostNumber","description"), GL_SIZELIMIT ));
+
+ $deps_a = array(
+ get_ou("workstationou"),
+ get_ou("incominou"),
+ get_ou("serverou"),
+ get_ou("ogroupou"));
+
+ $res = get_sub_list($filter,array("server","incoming","workstation","ogroup"),
+ $deps_a,get_ou("systemsou").$base,array("cn","objectClass","ipHostNumber","description"),GL_SIZELIMIT);
}
$this->list= $res;