Code

Some fixed for divlist ....
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Jan 2006 11:54:57 +0000 (11:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Jan 2006 11:54:57 +0000 (11:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2584 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackageEntry.inc
plugins/admin/fai/faiPackageEntry.tpl

index 614ea9dd3f41fb21a8d03965f672e1f79cb04fa9..e4049b865d39893db9dd519b11bf619d0884245c 100644 (file)
@@ -46,7 +46,7 @@ class faiPackageEntry extends plugin
 
     $divlist = new divlist("PackageEntry");
     $divlist->SetSummary(_("This list displays all assigned package names for this repository settings."));
-    $divlist->SetEntriesPerPage(20);
+    $divlist->SetEntriesPerPage(0);
     $divlist->SetHeight("650px;");
     $divlist->SetHeader(array(array("string" => "&nbsp;", "attach" => "style='text-align:center;width:20px;'"),
                               array("string" => "Name", "attach" => "style='width:180px;'"),
@@ -128,8 +128,8 @@ $CHKS = "<input type='hidden' value='chkchange' name='chkchange'><table summary=
                    <input type='hidden' value='1' name='wasonpage_".base64_encode($pkg[0])."'>";
           $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"),
                                array("string"=>$pkg[0], "attach" => "style='width:180px;'"),
-                               array("string"=>$pkg[1]),
-                               array("string"=>$pkg[3], "attach" => "style='width:221px;border-right:0px;text-align:left;'")));
+                               array("string"=>htmlentities($pkg[1])),
+                               array("string"=>htmlentities($pkg[3]), "attach" => "style='width:221px;border-right:0px;text-align:left;'")));
         }
       }
     }
index e9634f1f1cc7b61a8983b1eb4281c12f8aede522..927b2b7649dc6afb34386e822eea9d2a329ed02c 100644 (file)
@@ -22,7 +22,7 @@
                                <img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}
                        </p>
                </div>
-               <div class="contentboxb" style="padding:4px;border-top:1px solid #B0B0B0;">
+               <div class="contentboxb" style="padding:4px;">
                        {t}This menu allows you to select multiple packages to add them to the currently edited package list.{/t}
                </div>
                <br>