Code

Fixed edit mode flag
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Jul 2006 11:58:08 +0000 (11:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Jul 2006 11:58:08 +0000 (11:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4317 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_intranetAccount.inc
plugins/personal/connectivity/class_opengwAccount.inc
plugins/personal/connectivity/class_phpgwAccount.inc
plugins/personal/connectivity/class_pptpAccount.inc
plugins/personal/connectivity/class_pureftpdAccount.inc

index 46f44deabd9a71654c2d3091b2d1360826949fe6..248047c3ced5c66e3c69d17bc91b736b1c4d5bcf 100644 (file)
@@ -68,7 +68,7 @@ class intranetAccount extends plugin
       $smarty->assign("tabbed", 0);    
     }
 
-    if((!$this->ReadOnly) && ($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+    if((!$this->ReadOnly) && (($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) ){
       $smarty->assign('gosaIntranetACL', "");
     }else{
       $smarty->assign('gosaIntranetACL', " disabled ");
index 3b5f87470ed5461ea5c734fadae1a85a11b1c560..c1da16c24cef60de5fc5964c942891caa586ebc6 100644 (file)
@@ -125,7 +125,7 @@ class opengwAccount extends plugin
       $smarty->assign($acl."ACL",$this->getacl($acl,$this->ReadOnly));
     } 
 
-    if((!$this->ReadOnly)&&($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+    if((!$this->ReadOnly)&&(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable()))) {
       $smarty->assign('opengwAccountACL', "");
     }else{
       $smarty->assign('opengwAccountACL', " disabled ");
index c458f8eb00648fab344a9ba24b19d4d1f9ea38c4..0080bbbc9690460483f9787159584a34f0e4409b 100644 (file)
@@ -42,7 +42,7 @@ class phpgwAccount extends plugin
       $smarty->assign("phpgwState", "");
     }
 
-    if((!$this->ReadOnly)&&($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+    if((!$this->ReadOnly)&&(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable()))) {
       $smarty->assign('phpgwAccountACL', "");
     }else{
       $smarty->assign('phpgwAccountACL', " disabled ");
index a037779449b640f4701bb717ff196e1bd67d96eb..2330728c1133b549d003e86213a524e1058fa4cc 100644 (file)
@@ -55,7 +55,7 @@ class pptpAccount extends plugin
       $smarty->assign("wstate", "disabled");
     }
 
-    if((!$this->ReadOnly) && ($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+    if((!$this->ReadOnly) && (($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable()))) {
       $smarty->assign('gosapptpACL', "");
     }else{
       $smarty->assign('gosapptpACL', " disabled ");
index 47c5aaf18afd9d7e01f28c6f2d7af0424703a07c..1bedf3462140673bc870a602b09ef57021fad9a8 100644 (file)
@@ -70,7 +70,7 @@ class pureftpdAccount extends plugin
     }
     $smarty->assign("use_FTPStatus", ($this->FTPStatus == "disabled") ? "checked" : "");
     
-    if((!$this->ReadOnly)&&($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+    if((!$this->ReadOnly)&&(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) ){
       $smarty->assign('pureftpdACL', "");
     }else{
       $smarty->assign('pureftpdACL', " disabled ");