Code

Updated startup tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 16:31:42 +0000 (16:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 16:31:42 +0000 (16:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16943 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl

index 99ccc4ba640c8de212a84c235fa77b9fbf678539..89c57763528fbb1394267328bec3deea9f0110eb 100644 (file)
@@ -457,7 +457,7 @@ class workstartup extends plugin
     /* Create divSelectBox for ldap server selection
      */
     $SelectBoxLdapServer = new divSelectBox("LdapServer");
-    $SelectBoxLdapServer->SetHeight(130);
+    $SelectBoxLdapServer->SetHeight(100);
 
     /* Add new ldap server to the list */
     if($this->acl_is_writeable("gotoLdapServer") && 
@@ -524,12 +524,14 @@ class workstartup extends plugin
       }
 
       $SelectBoxLdapServer->AddEntry(
-          array(array("string" => $server),
+          array(
+            array(
+              "string" => $server),
             array("string" => 
               "<input class='center' type='image' src='images/lists/sort-up.png' name='sort_ldap_up_".$key."'>&nbsp;".
               "<input class='center' type='image' src='images/lists/sort-down.png' name='sort_ldap_down_".$key."'>&nbsp;".
               "<input class='center' type='image' src='images/lists/trash.png' name='gotoLdapRemove_".$key."'>",
-              "attach" => "style='text-align:right;width:40px;border-right:0px;'")));
+              "attach" => "style='text-align:right;width:60px;border-right:0px;'")));
       }    
     }    
 
@@ -577,7 +579,7 @@ class workstartup extends plugin
     $smarty->assign("si_active",$this->si_active);
 
     $div = new divSelectBox("WSFAIscriptClasses");
-    $div -> SetHeight("110");
+    $div -> SetHeight("100");
   
     if(!$this->si_fai_action_failed && $this->si_active && $this->fai_activated){
 
@@ -678,7 +680,7 @@ class workstartup extends plugin
           $div->AddEntry(array(
                 array("string"=>$class.$marker),
                 array("string"=>$desc),
-                array("string"=>preg_replace("/\%s/",base64_encode($class),$str),"attach"=>"style='width:50px;border-right:none;'")
+                array("string"=>preg_replace("/\%s/",base64_encode($class),$str),"attach"=>"style='width:60px;border-right:none;'")
                 ));
         }  
       }// END FAI output generation 
index 0536dd4709a5171a3b7a699b073dfe1c199b0d88..a00f87dfef6d57af2d05ae7e193612005c927e94 100644 (file)
     </tr>
     <tr>
      <td style='padding-top:3px;' colspan="2">
-<LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL>
+
+  <hr>
+
+<h3><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL></h3>
 {render acl=$gotoLdapServerACL}
 {if $member_of_ogroup}
 (<input type='checkbox' name='gotoLdap_inherit' {if $gotoLdap_inherit} checked {/if} value="1"
        onClick="document.mainform.submit();" class='center'>
 &nbsp;{t}inherit from group{/t})
-{if !$JS}
-       {image path="images/lists/reload.png"}
-
-{/if}
 {/if}
 {/render}
 {render acl=$gotoLdapServerACL_inherit}
                                        </td>
                                </tr>
                        </table>
-                       <h3>
-                               {image path="plugins/goto/images/fai_settings.png"}&nbsp;{t}Assigned FAI classes{/t}
-
-                       </h3>
+                       <h3>{t}Assigned FAI classes{/t}</h3>
        {render acl=$FAIclassACL}
                        {$FAIScriptlist}        
        {/render}
                                        </td>
                                </tr>
                        </table>
-                       <h3>
-                               {image path="plugins/goto/images/fai_settings.png"}&nbsp;{t}Assigned FAI classes{/t}
-
-                       </h3>
+                       <h3>{t}Assigned FAI classes{/t}</h3>
        {render acl=$FAIclassACL}
                        {$FAIScriptlist}        
        {/render}
  <tr>
   <td style='width:50%; ' class='right-border'>
 
-   <h3>
-    {image path="plugins/goto/images/hardware.png"} {t}Kernel modules (format: name parameters){/t}
-
-   </h3>
+   <h3>{t}Kernel modules (format: name parameters){/t}</h3>
 {render acl=$gotoModulesACL}
-    <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
+    <select style="width:100%; height:100px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
      {html_options values=$gotoModules output=$gotoModules}
         <option disabled>&nbsp;</option>
     </select>
                 <tr>
                         <td>
 {render acl=$gotoShareACL}
-                        <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 id="gotoShare">
+                        <select style="width:100%;height:100px;" name="gotoShare" multiple size=4 id="gotoShare">
                                             {html_options values=$gotoShareKeys output=$gotoShares}
                                                                <option disabled>&nbsp;</option>
                                 </select>
 {/render}
                         </td>
                 </tr>
-        </table>
+     </table>
   </td>
  </tr>
 </table>
 <input name="WorkstationStarttabPosted" type="hidden" value="1">
+
+
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page