Code

Updated gofax acls.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Jul 2008 12:36:48 +0000 (12:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Jul 2008 12:36:48 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11630 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/faxaccount/class_gofaxAccount.inc
gosa-plugins/gofax/gofax/faxaccount/main.inc

index 3731093505078d927947006603047ff4e8f1e356..a1e97e13a689998f07a9b91e883e230cb3d08639 100644 (file)
@@ -869,15 +869,15 @@ class gofaxAccount extends plugin
           "plOptions"       => array(),
 
           "plProvidedAcls"  => array(
-            "goFaxIsEnabled"                    => _("Enable/Disable fax"),
-            "goFaxRBlocklist"                   => _("Receive blocklist"),
-            "goFaxSBlocklist"                   => _("Send blocklist"),
             "facsimileTelephoneNumber"          => _("Fax number"), // goFaxDeliveryMode
+            "goFaxLanguage"                     => _("Language"),
+            "goFaxFormat"                       => _("Delivery format"),
             "facsimileAlternateTelephoneNumber" => _("Alternate fax number"), // goFaxDeliveryMode
+            "goFaxIsEnabled"                    => _("Enable/Disable fax"),
             "faxtomail"                         => _("Deliver fax as mail"),
             "faxtoprinter"                      => _("Deliver fax to printer"),
-            "goFaxFormat"                       => _("Delivery format"),
-            "goFaxLanguage"                     => _("Language"))
+            "goFaxRBlocklist"                   => _("Receive blocklist"),
+            "goFaxSBlocklist"                   => _("Send blocklist"))
           ));
   }
 
index f1276637607e3448862804c78f0ccbe508811258..247d6d76c9796afbb7e82348ab3a6df7da3190fe 100644 (file)
@@ -96,7 +96,7 @@ if (!$remove_lock){
                } else {
                        $info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/unlocked.png')."\"> ".$ui->dn."&nbsp;";
 
-                       if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/gofaxAccount"))){
+                       if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/gofaxAccount"))){
                                $info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png')."\">"._("Click the 'Edit' button below to change informations in this dialog");
                                $display.= "<input type=submit name=\"edit\" value=\"".msgPool::editButton()."\">";
                        }