summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4f08675)
raw | patch | inline | side by side (parent: 4f08675)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 14:32:27 +0000 (14:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 14:32:27 +0000 (14:32 +0000) |
-Added checkbox to toggle local delivery, Updated template && added ACLs
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13032 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13032 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/acl_definition.inc | patch | blob | history | |
plugins/admin/groups/class_groupMail.inc | patch | blob | history | |
plugins/admin/groups/mail.tpl | patch | blob | history |
index 3fcc5d63d5e293c40347fa653c74bfce22565c96..05674901e0d6dbc63d705653779ccff323252b47 100644 (file)
"mail",
"gosaMailAlternateAddress",
"gosaMailForwardingAddress",
+ "gosaMailDeliveryModeI",
"gosaMailQuota",
"gosaMailServer");
$ACLD['terminal']= array("gotoAdaptPath",
index ab86f0fb3a8e43fb4676eda62f5e43c091830f22..089369ecae3862fea3cf785e565fac798231fbd9 100644 (file)
var $gosaMailMaxSize = ""; //
var $remove_folder_from_imap = true;
+ var $only_local =""; // Dummy var used to assign ACLs.
/* Helper */
var $indexed_acl= array();
$smarty->assign("$type", $gmailfilter[$type]);
}
$smarty->assign("hint", print_sizelimit_warning());
+
$display.= $smarty->fetch (get_template_path('mail_locals.tpl', TRUE));
return ($display);
}
$mailserver[]= $key;
}
$smarty->assign("mailServers", $mailserver);
- foreach(array("gosaMailServer", "gosaMailQuota", "perms", "mail",
+ foreach(array("gosaMailServer", "gosaMailQuota", "perms", "mail","only_local",
"gosaMailAlternateAddress", "gosaMailForwardingAddress") as $val){
$smarty->assign("$val", $this->$val);
$smarty->assign("$val"."ACL", chkacl($this->acl, "$val"));
$smarty->assign("kolab", FALSE);
}
+ if (preg_match("/I/", $this->gosaMailDeliveryMode)) {
+ $smarty->assign("only_local", "checked");
+ }else{
+ $smarty->assign("only_local", "");
+ }
$display.= $smarty->fetch (get_template_path('mail.tpl', TRUE));
return ($display);
index ffbcc3e2299d3a708ee4ef91b9a45d0e3542ed5c..eb400a9c5deb0dec9fa2711632216c8557e4d0cd 100644 (file)
</tr>
{$plusattributes}
</table>
+<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>
+ <input type="checkbox" name="only_local" value="1" {$only_local} {$only_localACL}
+ title="{t}Select if user can only send and receive inside his own domain{/t}">
+ {t}User is only allowed to send and receive local mails{/t}
+ </td>
+ </tr>
+ </table>
</td>
<td style="vertical-align:top;width:50%">