Code

Append display base behind the admin dn input field
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jun 2007 09:11:12 +0000 (09:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jun 2007 09:11:12 +0000 (09:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6649 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/setup_ldap.tpl

index a753c8a4c4fedba81cf38af1062b7be10b80b51d..1def567cb2d7ba6f19e2777b411eb653a3595674 100644 (file)
@@ -74,6 +74,7 @@
                </div>
                <div class='step4_value'>
                        <input type='text' name='admin_given' maxlength='160' size='40' value='{$admin_given}'>
+                       {if $append_base_to_admin_dn}{$base}{/if}
                        <input type='image' class='center' src='images/folder.png' title='{t}Select user{/t}' name='resolve_user' alt='{t}Select user{/t}'>
                </div>
        </div>
@@ -82,7 +83,7 @@
                <div class='step4_name'> 
                </div>
                <div class='step4_value'>
-                       <input {if $append_base_to_admin_dn} checked {/if} type='checkbox' name='append_base_to_admin_dn' value='1'>&nbsp;{t}Automatically append LDAP base to admin DN{/t}
+                       <input onClick='document.mainform.submit();' {if $append_base_to_admin_dn} checked {/if} type='checkbox' name='append_base_to_admin_dn' value='1'>&nbsp;{t}Automatically append LDAP base to admin DN{/t}
                </div>
        </div>