summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83fdfd7)
raw | patch | inline | side by side (parent: 83fdfd7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Mar 2006 11:30:23 +0000 (11:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Mar 2006 11:30:23 +0000 (11:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2809 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 142235dba64023eefad71e9c7b2369966c5aed26..c6193c635039e99e16cb4967bfe92f36a89f6c94 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
if($is_first){
- echo "<font style='font-size:11px;'><b>".
- sprintf(_("Creating duplicate of '%s' in '%s':<br>"),$sourcedn,$destinationdn)."</b>";
+ echo "<font style='font-size:11px;'><h4>".
+ sprintf(_("Creating duplicate of %s in %s"),"<br><i>".$sourcedn."</i><br>","<br><i>".$destinationdn."</i><br>")."</h4>";
}else{
if($depth == 1 ){
- echo "<br>"._("creating")." : ".preg_replace("/,.*$/","",$destinationdn);
+ echo "<br><h3>"._("Processing")." : ".preg_replace("/,.*$/","",$destinationdn)."</h3>";
}else{
- echo ". ";
+ $tmp = split(",",$sourcedn);
+ echo "<b>Current object : ";
+ for($i = 0; $i < ($depth -1 ) ; $i ++) {
+ echo preg_replace("/^.*=/","",$tmp[$i])." ";
+ }
+ echo "</b>";
+ echo ": <br>";
+
+ $deststr = $destinationdn;
+ if(strlen($deststr) > 96){
+ $deststr = substr($deststr,0,96)."...";
+ }
+
+ echo "".$deststr."</br>";
}
}