summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4e0967)
raw | patch | inline | side by side (parent: e4e0967)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 06:48:34 +0000 (06:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 06:48:34 +0000 (06:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4772 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goSpamServer.inc | patch | blob | history | |
plugins/admin/systems/goSpamServer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_goSpamServer.inc b/plugins/admin/systems/class_goSpamServer.inc
index 5f4618d15bdacd2cc6cf6ecb55e25de70aa4932b..77b7d0d9a1090a9b6d166f66ec923642dd94d007 100644 (file)
/* Check flags */
foreach($this->Flags as $flag){
$var = "saFlags".$flag;
- if(isset($_POST[$var])){
- $this->$var = TRUE;
- }else{
- $this->$var = FALSE;
+
+ if($this->acl_is_writeable($var)){
+ if(isset($_POST[$var])){
+ $this->$var = TRUE;
+ }else{
+ $this->$var = FALSE;
+ }
}
}
}
index 99e408f1cf2cb83ef588623fcf7d1f1aff7ab8f8..f69b879d40807e7718b01064317d541b9edd89a2 100644 (file)
<table width='100%'>
<tr>
<td>
-{render acl=$saTrustedNetworksACL}
{$divRules}<br>
-{/render}
{render acl=$saTrustedNetworksACL}
<input type='submit' name='AddRule' value='{t}Add{/t}'>
{/render}