From: janw Date: Tue, 21 Aug 2007 13:47:13 +0000 (+0000) Subject: Added some changes to fix divlist in goto_task. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99b73ad308204138ae34c594dd4006d389cfda2a;p=gosa.git Added some changes to fix divlist in goto_task. Need to check if it breaks other divlists. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7091 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/include/focus.js b/html/include/focus.js index f01d1046c..082061988 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -382,7 +382,7 @@ function adjust_width(e) { var width= parseInt(window.innerWidth); // Resize the body cells - var diff= width-div_width-470; + var diff= width-div_width-200; // window has been upscaled if(div_width+diff>=600) { diff --git a/plugins/addons/gotomasses/class_goto_task.inc b/plugins/addons/gotomasses/class_goto_task.inc index 5aae42d5a..6631e0dab 100644 --- a/plugins/addons/gotomasses/class_goto_task.inc +++ b/plugins/addons/gotomasses/class_goto_task.inc @@ -112,13 +112,13 @@ class goto_task extends plugin ********/ $divlist = new divlist("goto_task"); - $divlist->SetWidth("600"); + //$divlist->SetWidth("600"); $divlist->SetHeight("160"); $divlist->SetEntriesPerPage(0); $divlist->SetHeader(array( - array("string" => "Target"), - array("string" => "Actions" , "attach" => "style='width:44px;border-right:0px;'"))); + array("string" => "Target", "attach" => "style=''"), + array("string" => "Actions" , "attach" => "style='width:44px;border-right:0px;text-align:right;'"))); $acl_target = $this->parent->getacl("Target"); foreach($this->Target as $key => $target){ diff --git a/plugins/addons/gotomasses/goto_task.tpl b/plugins/addons/gotomasses/goto_task.tpl index f4d3377b5..3dd8a97c7 100644 --- a/plugins/addons/gotomasses/goto_task.tpl +++ b/plugins/addons/gotomasses/goto_task.tpl @@ -101,7 +101,7 @@ - +
{render acl=$TargetACL}