diff --git a/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc b/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc
index 34cc1e810d745e3b649841446a0dfc92fbd7e452..0b25d7c6adf90171d559f478135f7a8c25fff9cd 100644 (file)
class target_list_users extends MultiSelectWindow
{
- var $config;
- var $list =array();
- var $Targets_used =array();
+ public $config;
+ private $list =array();
+ private $Targets_used =array();
/* Current base */
- var $selectedBase = "";
- var $departments = array();
+ private $departments = array();
/* Regex */
- var $Regex = "*";
+ protected $Regex = "*";
/* CheckBoxes, to change default values modify $this->AddCheckBox */
- var $user ;
- var $group ;
+ protected $user ;
+ protected $group ;
/* Subsearch checkbox */
- var $SubSearch ;
- var $parent ;
- var $ui ;
+ protected $SubSearch ;
+ protected $parent ;
+ protected $ui ;
function target_list_users(&$config,$Targets_used)
{
$this->Targets_used = $Targets_used;
$this->SetInformation( _("Select the target objects"));
- $this->SetTitle( _("Available targets"));
- $this->SetSummary( _("Available targets"));
+ $this->SetTitle( _("Available members"));
+ $this->SetSummary( _("Available members"));
$this->SetHeadpageMode(FALSE);
/* set Page header */
/* Add department selector */
$listhead .= _("Base")." <select name='CurrentMainBase' onChange='mainform.submit()' class='center'>$options</select>".
- " <input class='center' type='image' src='images/list_submit.png' align='middle'
- title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'> ";
+ " <input class='center' type='image' src='images/lists/submit.png' align='middle'
+ title='"._("Apply")."' name='submit_department' alt='"._("Submit")."'> ";
$listhead .="</div>";
$this->SetListHeader($listhead);
}
$img1 = "<img src='images/select_user.png' alt='"._("User")."' ".$title.">";
- $img2 = "<img src='images/select_groups.png' alt='"._("Group")."' ".$title.">";
+ $img2 = "<img src='plugins/groups/images/groups.png' alt='"._("Group")."' ".$title.">";
if(in_array("posixGroup",$val['objectClass'])){
$img = $img2;
array("cn","uid","objectClass","description"), GL_SIZELIMIT | GL_SUBSEARCH));
}
}else{
- $res= get_list($filter, array("users"), get_people_ou().$base,
- array("cn","uid","objectClass","description"), GL_SIZELIMIT );
$res = array();
if($this->user){
$filter = "(&(objectClass=person)(objectClass=gosaAccount))";