summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5fba68)
raw | patch | inline | side by side (parent: e5fba68)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 07:45:44 +0000 (07:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Sep 2007 07:45:44 +0000 (07:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7223 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Ldap.inc | patch | blob | history | |
setup/setup_ldap.tpl | patch | blob | history |
index b2c467ef646c48fa7c29bb9057e78ad79382c149..9b5f670eafdfbaf412ef674874fdbb70b750eff5 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 b54c7a6747361d21a2ca2c99ad48ba798b33807e..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>