diff --git a/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc b/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc
index e46b946f889bd330725b9dde84d783a47811c913..64a676a481340f95b471d17393cfe95e642ed535 100644 (file)
class target_list_systems extends MultiSelectWindow
{
- var $config;
- var $list =array();
- var $Targets_used =array();
-
- /* Current base */
- var $selectedBase = "";
- var $departments = array();
+ public $config;
+ protected $list =array();
+ private $Targets_used =array();
/* Regex */
- var $Regex = "*";
+ protected $Regex = "*";
/* CheckBoxes, to change default values modify $this->AddCheckBox */
- var $servers ;
- var $workstations ;
- var $terminals ;
+ protected $servers ;
+ protected $workstations ;
+ protected $terminals ;
/* Subsearch checkbox */
- var $SubSearch ;
- var $parent ;
- var $ui ;
+ protected $SubSearch ;
+ protected $parent ;
+ public $ui ;
function target_list_systems(&$config,$Targets_used)
$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 */
/* 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='"._("Submit")."' name='submit_department' alt='"._("Submit")."'> ";
$listhead .="</div>";
$this->SetListHeader($listhead);
/* Add Copy & Paste buttons if copy&paste is enabled
*/
// Defining Links
- $linkopen = "<a href='?plug=".$_GET['plug']."&act=dep_open&dep_id=%s'>%s</a>";
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
$ui = get_userinfo();
$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.">";
+ $img = "<img src='plugins/systems/images/select_workstation.png' alt='"._("Workstation")."' ".$title.">";
}elseif(in_array("gotoTerminal",$val['objectClass'])){
- $img = "<img src='images/select_terminal.png' alt='"._("Terminal")."' ".$title.">";
+ $img = "<img src='plugins/systems/images/select_terminal.png' alt='"._("Terminal")."' ".$title.">";
}
/* Create each field */