From: hickert Date: Thu, 14 Dec 2006 10:50:45 +0000 (+0000) Subject: Added autoscroll to dep rename X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8cf7916219bff58f21b7ea00e06a59ed0a42cd33;p=gosa.git Added autoscroll to dep rename git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5391 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index e81da37b5..5c557e392 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -383,7 +383,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); @@ -403,8 +403,16 @@ class department extends plugin { if(!$OnlySetTagFlag){ $smarty= get_smarty(); - echo "".$smarty->fetch(get_template_path('headers.tpl')); - echo ""; + /* Print out html introduction */ + echo ' + + + + + + + + '; echo "

".sprintf(_("Tagging '%s'."),"".@LDAP::fix($this->dn)."")."

"; } @@ -480,9 +488,16 @@ class department extends plugin /* Print header to have styles included */ $smarty= get_smarty(); - echo "".$smarty->fetch(get_template_path('headers.tpl')); - echo ""; + echo ' + + + + + + + + '; echo "

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

"; @@ -525,7 +540,7 @@ class department extends plugin echo "
".sprintf(_("FAILED to copy %s, aborting operation"),@LDAP::fix($src))."
"; return (FALSE); } - + echo "" ; flush(); } @@ -541,6 +556,7 @@ class department extends plugin
"; + echo "" ; echo ""; return (TRUE);