Code

Fixed layout, added sorting to shares
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 08:59:27 +0000 (08:59 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 08:59:27 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3104 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servService.inc
plugins/admin/systems/servservice.tpl

index 4dfa7d34ef51111b10c70480638a43668f587419..e4984e3dead1910763bc60a64a5bba0fdf7d78d1 100644 (file)
@@ -170,6 +170,7 @@ class servservice extends plugin
     }
     
     $tellSmarty=array();
+    ksort($this->goExportEntry);
     foreach($this->goExportEntry as $name=>$values){
        $tmp = split("\|",$values);
        $tellSmarty[$name] = $tmp[0]." ".$tmp[4];
index 675d2ca61181e04167a063e3173ed2f677c93117..d9a485d39372bd200ac962ef8fe54f44d784479d 100644 (file)
@@ -9,10 +9,10 @@
                        changeState('NewNfsAddId');"> 
 
                <b>{t}Shares{/t}</b>
-   <table summary="">
+   <table summary="" style="width:100%">
     <tr>
      <td>
-               <select style="width:350px;" id="goExportEntry" name="goExportEntry" {$goExportEntryACL} {$goShareServerState} size=4 multiple >
+               <select style="width:100%" id="goExportEntry" name="goExportEntry" {$goExportEntryACL} {$goShareServerState} size=12 multiple >
                {html_options values=$goExportEntry output=$goExportEntryKeys}
                        <option disabled>&nbsp;</option>
            </select>
             changeState('NewNTPAddId');">
 
         <b>{t}Time Service{/t}</b>
-   <table summary="">
+   <table summary="" stlye="width:100%">
     <tr>
      <td>
-        <select style="width:350px;" id="goTimeEntry" name="goTimeSource[]" {$goNtpServerState} {$goNtpServerACL}  size=4 multiple>
+        <select style="width:100%;" id="goTimeEntry" name="goTimeSource[]" {$goNtpServerState} {$goNtpServerACL}  size=4 multiple>
             {html_options values=$goTimeSource output=$goTimeSource}
                        <option disabled>&nbsp;</option>
         </select>
 
 
   </td>
-  <td width="50%">
+  <td style="width:50%;vertical-align:top">
 
   <input type=checkbox name="goLdapServer" value="1" {$goLdapServer} {$goLdapServerACL}
             onchange="changeState('goLdapBaseId');">
 
-     <b>{t}LDAP Service{/t}</b>
-
-               <input type="text"      value="{$goLdapBase}"     {$goLdapBaseACL}    name="goLdapBase" {$goLdapServerState} id="goLdapBaseId">
+     <b>{t}LDAP Service{/t}</b>&nbsp;<input type="text" style="width:70%" value="{$goLdapBase}"     {$goLdapBaseACL}    name="goLdapBase" {$goLdapServerState} id="goLdapBaseId">
 
        <p class="seperator">&nbsp;</p>
     <br>