From 7d2905fd34185cf189c2071eb8f5ddec4248f77d Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 May 2006 08:38:46 +0000 Subject: [PATCH] * Layout fixes * Added missing translation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3281 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentGeneric.inc | 6 ++---- plugins/admin/departments/class_departmentManagement.inc | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 5086303fc..3d11f25d7 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -362,8 +362,6 @@ class department extends plugin /* Fix entry if needed */ if ($fix){ $this->handle_object_tagging($attrs['dn'], $this->gosaUnitTag); - } else { - echo "Don't touch: ".$attrs['dn']."
"; } } } @@ -398,7 +396,7 @@ class department extends plugin echo "".$smarty->fetch(get_template_path('headers.tpl')); echo ""; - echo "

".sprintf(_("Moving %s to %s"),"".$src_dn."","".$dst_dn."")."

"; + echo "

".sprintf(_("Moving '%s' to '%s'"),"".$src_dn."","".$dst_dn."")."

"; /* Check if the destination entry exists */ @@ -409,7 +407,7 @@ class department extends plugin if ($ldap->fetch()){ trigger_error("Recursive_move $dst_dn already exists.", E_USER_WARNING); - echo "Recursive_move :$dst_dn already exists.
"; + echo sprintf_("Recursive_move: '%s' already exists.")."
", $dst_dn); return (FALSE); } diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index c15e2a2d6..190682028 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -59,10 +59,10 @@ class departmentManagement extends plugin function execute() { - /* Call parent execute */ - plugin::execute(); + /* Call parent execute */ + plugin::execute(); - $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/"); + $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/"); /* Reload departments */ $this->config->get_departments(); -- 2.30.2