Code

Added a first Idea of the config registry
[gosa.git] / gosa-core / include / class_multi_plug.inc
index c999641c1a0f8cb351daea6b54b07e9940bb2107..a6cbc9410df2aa1652403bcd071599be471e8e62 100644 (file)
@@ -156,7 +156,7 @@ class multi_plug
     /* Initialize collector object 
      * Used to display the ui and to collect the user input.
      */
-    $this->o_tab    = new $class($config,$tab,"new",$acl_category);
+    $this->o_tab    = new $class($config,$tab,"new",$acl_category, TRUE, TRUE);
     $this->o_tab->set_acl_base($acl_base);
     $this->by_object = &$this->o_tab->by_object;
     $this->by_name   = &$this->o_tab->by_name;
@@ -173,7 +173,7 @@ class multi_plug
       /* Initialize the objects we want to edit at once 
        */
       foreach($dns as $dn){
-        $obj = new $class($config,$tab,$dn,$acl_category);
+        $obj = new $class($config,$tab,$dn,$acl_category, TRUE, TRUE);
         $obj->set_acl_base($acl_base);
         $this->a_handles[] = $obj;
       }
@@ -388,7 +388,7 @@ class multi_plug
   {
     foreach($this->a_handles as $i_id => $o_handle){
       if($o_handle->password_change_needed() && isset($o_handle->by_object['user'])){
-        new msg_dialog(_("Password reset"),_("The user password was resetted, please set a new password value!"),WARNING_DIALOG);
+        new msg_dialog(_("Reset password"),_("The user password has been reset. Please set a new password!"),WARNING_DIALOG);
         change_password ($o_handle->dn, "",0, $o_handle->by_object['user']->pw_storage);
       }
     }