Code

Updated image
[gosa.git] / gosa-plugins / sudo / admin / sudo / class_target_list_systems.inc
index 26206cba888eaf1936c8a6c88f69a49223633e33..8654ece7040efc95c5a6f00c0ba65698a4a0f0a7 100644 (file)
@@ -26,9 +26,6 @@ class target_list_systems extends MultiSelectWindow
   protected $list         =array();
   private $Targets_used =array();
 
-  /* Current base */
-  private $departments       = array();
-
   /* Regex */
   protected $Regex           = "*";
 
@@ -51,8 +48,8 @@ class target_list_systems extends MultiSelectWindow
     $this->Targets_used = $Targets_used;
     
     $this->SetInformation(  _("Select the target objects for your scheduled action."));
-    $this->SetTitle(        _("Available targets"));
-    $this->SetSummary(      _("Available targets"));
+    $this->SetTitle(        _("Available systems"));
+    $this->SetSummary(      _("Available systems"));
     $this->SetHeadpageMode(FALSE);
     
     /* set Page header */
@@ -142,7 +139,7 @@ class target_list_systems 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/lists/submit.png' align='middle'
-      title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;";
+      title='"._("Submit")."' name='submit_department' alt='"._("Submit")."'>&nbsp;";
     $listhead .="</div>";
 
     $this->SetListHeader($listhead);
@@ -164,7 +161,6 @@ class target_list_systems 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();
@@ -184,7 +180,7 @@ class target_list_systems extends MultiSelectWindow
 
       $img ="?";
       if(in_array("goServer",$val['objectClass'])){
-        $img = "<img src='images/select_server.png' alt='"._("Server")."' ".$title.">";
+        $img = "<img src='plugins/systems/images/select_server.png' alt='"._("Server")."' ".$title.">";
       }elseif(in_array("gotoWorkstation",$val['objectClass'])){
         $img = "<img src='images/select_workstation.png' alt='"._("Workstation")."' ".$title.">";
       }elseif(in_array("gotoTerminal",$val['objectClass'])){