From: hickert Date: Thu, 14 Dec 2006 08:23:37 +0000 (+0000) Subject: Added Autoscroll for department rename X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ae51e8e71e37806e2cdd913cea201c3751d1086d;p=gosa.git Added Autoscroll for department rename git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5390 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 35ef4c0b7..7c06af858 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -348,7 +348,7 @@ class department extends plugin function ShowMoveFrame() { $smarty = get_smarty(); - $smarty->assign("src","?plug=".$_GET['plug']."&PerformRecMove"); + $smarty->assign("src","?plug=".$_GET['plug']."&PerformRecMove"); $smarty->assign("message","As soon as the move operation has finished, you can scroll down to end of the page and press the 'Continue' button to continue with the department management dialog."); $display= $smarty->fetch(get_template_path("dep_iframe.tpl",TRUE)); return($display); @@ -432,7 +432,6 @@ class department extends plugin
"; } - echo "" ; } @@ -457,11 +456,19 @@ class department extends plugin /* Print header to have styles included */ $smarty= get_smarty(); - echo "".$smarty->fetch(get_template_path('headers.tpl')); - echo ""; - echo "

".sprintf(_("Moving '%s' to '%s'"),"".@LDAP::fix($src_dn)."","".@LDAP::fix($dst_dn)."")."

"; + /* Print out html introduction */ + echo ' + + + + + + + + '; + echo "

".sprintf(_("Moving '%s' to '%s'"),"".@LDAP::fix($src_dn)."","".@LDAP::fix($dst_dn)."")."

"; /* Check if the destination entry exists */ $ldap= $this->config->get_ldap_link(); @@ -498,11 +505,12 @@ class department extends plugin echo ""._("Object").": ".@LDAP::fix($src)."
"; - if (!$this->copy($src, $dst)){ + if (!$this->copy($src, $dst)){ echo "
".sprintf(_("FAILED to copy %s, aborting operation"),@LDAP::fix($src))."
"; return (FALSE); } + echo "" ; flush(); } @@ -518,6 +526,7 @@ class department extends plugin
"; + echo "" ; echo ""; return (TRUE);