summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e05d5f1)
raw | patch | inline | side by side (parent: e05d5f1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 07:44:18 +0000 (07:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 07:44:18 +0000 (07:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7222 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Ldap.inc | patch | blob | history | |
setup/setup_ldap.tpl | patch | blob | history |
index 8bd9076e771af414b8597f568b6c352382149850..229941f77ed9648553b9a9e2ef68ecbb3d2c6322 100644 (file)
$smarty->assign("resolved_users_count",count($tmp));
$smarty->assign("resolve_filter",$this->resolve_filter);
}
+
+ $base_to_append = $this->base;
+ if(strlen($base_to_append) > 20){
+ $base_to_append = substr($base_to_append,0,17)."...";
+ }
+ $smarty->assign("base_to_append",$base_to_append);
return($smarty -> fetch (get_template_path("../setup/setup_ldap.tpl")));
}
diff --git a/setup/setup_ldap.tpl b/setup/setup_ldap.tpl
index 4ac92892a126f7d9ac8bb230ba24f770a674976e..b1ef46ee1c9addc4647550481a96cd5611b9d807 100644 (file)
--- a/setup/setup_ldap.tpl
+++ b/setup/setup_ldap.tpl
</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}
+ {if $append_base_to_admin_dn},{$base_to_append}{/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>