Code

Updated TODO
[gosa.git] / plugins / personal / connectivity / class_phpgwAccount.inc
index 451dbfa5fb8bd807c1f250d8f5fcc4219b97eae1..9be083a9f54aafbcab7ac25a85c273783c356c11 100644 (file)
@@ -40,6 +40,7 @@ class phpgwAccount extends plugin
     if ($this->is_account){
       $smarty->assign("phpgwState", "checked");
     } else {
+      $smarty->assign("phpgwState", "");
       $smarty->assign("fstate", "disabled");
     }
 
@@ -47,6 +48,8 @@ class phpgwAccount extends plugin
       $smarty->assign("tabbed", 1);
     }
 
+    $smarty->assign('phpgwAccountACL', chkacl($this->acl, 'phpgwAccount'));
+
     $display.= $smarty->fetch (get_template_path('phpgw.tpl', TRUE, dirname(__FILE__)));
     return ($display);
   }