Code

All management dialogs : Added dynamic width to action col
[gosa.git] / plugins / admin / applications / generic.tpl
index 91ee0a9805ce08bd06cde7c44c220da1be0d8f16..7c4128216e8aa8a088279f8d19eaf7928100fed0 100644 (file)
@@ -22,7 +22,7 @@
     <tr>
      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
      <td>
-      <input id="description" name="description" size=35 maxlength=60 {$descriptionACL} value="{$description}">
+      <input id="description" name="description" size=35 maxlength=80 {$descriptionACL} value="{$description}">
      </td>
     </tr>
 
       <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
       <td>
        <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
-        {if $isReleaseApplikation} disabled {/if}>
+        {if $isReleaseApplikation} disabled {/if} {$baseACL}>
         {html_options options=$bases selected=$base_select}
        </select>
+               {if $baseACL == "" && !$isReleaseApplikation}
+            <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>