Code

Fixed tagging of printer objects
[gosa.git] / plugins / admin / applications / class_applicationParameters.inc
index 310efad57a9543ca33a0f7db7bd2eb9a0453b703..0de0560404742f56211a64a9b378e3ba35a9c239 100644 (file)
@@ -49,10 +49,10 @@ class applicationParameters extends plugin
        $display= "";
        if ($this->parent != NULL){
                if ($this->is_account){
-                       $display= $this->show_header(_("Remove options"),
+                       $display= $this->show_disable_header(_("Remove options"),
                                _("This application has options. You can disable them by clicking below."));
                } else {
-                       $display= $this->show_header(_("Create options"),
+                       $display= $this->show_enable_header(_("Create options"),
                                _("This application has options disabled. You can enable them by clicking below."));
                        $this->parent->by_object['application']->generateTemplate();
                        return ($display);
@@ -125,7 +125,7 @@ class applicationParameters extends plugin
        $this->cleanup();
        $ldap->modify ($this->attrs); 
 
-       show_ldap_error($ldap->get_error(), _("Removing application parameters failed"));
+       show_ldap_error($ldap->get_error(), sprintf(_("Removing of application parameters with dn '%s' failed."),$this->dn));
 
        /* Optionally execute a command after we're done */
        $this->handle_post_events('remove');
@@ -187,7 +187,7 @@ class applicationParameters extends plugin
        $this->cleanup();
        $ldap->modify ($this->attrs); 
 
-       show_ldap_error($ldap->get_error(), _("Saving applications parameters failed"));
+       show_ldap_error($ldap->get_error(), sprintf(_("Saving of application parameters with dn '%s' failed."),$this->dn));
 
        /* Optionally execute a command after we're done */
        $this->handle_post_events('modify');