summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e289297)
raw | patch | inline | side by side (parent: e289297)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Oct 2007 08:41:06 +0000 (08:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Oct 2007 08:41:06 +0000 (08:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7626 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/gotomasses/class_divListMasses.inc | patch | blob | history | |
plugins/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/plugins/addons/gotomasses/class_divListMasses.inc b/plugins/addons/gotomasses/class_divListMasses.inc
index f6c1bea9c96b3def9bbf1138130ccee2443dcda3..ff912bd290c8627ded06a77ace29f98e6c3f529a 100644 (file)
$this->$name = TRUE;
$this->AddCheckBox($name,$desc,$desc,TRUE);
}
- $this->GenHeader();
+ $plug = $_GET['plug'];
+
+ /* Toggle all selected / deselected */
+ $chk = "<input type='checkbox' id='select_all' name='select_all'
+ onClick='toggle_all_(\"^item_selected_[0-9]*$\",\"select_all\");' >";
+
+ /* set Page header */
+ $this->AddHeader(array("string"=> $chk, "attach"=>"style='width:20px;'"));
+
+ $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=object'>"._("Target")."</a>"));
+ $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=schedule'>"._("Schedule")."</a>",
+ "attach"=>"style='width:100px;'"));
+ $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=action'>"._("Type")."</a>",
+ "attach"=>"style='width:80px;'"));
+ $this->AddHeader(array("string"=>_("Action"),
+ "attach"=>"style='border-right:0px;width:40px;'"));
}
function GenHeader()
/* Create divlist */
$this->SetListHeader($header);
- $plug = $_GET['plug'];
-
- /* Toggle all selected / deselected */
- $chk = "<input type='checkbox' id='select_all' name='select_all'
- onClick='toggle_all_(\"^item_selected_[0-9]*$\",\"select_all\");' >";
-
- /* set Page header */
- $this->AddHeader(array("string"=> $chk, "attach"=>"style='width:20px;'"));
-
- $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=object'>"._("Target")."</a>"));
- $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=schedule'>"._("Schedule")."</a>",
- "attach"=>"style='width:100px;'"));
- $this->AddHeader(array("string"=>"<a href='?plug=".$plug."&sort=action'>"._("Type")."</a>",
- "attach"=>"style='width:80px;'"));
- $this->AddHeader(array("string"=>_("Action"),
- "attach"=>"style='border-right:0px;width:40px;'"));
}
function execute()
diff --git a/plugins/addons/gotomasses/class_gotomasses.inc b/plugins/addons/gotomasses/class_gotomasses.inc
index e54e70119368a01baea7a783202889f443d562e7..1dc2d9fc08ce739ee5e329f988d54173bed3d388 100644 (file)
* Handle Divlist
************/
- $this->divlist->ClearElementsList();
+ $this->divlist->execute();
$this->divlist->SetEntries($this->tasks);
return($this->divlist->Draw());
}