Code

Some net device fixes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Sep 2006 10:22:58 +0000 (10:22 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Sep 2006 10:22:58 +0000 (10:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4835 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/component.tpl

index 271d247907e1d52c1180ac8a11e1d310e1ec2503..5fb787f61dff12faaaf1214d8c7547894fac13f8 100644 (file)
@@ -4,7 +4,11 @@
        <table summary="">
         <tr>
          <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}</td>
-         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
+         <td>
+{render acl=$cnACL}
+          <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+{/render}
+         </td>
         </tr>
         <tr>
           <td colspan=2>&nbsp;</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}" {$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>
+{render acl=$baseACL}
+           <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
+            {html_options options=$bases selected=$base_select}
+           </select>
+{/render}
+{render acl=$baseACL disable_picture='images/folder_gray.png'}
+        <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+{/render}
+
+          </td>
          </tr>
        </table>
   </td>
        <table summary="">
         <tr>
          <td><LABEL for="description">{t}Description{/t}</LABEL></td>
-         <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
+         <td>  
+{render acl=$descriptionACL}
+          <input id="description" name="description" size=25 maxlength=80 value="{$description}">
+{/render}
+          </td>
         </tr>
        </table>
   </td>