summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 787f110)
raw | patch | inline | side by side (parent: 787f110)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 13:16:34 +0000 (13:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 13:16:34 +0000 (13:16 +0000) |
-Added local_only flag. Like described in ticket #573
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13024 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13024 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | patch | blob | history | |
gosa-plugins/mail/admin/groups/mail/mail.tpl | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc
index 3ebe161df7405cc23997dbae02afd15df23aafff..995703a5d4b698edfdf28ee79f494f18b60571e9 100644 (file)
$smarty->assign("Forward_all",$this->gosaMailForwardingAddress);
$smarty->assign("Forward_some",$this->gosaMailForwardingAddress_Some);
+ if (preg_match("/I/", $this->gosaMailDeliveryMode)) {
+ $smarty->assign("only_local", "checked");
+ }else{
+ $smarty->assign("only_local", "");
+ }
+
$smarty->assign("multiple_support",$this->multiple_support_active);
$display.= $smarty->fetch (get_template_path('mail.tpl', TRUE, dirname(__FILE__)));
return ($display);
"kolabFolderType" => _("Folder type")." ("._("Kolab").")",
"gosaMailAlternateAddress" => _("Alternate addresses"),
"gosaMailForwardingAddress" => _("Forwarding addresses"),
+ "gosaMailDeliveryModeI" => _("Only local"),
"acl" => _("Permissions"))
));
}
diff --git a/gosa-plugins/mail/admin/groups/mail/mail.tpl b/gosa-plugins/mail/admin/groups/mail/mail.tpl
index c6e5c7cc8aaf3accbf2180b7d7304fdeb854ce6b..2345794d41ce08747f2f98c27b71d9a63bb2b53a 100644 (file)
</div>
{/if}
+<p class="seperator"> </p>
+
+<h2><img class="center" alt="" align="middle" src="images/false.png" /> {t}Advanced mail options{/t}</h2>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="2" border="0">
+ <tr>
+ <td>
+{render acl=$gosaMailDeliveryModeIACL}
+ <input type="checkbox" name="only_local" value="1" {$only_local}
+ title="{t}Select if user can only send and receive inside his own domain{/t}">
+{/render}
+ {t}User is only allowed to send and receive local mails{/t}
+ </td>
+ </tr>
+ </table>
+
</td>
<td style="vertical-align:top;width:50%">
<h2>
{render acl=$gosaMailForwardingAddressACL}
<input type=submit value="{msgPool type=delButton}" name="delete_forwarder">
{/render}
+
</td>
</tr>
</table>