Code

Added subtree search to selectUserToPrinter
[gosa.git] / plugins / admin / systems / phone.tpl
index 76a0c8703143cb1dcf0fa87043719f53a14e1152..d8172cf63b1e2a56f0c792ee5f6aacd1905d19f7 100644 (file)
@@ -1,6 +1,6 @@
 <table summary="" width="100%">
  <tr>
-  <td style="vertical-align:top; width:50%;">
+  <td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
        <table summary="">
         <tr>
          <td><LABEL for="cn">{t}Phone name{/t}</LABEL>{$must}</td>
         <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>
+               {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>
@@ -33,7 +39,7 @@
 {include file="$phonesettings"}
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
-{include file="$netconfig"}
+{$netconfig}
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">