Code

Added some acls to connectivity addons
[gosa.git] / plugins / personal / connectivity / class_proxyAccount.inc
index de1cc587b75af73f351ff656f181a575699cf6ac..eaab82908d5b8b623bd48971f88be530d52812a3 100644 (file)
@@ -153,7 +153,7 @@ class proxyAccount extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Removing proxy account failed"));
+    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");
@@ -259,7 +259,7 @@ class proxyAccount extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Saving proxy account failed"));
+    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){
@@ -272,6 +272,25 @@ class proxyAccount extends plugin
 
   }
 
+
+  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: