diff --git a/plugins/admin/systems/class_goFaxServer.inc b/plugins/admin/systems/class_goFaxServer.inc
index 9a1a732409348c98613c911a26d17c13fc2c504e..5248a676dd9d56120321217fcdc55fa024624864 100644 (file)
$ldap->cd($this->dn);
$ldap->add($this->attrs);
}
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing server services/gofax with dn '%s' failed."),$this->dn));
$this->handle_post_events("remove");
}
}else{
$this->handle_post_events("add");
}
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving server services/gofax with dn '%s' failed."),$this->dn));
}
$attrs[$flag] = $value;
$this->$flag = $value;
$ldap->modify($attrs);
- show_ldap_error($ldap->get_error());
+
+ show_ldap_error($ldap->get_error(), sprintf(_("Set status flag for server services/gofax with dn '%s' failed."),$this->dn));
$this->action_hook();
}
}
$this->$flag = $attrs[$flag][0];
}
}
+
+
+ /* Return plugin informations for acl handling */
+ function plInfo()
+ {
+ return (array(
+ "plShortName" => _("Fax server"),
+ "plDescription" => _("Fax server service"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 0,
+ "plSection" => array("administration"),
+ "plCategory" => array("server"),
+
+ "plProvidedAcls"=> array(
+ "goFaxAdmin" => _("Login name"),
+ "goFaxPassword" => _("Password"))
+ ));
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>