summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cc54c3)
raw | patch | inline | side by side (parent: 5cc54c3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Aug 2008 05:12:05 +0000 (05:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Aug 2008 05:12:05 +0000 (05:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12278 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc b/gosa-plugins/scalix/admin/groups/scalix/class_sclaixGroup.inc
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+
+class scalixGroup extends scalixAccount
+{
+ var $scalixGroup = TRUE;
+
+ var $attributes = array("scalixMailnode", "scalixServerLanguage", "scalixLimitMailboxSize", "scalixMailboxClass");
+ var $fakeBooleanAttributes= array("scalixAdministrator", "scalixMailboxAdministrator", "scalixLimitOutboundMail",
+ "scalixLimitInboundMail", "scalixLimitNotifyUser", "scalixHideUserEntry");
+ var $objectclasses = array("scalixGroupClass");
+
+}
+
+?>
diff --git a/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc b/gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc
index 665326620eefa5579a92c30052e882d241fc96c5..73338760e305131e66ea66c41fe79015b7b4a267 100644 (file)
/* 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;
/* 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 0d7c71fd275fabe081c0244decd16b08e727435a..913ac3c26f4bbcbb394e8905ed5c0f82cb57b082 100644 (file)
{/render}
</td>
</tr>
+{if !$calixGroup}
<tr>
<td><label for="scalixServerLanguage">{t}Scalix server language{/t}</label></td>
<td>
{/render}
</td>
</tr>
+{/if}
</table>
<input type="hidden" name="scalixTab" value="scalixTab">