From a0662de7ddc58c15861734789682e2bdb7bb9804 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Dec 2006 07:17:03 +0000 Subject: [PATCH] Added Auto-Scroll to FAI-new-branch Iframe. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5371 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ldap.inc | 2 ++ plugins/admin/fai/class_faiManagement.inc | 15 ++++++++++++--- plugins/admin/fai/faiNewBranch.tpl | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/include/class_ldap.inc b/include/class_ldap.inc index b57755ab8..affcc67a9 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -598,6 +598,8 @@ class LDAP{ } } + echo "" ; + $this->ls ("(objectClass=*)",$sourcedn); while ($this->fetch()){ $deldn= $this->getDN(); diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 2bd6dd156..7175099fd 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -398,9 +398,16 @@ class faiManagement extends plugin $appsrc = preg_replace("/ou=fai,ou=configs,ou=systems,/","ou=apps,",$baseToUse); $appdst = preg_replace("/ou=fai,ou=configs,ou=systems,/","ou=apps,","ou=".$name.",".$baseToUse) ; - /* Print header to have styles included */ - echo "".$smarty->fetch(get_template_path('headers.tpl')); - echo ""; + /* Print out html introduction */ + echo ' + + + + + + + + '; /* Duplicate applications */ @@ -420,6 +427,8 @@ class faiManagement extends plugin
"; + echo "" ; + /* Print footer to have valid html */ echo ""; diff --git a/plugins/admin/fai/faiNewBranch.tpl b/plugins/admin/fai/faiNewBranch.tpl index ec7dbf490..322f98ef2 100755 --- a/plugins/admin/fai/faiNewBranch.tpl +++ b/plugins/admin/fai/faiNewBranch.tpl @@ -37,11 +37,11 @@

-
-- 2.30.2