From: hickert Date: Wed, 13 Dec 2006 07:25:32 +0000 (+0000) Subject: Added Auto scroll to department tagging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec9779dd68cf3d9edcde06e8b8b084758017be87;p=gosa.git Added Auto scroll to department tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5372 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 5205da944..35ef4c0b7 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -357,7 +357,7 @@ class department extends plugin function ShowTagFrame() { $smarty = get_smarty(); - $smarty->assign("src","?plug=".$_GET['plug']."&TagDepartment"); + $smarty->assign("src","?plug=".$_GET['plug']."&TagDepartment"); $smarty->assign("message","As soon as the tag 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); @@ -368,8 +368,18 @@ 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)."")."

"; } @@ -413,6 +423,7 @@ class department extends plugin return; } $this->handle_object_tagging($attrs['dn'], $this->gosaUnitTag, TRUE ); + echo "" ; } } if(!$OnlySetTagFlag){ @@ -421,6 +432,7 @@ class department extends plugin
"; } + echo "" ; }