Code

* Layout fixes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 May 2006 08:38:46 +0000 (08:38 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 May 2006 08:38:46 +0000 (08:38 +0000)
* 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
plugins/admin/departments/class_departmentManagement.inc

index 5086303fc72976bd9042fbe64c4708007b93c9b0..3d11f25d76902769bc729ca94b4bb2720a4b6034 100644 (file)
@@ -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']."<br>";
                        }
                }
        }
@@ -398,7 +396,7 @@ class department extends plugin
                        echo "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
                        echo "<body style='background-image:none;margin:3px;color:black'>";
 
-                       echo "<h3>".sprintf(_("Moving %s to %s"),"<i>".$src_dn."</i>","<i>".$dst_dn."</i>")."</h3>";
+                       echo "<h3>".sprintf(_("Moving '%s' to '%s'"),"<i>".$src_dn."</i>","<i>".$dst_dn."</i>")."</h3>";
 
 
                        /* 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.<br>"
+                               echo sprintf_("Recursive_move: '%s' already exists.")."<br>", $dst_dn)
                                return (FALSE);
                        }
        
index c15e2a2d62f64b732011ee65b5e9ef28784467cf..1906820283c99718eaa76a3b39230ad913d84f64 100644 (file)
@@ -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();