summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dcb3641)
raw | patch | inline | side by side (parent: dcb3641)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 05:16:01 +0000 (05:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 05:16:01 +0000 (05:16 +0000) |
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index e19c3a0691f79e0243d22bd4e3d50afbd240af83..97b025d253e6029df874dec43761bbbcf85c7f1a 100644 (file)
$smarty->assign("custom_sieveACL", chkacl($this->acl, "custom_sieve"));
$smarty->assign("only_localACL", chkacl($this->acl, "only_local"));
- if(count($this->gosaMailAlternateAddress)){
- $smarty->assign("SELECT_gosaMailAlternateAddress",true);
- } else {
- $smarty->assign("SELECT_gosaMailAlternateAddress",false);
- }
-
- if(count($this->mailboxList)){
- $smarty->assign("SELECT_spambox",true);
- } else {
- $smarty->assign("SELECT_spambox",false);
- }
-
- if(count($this->vacation)) {
- $smarty->assign("SELECT_vacationtemplates",true);
- } else {
- $smarty->assign("SELECT_vacationtemplates",false);
- }
-
- if(count($this->gosaMailForwardingAddress)){
- $smarty->assign("SELECT_gosaMailForwardingAddress",true);
- } else {
- $smarty->assign("SELECT_gosaMailForwardingAddress",false);
- }
-
- if(count($mailserver)){
- $smarty->assign("SELECT_mailServers",true);
- } else {
- $smarty->assign("SELECT_mailServers",false);
- }
-
$display.= $smarty->fetch (get_template_path('generic.tpl', TRUE, dirname(__FILE__)));
return ($display);
}