diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc
index 1c2596582ec66e285f201a3e98140bc11d387de0..eaab82908d5b8b623bd48971f88be530d52812a3 100644 (file)
$this->attributes, "Save");
$ldap->cd($this->dn);
$this->cleanup();
-$ldap->modify ($this->attrs);
+ $ldap->modify ($this->attrs);
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of user/proxy account with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */
$this->handle_post_events("remove");
/* Check values */
function check()
{
- $message= array();
+ /* Call common method to give check the hook */
+ $message= plugin::check();
/* We've got only one value to check for positive integer or emtpy field */
if ($this->is_account){
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);
$this->cleanup();
-$ldap->modify ($this->attrs);
+ $ldap->modify ($this->attrs);
-
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of user/proxy account with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */
if ($this->initially_was_account == $this->is_account){
}
+
+ function plInfo()
+ {
+ return (array( "plDescription" => _("Intranet account settings"),
+ "plSelfModify" => TRUE,
+ "plDepends" => array("objectClass" => "gosaAccount"),
+
+ "gosaProxyID" => _("gosaProxyID"),
+
+ "gosaProxyFlag_F" => _("Filter unwanted content"),
+ "gosaProxyFlag_T" => _("Limit proxy access"),
+ "gosaProxyFlag_B" => _("Restrict proxy usage by quota"),
+
+ "gosaProxyWorkingTime" => _("Limit proxy access"),
+ "gosaProxyQuota" => _("Limit quota"),
+ "gosaProxyQuotaPeriod" => _("Quota limit period")));
+ }
+
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: