Code

Some changes for testing divlist
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Aug 2007 12:24:46 +0000 (12:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Aug 2007 12:24:46 +0000 (12:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7090 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/gotomasses/class_goto_task.inc
plugins/addons/gotomasses/goto_task.tpl

index d46010b9a16292c4bef87010f42fb7a785d0d8c6..5aae42d5a6c8552415d33794cca4d5b48829ba33 100644 (file)
@@ -112,7 +112,7 @@ class goto_task extends plugin
      ********/
 
     $divlist = new divlist("goto_task");
-    $divlist->SetWidth("100%");
+    $divlist->SetWidth("600");
     $divlist->SetHeight("160");
     $divlist->SetEntriesPerPage(0);
 
@@ -122,7 +122,7 @@ class goto_task extends plugin
 
     $acl_target = $this->parent->getacl("Target");
     foreach($this->Target as $key => $target){
-      $field1 = array("string" => $target);
+      $field1 = array("string" => $target, "attach" => "style:''");
       if(preg_match("/w/i",$acl_target)){
         $field2 = array("string" => "<input type='image' src='images/edittrash.png' name='remove_".$key."'>" , 
                                     "attach" => "style='width:44px;border-right:0px;'");
index ee47505d0dfaa12633821b033953673697c8d9f7..f4d3377b52ee70a73a2afccd8746dfb15a99de5c 100644 (file)
        </tr>
        <tr>
                <td colspan="2">
-            <table  summary="" style="border:1px solid #B0B0B0; " cellspacing=0 cellpadding=0>
+            <table  summary="" style="border:1px solid #B0B0B0;width:100%; " id="t_scrolltable" cellspacing=0 cellpadding=0>
                 <tr>
                     <td>
                                                {render acl=$TargetACL}