Code

Fixed problem with tagging
[gosa.git] / plugins / admin / systems / printer.tpl
index 8379bfe48e0fae3b21f2e0879577d4013c82615e..808d47f746ec152bcba1a89ff87a20c226810a48 100644 (file)
@@ -2,7 +2,7 @@
 <table summary="" width="100%">
        <tr>
                <td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
-{if $is_terminal ne 'true'}
+{if $StandAlone }
                        <h2>{t}General{/t}</h2>
                        <table summary="">
                         <tr>
                         <tr>
                          <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
                          <td>
-                          <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+                          <select size="1" 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">
+                               {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}
+                               </td>
                          </tr>
                        </table>
                </td>
@@ -35,7 +40,7 @@
                                        <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
                                </tr>
                                <tr>
-                                       <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
+                                       <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
                                        <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
                                </tr>
                        </table>