From 269b8cf9b64ebf6314644258a095f048e7e45d63 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Aug 2008 05:12:05 +0000 Subject: [PATCH] Added scalix Group git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12278 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/groups/scalix/class_sclaixGroup.inc | 14 ++++++++++++++ .../scalix/personal/scalix/class_scalixAccount.inc | 7 ++++++- gosa-plugins/scalix/personal/scalix/generic.tpl | 2 ++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc diff --git a/gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc b/gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc new file mode 100644 index 000000000..6067b2a78 --- /dev/null +++ b/gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc @@ -0,0 +1,14 @@ + diff --git a/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc b/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc index 665326620..73338760e 100644 --- a/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc +++ b/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc @@ -20,8 +20,12 @@ class scalixAccount extends plugin /* MUST */ var $scalixScalixObject= TRUE; //TRUE or FALSE var $scalixMailnode= ""; - /* INDIRECT MUST, scalix will complain if no email was specified */ + + /* Indicates whether we have a scalix group or a sclix user account + */ + var $scalixGroup = FALSE; + /* INDIRECT MUST, scalix will complain if no email was specified */ /* MAY */ var $scalixAdministrator= FALSE; var $scalixMailboxAdministrator = FALSE; @@ -104,6 +108,7 @@ class scalixAccount extends plugin /* Load templating engine */ $smarty= get_smarty(); + $smarty->assign("scalixGroup",$this->scalixGroup); $display= ""; /* Do we need to flip is_account state? */ diff --git a/gosa-plugins/scalix/personal/scalix/generic.tpl b/gosa-plugins/scalix/personal/scalix/generic.tpl index 0d7c71fd2..913ac3c26 100644 --- a/gosa-plugins/scalix/personal/scalix/generic.tpl +++ b/gosa-plugins/scalix/personal/scalix/generic.tpl @@ -22,6 +22,7 @@ {/render} +{if !$calixGroup} @@ -115,6 +116,7 @@ {/render} +{/if} -- 2.30.2