Code

Updated sudo checks
[gosa.git] / gosa-plugins / sudo / admin / sudo / class_target_list_users.inc
index a3ced3292eaa81b49631284f5df02aee3eade537..9e8f26248aafd0aa5ec5757a661e504935cc7d0b 100644 (file)
@@ -26,9 +26,6 @@ class target_list_users extends MultiSelectWindow
   private $list         =array();
   private $Targets_used =array();
 
-  /* Current base */
-  private $departments        = array();
-
   /* Regex */
   protected $Regex              = "*";
 
@@ -48,8 +45,8 @@ class target_list_users extends MultiSelectWindow
     $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 */
@@ -138,8 +135,8 @@ class target_list_users extends MultiSelectWindow
 
     /* Add department selector */
     $listhead .= _("Base")."&nbsp;<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")."'>&nbsp;";
+      " <input class='center' type='image' src='images/lists/submit.png' align='middle'
+      title='"._("Apply")."' name='submit_department' alt='"._("Submit")."'>&nbsp;";
     $listhead .="</div>";
 
     $this->SetListHeader($listhead);
@@ -161,7 +158,6 @@ class target_list_users extends MultiSelectWindow
     /* Add Copy & Paste buttons if copy&paste is enabled
      */
     // Defining Links
-    $linkopen = "<a href='?plug=".$_GET['plug']."&amp;act=dep_open&amp;dep_id=%s'>%s</a>";
     $editlink = "<a href='?plug=".$_GET['plug']."&amp;id=%s&amp;act=edit_entry'>%s</a>";
 
     $ui = get_userinfo();
@@ -178,8 +174,8 @@ class target_list_users extends MultiSelectWindow
         $desc = " - [ ".$val['description'][0]." ]";
       }
 
-      $img1 = "<img src='images/select_user.png'  alt='"._("User")."'  ".$title.">";
-      $img2 = "<img src='images/select_groups.png' alt='"._("Group")."' ".$title.">";
+      $img1 = "<img src='plugins/users/images/select_user.png'  alt='"._("User")."'  ".$title.">";
+      $img2 = "<img src='plugins/groups/images/groups.png' alt='"._("Group")."' ".$title.">";
 
       if(in_array("posixGroup",$val['objectClass'])){
         $img = $img2;