Code

Udpated JS focus,
[gosa.git] / plugins / admin / ogroups / generic.tpl
index 020b18f81a9686a56f64bafba2693ebecb670dae..63e46382e581ce58a61d5464e7a14f8e82e26dae 100644 (file)
@@ -11,7 +11,7 @@
     </tr>
     <tr>
      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
-     <td><input id="description" name="description" size=40 maxlength=60 {$descriptionACL} value="{$description}" title="{t}Descriptive text for this group{/t}">
+     <td><input id="description" name="description" size=40 maxlength=80 {$descriptionACL} value="{$description}" title="{t}Descriptive text for this group{/t}">
      </td>
     </tr>
     <tr>
       <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>
+               {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>
@@ -44,6 +49,6 @@
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.cn.focus();
+       focus_field('cn');
   -->
 </script>