Code

All management dialogs : Added dynamic width to action col
[gosa.git] / plugins / admin / applications / generic.tpl
index 0daeb12360ec924cadf0e561a9d3d2e4c901cf21..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>
 
     <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}">
+       <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
+        {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>