From: hickert Date: Fri, 3 Mar 2006 11:30:23 +0000 (+0000) Subject: some more branch information X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8905439ce18e1d01f42287481c201d6452a759e0;p=gosa.git some more branch information git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2809 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 142235dba..c6193c635 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -403,13 +403,26 @@ class LDAP{ if($is_first){ - echo "". - sprintf(_("Creating duplicate of '%s' in '%s':
"),$sourcedn,$destinationdn)."
"; + echo "

". + sprintf(_("Creating duplicate of %s in %s"),"
".$sourcedn."
","
".$destinationdn."
")."

"; }else{ if($depth == 1 ){ - echo "
"._("creating")." : ".preg_replace("/,.*$/","",$destinationdn); + echo "

"._("Processing")." : ".preg_replace("/,.*$/","",$destinationdn)."

"; }else{ - echo ". "; + $tmp = split(",",$sourcedn); + echo "Current object : "; + for($i = 0; $i < ($depth -1 ) ; $i ++) { + echo preg_replace("/^.*=/","",$tmp[$i])." "; + } + echo ""; + echo ":
"; + + $deststr = $destinationdn; + if(strlen($deststr) > 96){ + $deststr = substr($deststr,0,96)."..."; + } + + echo "".$deststr."
"; } }