From: hickert Date: Wed, 27 Aug 2008 07:47:36 +0000 (+0000) Subject: Updated scalix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17baeaaa7d33ffafa3684ffab9aedd42af3f4677;p=gosa.git Updated scalix -Works with groups now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12281 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc b/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc index 73338760e..0f8cc811e 100644 --- a/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc +++ b/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc @@ -317,12 +317,15 @@ class scalixAccount extends plugin $this->attrs['scalixEmailAddress']= $this->scalixEmailAddress; /* Save boolean vars ... the scalix schema expects them as strings */ + if(!$this->scalixGroup){ + $this->attrs['scalixAdministrator'] = $this->scalixAdministrator?"TRUE":"FALSE"; + $this->attrs['scalixMailboxAdministrator'] = $this->scalixMailboxAdministrator?"TRUE":"FALSE"; + $this->attrs['scalixLimitOutboundMail'] = $this->scalixLimitOutboundMail?"TRUE":"FALSE"; + $this->attrs['scalixLimitInboundMail'] = $this->scalixLimitInboundMail?"TRUE":"FALSE"; + $this->attrs['scalixLimitNotifyUser'] = $this->scalixLimitNotifyUser?"TRUE":"FALSE"; + } + $this->attrs['scalixScalixObject'] = $this->scalixScalixObject?"TRUE":"FALSE"; - $this->attrs['scalixAdministrator'] = $this->scalixAdministrator?"TRUE":"FALSE"; - $this->attrs['scalixMailboxAdministrator'] = $this->scalixMailboxAdministrator?"TRUE":"FALSE"; - $this->attrs['scalixLimitOutboundMail'] = $this->scalixLimitOutboundMail?"TRUE":"FALSE"; - $this->attrs['scalixLimitInboundMail'] = $this->scalixLimitInboundMail?"TRUE":"FALSE"; - $this->attrs['scalixLimitNotifyUser'] = $this->scalixLimitNotifyUser?"TRUE":"FALSE"; $this->attrs['scalixHideUserEntry'] = $this->scalixHideUserEntry?"TRUE":"FALSE"; /* Remove Mailquota if = "" */ diff --git a/gosa-plugins/scalix/personal/scalix/generic.tpl b/gosa-plugins/scalix/personal/scalix/generic.tpl index 913ac3c26..af34000eb 100644 --- a/gosa-plugins/scalix/personal/scalix/generic.tpl +++ b/gosa-plugins/scalix/personal/scalix/generic.tpl @@ -2,6 +2,7 @@

 {t}Generic{/t}

+ @@ -11,6 +12,7 @@ {/render} +{if !$scalixGroup} -{if !$calixGroup} + + +{/if}
{$must}
@@ -22,7 +24,8 @@ {/render}
@@ -34,13 +37,16 @@ {/render}
- + +{if !$scalixGroup}

 

+{if !$scalixGroup} {render acl=$scalixAdministratorACL} {t}Scalix Administrator{/t} @@ -51,6 +57,7 @@ title="{t}Select for mailbox admin capability.{/t}"> {t}Scalix Mailbox Administrator{/t} {/render}
+{/if} {render acl=$scalixHideUserEntryACL} {t}Hide this user entry in Scalix{/t} @@ -89,6 +96,7 @@
+{/if} @@ -116,9 +124,7 @@ {/render} -{/if} -