Code

this should do it.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 12:40:26 +0000 (12:40 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 12:40:26 +0000 (12:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2067 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index a162cea4cd846985ad7c2ad61fb543e828463510..617de0f43450df64c7fef51e791b3dcb86f3311b 100644 (file)
@@ -49,8 +49,8 @@ class faiPackageEntry extends plugin
     $divlist->SetEntriesPerPage(0);
     $divlist->SetHeader(array(array("string" => "&nbsp;", "attach" => "style='text-align:center;width:20px;'"),
                               array("string" => "Name", "attach" => "style=''"),
-                              array("string" => "Version", "attach" => "style='width:140px;'"),
-                              array("string" => "Description", "attach" => "style='width:260px;border-right:0px;text-align:left;'")));
+                              array("string" => "Version", "attach" => "style='width:100px;'"),
+                              array("string" => "Description", "attach" => "style='width:240px;border-right:0px;text-align:left;'")));
 
     if(isset($_GET['search'])){
       $this->searchStrPKG= $_GET['search']."*";
@@ -125,9 +125,9 @@ class faiPackageEntry extends plugin
           $chkbox = "<input type='checkbox' value='1' name='use_".base64_encode($pkg[0])."' ".$check." onclick='document.mainform.submit()'>
                    <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=''"),
-                               array("string"=>$pkg[1], "attach" => "style='width:140px;'"),
-                               array("string"=>$pkg[3], "attach" => "style='width:260px;border-right:0px;text-align:left;'")));
+                               array("string"=>$pkg[0], "attach" => "style=''"),
+                               array("string"=>$pkg[1], "attach" => "style='width:100px;'"),
+                               array("string"=>$pkg[3], "attach" => "style='width:240px;border-right:0px;text-align:left;'")));
         }
       }
     }
index ac4c07391efc9ab9717520b74eabf01067e20760..e8e95f66a4ef24bb7eb4ed091db82adb3f2569cd 100644 (file)
@@ -13,7 +13,7 @@
                </div>
                <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
                {$failist}
-               <input type=hidden name="edit_helper">
+               <input type="hidden" name="edit_helper">
                </div>
        </td>
        <td style="vertical-align:top;">
@@ -50,7 +50,7 @@
                                </td>
                                <td width="99%">
                                        <input type='text' name='searchStrPKG' maxlength='40' style='width:99%' value='{$searchStrPKG}' id='filter' 
-                                            title='{t}Regular expression for matching object names{/t}' onChange="mainform.submit()">
+                                            title='{t}Regular expression for matching object names{/t}' onClick="mainform.filter.value='';" onChange="mainform.submit()">
                                </td>
                        </tr>
                </table>
 </tr>
 </table>
 <div align="right" style="align:right;">
-       <input name="SaveSubObject" value="{t}Apply{/t}" type="submit">
-       <input name="CancelSubObject" value="{t}Cancel{/t}" type="submit">
+       <input id="SaveSubObject" name="SaveSubObject" value="{t}Apply{/t}" type="submit">
+       <input id="CancelSubObject" name="CancelSubObject" value="{t}Cancel{/t}" type="submit">
 </div>
 <input type="hidden" name="ignore">
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.cn.focus();
+  document.mainform.filter.focus();
   -->
 </script>