Code

Updated FAI packages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 06:46:04 +0000 (06:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 06:46:04 +0000 (06:46 +0000)
-Fixed list layout for package add

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10373 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 90af3bbf1f065ea920cab313c65701909cee972c..e90f48b4fa801f74d90ad0de902ca12e3258cc5a 100644 (file)
@@ -90,11 +90,11 @@ class faiPackageEntry extends plugin
     $divlist->SetPluginMode();
     $divlist->SetSummary(_("This list displays all assigned package names for this repository settings."));
     $divlist->SetEntriesPerPage(0);
-    $divlist->SetHeight("650px;");
+    #$divlist->SetHeight("650px;");
     $divlist->SetHeader(array(array("string" => "&nbsp;", "attach" => "style='text-align:center;width:20px;'"),
                               array("string" => "Name", "attach" => "style='width:180px;'"),
-                              array("string" => "Version", "attach" ),
-                              array("string" => "Description", "attach" => "style='width:240px;border-right:0px;text-align:left;'")));
+                              array("string" => "Version", "attach"=>"style='width:240px;'" ),
+                              array("string" => "Description", "attach" => "style='border-right:0px;text-align:left;'")));
 
     foreach($this->pkgs as $pkg){
       if(in_array($pkg['PACKAGE'],$this->selected)){
@@ -106,8 +106,8 @@ class faiPackageEntry extends plugin
         <input type='hidden' value='1' name='wasonpage_".base64_encode($pkg['PACKAGE'])."'>";
       $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"),
             array("string"=>$pkg['PACKAGE'], "attach" => "style='width:180px;'"),
-            array("string"=>htmlentities($pkg['VERSION'])),
-            array("string"=>htmlentities($pkg['DESCRIPTION']), "attach" => "style='width:240px;border-right:0px;text-align:left;'")));
+            array("string"=>"<div style='width:238px; overflow:hidden;'>".htmlentities($pkg['VERSION']),   "attach" => "style='width:240px'"),
+            array("string"=>htmlentities($pkg['DESCRIPTION']), "attach" => "style='border-right:0px;text-align:left;'")));
     }
 
     $smarty->assign("Section_boxes"          , $Section_boxes);
index 7d40a028945fabbc37c2d21080feb8bf0cf5da98..d21e576c223295f944d7b9b574dfbaa58548570d 100644 (file)
@@ -11,9 +11,7 @@
                </div>
                <div style='height:4px;'>
                </div>
-               <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
-               {$failist}
-               <input type="hidden" name="edit_helper">
+               <div class="contentboxb" style="border-top:1px solid #B0B0B0;">{$failist}<input type="hidden" name="edit_helper">
                </div>
        </td>
        <td style="vertical-align:top;">