Code

Some acl udpates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Jul 2006 04:56:06 +0000 (04:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Jul 2006 04:56:06 +0000 (04:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4163 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc
plugins/personal/generic/class_user.inc
plugins/personal/mail/class_mailAccount.inc

index 2b89b228f3b52b8b3ceaf1415f5c6dfb92be1e93..6896c217fe15f278192b5fa379b711af5e7502e5 100644 (file)
@@ -1249,12 +1249,13 @@ function printOutHotPlugDevices()
       #FIXME these ACLs should work for groups too */ 
   function plInfo()
   {
-    return (array("plDescription"   => _("Environment settings"),
-                  "plSelfModify"    => TRUE,
-                  "plDepends"       => array("user", "posixAccount"),
-                  "plPriority"      => 2,
-                  "plSection"       => "personal",
-                  "plCategory"      => array("users", "groups"),
+    return (array("plShortName"     => _("Environment"),
+                  "plDescription"   => _("Environment settings"),         // Description
+                  "plSelfModify"    => TRUE,                              
+                  "plDepends"       => array("user", "posixAccount"),     // This plugin depends on 
+                  "plPriority"      => 2,                                 // Position in tabs 
+                  "plSection"       => "personal",                        // This belongs to personal
+                  "plCategory"      => array("users", "groups"),          // Add to following categories 
                   "plOptions"       => array("resolution_hook" => array("type" => "string",
                                                                         "description" => _("Command to extend the list of possible screen resolutions"))),
 
@@ -1273,7 +1274,5 @@ function printOutHotPlugDevices()
     }
 }
 
-  
-
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 95b1f77289c732ec4cd83241bf028dc0cdb964f7..20b88f15c882dc4741e3fba5e78cd0ca416109dd 100644 (file)
@@ -1310,7 +1310,7 @@ class user extends plugin
         "plSelfModify"  => TRUE,
         "plDepends"     => array(),
         "plPriority"    => 0,
-        "plSection"     => array("personal" => _("My account"))),
+        "plSection"     => array("personal" => _("My account")),
         "plCategory"    => array("users" => _("Users")),
 
         "plProvidedAcls" => array(
index fd5f367e9fa2fa9b709144df394874106a8f4d01..30cef3ecc324dbeab18e9ed0150419bc393fd7cc 100644 (file)
@@ -978,28 +978,35 @@ class mailAccount extends plugin
 
   function plInfo()
   {
-    return (array("plDescription"   => _("Mail settings"),
+    return (array(
+          "plShortName"     => _("Mail"),
+          "plDescription"   => _("Mail settings"),
           "plSelfModify"    => TRUE,
-          "plDepends"       => array("objectClass" => "gosaAccount"),
-
-          "mail"                      =>  _("Mail address"),
-          "gosaMailServer"            =>  _("Mail server"),
-          "gosaMailQuota"             =>  _("Quota size"),
-          "gosaMailMaxSize"           =>  _("Mail max size"),
-          "gosaMailForwardingAddress" =>  _("Forwarding address"),
-          "gosaMailDeliveryMode_L"    =>  "FIXME"._("Local delivery"),            // This is flag of gosaMailDeliveryMode
-          "gosaMailDeliveryMode_R"    =>  "FIXME"._("Reject due to mailsize"),    // This is flag of gosaMailDeliveryMode
-          "gosaMailDeliveryMode_s"    =>  "FIXME"._("Use spam filter"),           // This is flag of gosaMailDeliveryMode
-          "gosaMailDeliveryMode_V"    =>  "FIXME"._("Add vacation information"),  // This is flag of gosaMailDeliveryMode
-          "gosaMailDeliveryMode_C"    =>  "FIXME"._("Use custom sieve script"),   // This is flag of gosaMailDeliveryMode
-          "gosaMailDeliveryMode_I"    =>  "FIXME"._("Only insider delivery"),     // This is flag of gosaMailDeliveryMode
-          "gosaSpamSortLevel"         =>  _("Spam level"),
-          "gosaSpamMailbox"           =>  _("Spam mail box"),
-          "gosaMailAlternateAddress"  =>  _("Mail alternative addresses"),
-
-          "gosaVacationMessage"       =>  _("Vacation message"),
-          "gosaMailForwardingAddress" =>  _("Forwarding address")));
-
+          "plDepends"       => array("user"),                     // This plugin depends on
+          "plPriority"      => 4,                                 // Position in tabs
+          "plSection"       => "personal",                        // This belongs to personal
+          "plCategory"      => array("users"),                    // Add to following categories
+          "plOptions"       => array(),
+  
+          "plProvidedAcls"  => array(
+            "mail"                      =>  _("Mail address"),
+            "gosaMailServer"            =>  _("Mail server"),
+            "gosaMailQuota"             =>  _("Quota size"),
+            "gosaMailMaxSize"           =>  _("Mail max size"),
+            "gosaMailForwardingAddress" =>  _("Forwarding address"),
+            "gosaMailDeliveryMode_L"    =>  "FIXME"._("Local delivery"),            // This is flag of gosaMailDeliveryMode
+            "gosaMailDeliveryMode_R"    =>  "FIXME"._("Reject due to mailsize"),    // This is flag of gosaMailDeliveryMode
+            "gosaMailDeliveryMode_s"    =>  "FIXME"._("Use spam filter"),           // This is flag of gosaMailDeliveryMode
+            "gosaMailDeliveryMode_V"    =>  "FIXME"._("Add vacation information"),  // This is flag of gosaMailDeliveryMode
+            "gosaMailDeliveryMode_C"    =>  "FIXME"._("Use custom sieve script"),   // This is flag of gosaMailDeliveryMode
+            "gosaMailDeliveryMode_I"    =>  "FIXME"._("Only insider delivery"),     // This is flag of gosaMailDeliveryMode
+            "gosaSpamSortLevel"         =>  _("Spam level"),
+            "gosaSpamMailbox"           =>  _("Spam mail box"),
+            "gosaMailAlternateAddress"  =>  _("Mail alternative addresses"),
+
+            "gosaVacationMessage"       =>  _("Vacation message"),
+            "gosaMailForwardingAddress" =>  _("Forwarding address")));
+    )
   }
 }