Code

Fixed save problem when no kolab object is present
[gosa.git] / plugins / admin / systems / servservice.tpl
index 5939997f58bbe9fc910e82bc0b609c85c373bce0..cf6063ce7a939de68f2d93947ea9e2ead5ad76b7 100644 (file)
    <table>
     <tr>
      <td>
-               <select style="width:350px;" id="goExportEntry" name="goExportEntry" {$goNfsServerState} size=4 multiple {$trustmodeACL} {$trusthide}>
+               <select style="width:350px;" id="goExportEntry" name="goExportEntry" {$goExportEntryACL} {$goNfsServerState} size=4 multiple >
                {html_options values=$goExportEntry output=$goExportEntry}
+                       <option disabled></option>
            </select>
        <br>    
                <input type="text"              name="NewNfsExport" {$goNfsServerState} id="NewNfsExportId"> 
-               <input type="submit"    value="{t}Add{/t}"              name="NewNfsAdd"        {$goNfsServerState} id="NewNfsAddId"> 
-               <input type="submit"    value="{t}Delete{/t}"   name="DelNfsEnt"        {$goNfsServerState} id="DelNfsEntId">
+               <input type="submit"    value="{t}Add{/t}"              name="NewNfsAdd" {$goNfsServer} {$goExportEntryACL}     {$goNfsServerState} id="NewNfsAddId"> 
+               <input type="submit"    value="{t}Delete{/t}"   name="DelNfsEnt" {$goNfsServer} {$goExportEntryACL}     {$goNfsServerState} id="DelNfsEntId">
        </td>
        </tr>
    </table>
    <table>
     <tr>
      <td>
-        <select style="width:350px;" id="goTimeEntry" name="goTimeSource" {$goNtpServerState} size=4 multiple {$trustmodeACL} {$trusthide}>
+        <select style="width:350px;" id="goTimeEntry" name="goTimeSource" {$goNtpServerState} {$goTimeSourceACL}  size=4 multiple>
             {html_options values=$goTimeSource output=$goTimeSource}
+                       <option disabled></option>
         </select>
     <br>
         <input type="text" name="NewNTPExport" {$goNtpServerState} id="NewNTPExportId">
-        <input type="submit"    value="{t}Add{/t}"      name="NewNTPAdd"    {$goNtpServerState} id="NewNTPAddId">
-        <input type="submit"    value="{t}Delete{/t}"   name="DelNTPEnt"    {$goNtpServerState} id="DelNTPEntId">
+        <input type="submit"    value="{t}Add{/t}"      name="NewNTPAdd"    {$goNtpServerState} {$goTimeSourceACL} id="NewNTPAddId">
+        <input type="submit"    value="{t}Delete{/t}"   name="DelNTPEnt"    {$goNtpServerState} {$goTimeSourceACL} id="DelNTPEntId">
     </td>
        </tr>
    </table>
@@ -58,7 +60,7 @@
 
      <b>{t}LDAP Service{/t}</b>
 
-               <input type="text" name="goLdapBase" {$goLdapServerState} id="goLdapBaseId">
+               <input type="text"      value="{$goLdapBase}"     {$goLdapBaseACL}    name="goLdapBase" {$goLdapServerState} id="goLdapBaseId">
 
        <p class="seperator">&nbsp;</p>
     <br>
      <b>{t}Terminal Service{/t}</b>
 
   <table>
-    <tr>
-        <td> Font path </td>
-        <td> <input type="text" name="goFontPath" {$goTerminalServerState} id="FontPathId"></td>
-       </tr>
        <tr>
-        <td>Temporary disable login </td>
-        <td><input type="checkbox"  value="1"                  name="goXdmcpIsEnabled" {$goTerminalServerState} id="Temporariid"> </td>
+        <td colspan=2>
+         <input type="checkbox"  value="1" name="goXdmcpIsEnabled" {$goTerminalServerState} {$goXdmcpIsEnabledACL} id="Temporariid"> {t}Temporary disable login{/t}</td>
     </tr>
+    <tr>
+        <td>{t}Font path{/t}</td>
+        <td> <input type="text"      value="{$goFontPath}"         name="goFontPath" {$goTerminalServerState} {$goXdmcpIsEnabledACL}  id="FontPathId"></td>
+       </tr>
    </table>
 
 
@@ -96,7 +98,9 @@
 
      <input type=checkbox name="goCupsServer" value="1" {$goCupsServer} {$goCupsServerACL}>
 
-     <b>{t} Print Service{/t}</b>
+     <b>{t}Print Service{/t}</b>
        </td>   
  </tr>
 </table>
+
+<input type="hidden" name="servicetab">