AddCheckBox */
var $parent ;
var $ui ;
function divListSystemService ($config,$parent)
{
MultiSelectWindow::MultiSelectWindow($config,"SystemService", "server");
$this->parent = $parent;
$this->ui = get_userinfo();
/* Set list strings */
$this->SetTitle(_("Installed services"));
$this->SetSummary(_("Installed services"));
/* Result page will look like a headpage */
// $this->SetHeadpageMode();
$this->SetInformation(_("This menu allows you to add, remove and configure the properties of a specific service."));
/* Disable buttonsm */
$this->EnableCloseButton(false);
$this->EnableSaveButton (false);
/* set Page header */
$this->AddHeader(array("string"=>" ","attach"=>"style='width:20px;'"));
$this->AddHeader(array("string"=>_("Service name")));
$this->AddHeader(array("string"=>_("Actions"),"attach"=>"style='width:100px;border-right:0px;'"));
$this->HideFilterPart();
$this->SetHeight(500);
}
function GenHeader()
{
/* Prepare departments,
which are shown in the listbox on top of the listbox
*/
$options= "";
foreach ($this->config->idepartments as $key => $value){
if ($this->selectedBase == $key){
$options.= "";
} else {
$options.= "";
}
}
$listhead = "