Code

Fixed typo
[gosa.git] / plugins / admin / systems / workstation.tpl
index 4a1ac0e695ce64f799e3a107ef7a09463fa1cf18..b48817dd7945960698d5a5aa4b9f5bdbf8125d15 100644 (file)
     <tr>
      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
      <td>
-      <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
+      <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
        {html_options options=$bases selected=$base_select}
       </select>
-               <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+           {if $baseACL == ""}
+            <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+        {else}
+            <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+        {/if}
     </tr>
    </table>
   </td>
@@ -43,7 +47,7 @@
      <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
      <td>
       <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
-       {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
+       {html_options options=$syslogservers selected=$gotoSyslogServer_select}
       </select>
      </td>
     </tr>
@@ -69,7 +73,7 @@
       </select>
      <br>
       <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
-       {html_options output=$gotoNtpServers values=$gotoNtpServers}
+       {html_options options=$gotoNtpServers}
       </select>
         <input type="submit" name="addNtpServer" value="{t}Add{/t}"     id="addNtpServer" {$gotoNtpServerACL}
          {if $inheritTimeServer} disabled {/if}>