Code

Added base selction gray out if baseACL == disabled
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 May 2006 07:12:18 +0000 (07:12 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 May 2006 07:12:18 +0000 (07:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3478 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/generic.tpl
plugins/admin/ogroups/generic.tpl

index d9b3d71c767591168db30fbbc12071577f4d5941..addcdf47de13c7a96732413086d2bac734e3dbcc 100644 (file)
       <select id="base" size="1" name="base" {$baseACL} title="{t}Choose subtree to place group in{/t}">
        {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}
      </td>
     </tr>
     <tr>
index 8de8350dcb4e4f2616f1b8037a7b8de64f70010c..182f28ec3d11abea5daf912bbf95b45454a6149b 100644 (file)
       <select size="1" id="base" name="base" {$baseACL} title="{t}Choose subtree to place group in{/t}">
        {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}
      </td>
     </tr>
    </table>