summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48875bf)
raw | patch | inline | side by side (parent: 48875bf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Jul 2006 05:32:33 +0000 (05:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Jul 2006 05:32:33 +0000 (05:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4021 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_kolabAccount.inc | patch | blob | history | |
plugins/personal/connectivity/kolab.tpl | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc
index f0e1b62c16e12150f0be55e0dcff085e151d02ff..6fcbd06f9e8a6f6353c05b18d57a7d89a596d99f 100644 (file)
$smarty->assign("$val", $this->$val);
$smarty->assign($val."ACL", chkacl($this->acl, "$val"));
}
+ $smarty->assign("kolabAccountACL", chkacl($this->acl, "kolabAccountACL"));
/* Check for invitation action */
$nr= 0;
/* Transfer account states for this union */
if (isset($this->parent) && $this->parent->by_object['mailAccount']->is_account){
$smarty->assign('mail_account', 'true');
- } else {
+ } elseif($this-> initially_was_account && (isset($this->attrs['objectClass']) && (in_array("kolabInetOrgPerson",$this->attrs['objectClass'])))){
+ $smarty->assign('mail_account', 'true');
+ }else{
$smarty->assign('mail_account', '');
}
index 8810ca6867fb7785c65ccf42cdec6b3628d32dd6..56ef2bbc3cbc96f89b78eac31a495d051bf9b6ac 100644 (file)
changeState('calFBURL');
changeState('kolabFreeBusyFuture');
changeState('kolabInvitationPolicy');
- {$changeState}
-">
+ {$changeState}"
+ {$kolabAccountACL}
+>
<b>{t}Kolab account{/t}</b>
<br>
<br>