diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc
index fe4ca325d24dd791811e997f9d1ef124e6a20177..5e97daa8dd5be8ae48baa406007f46716eade90e 100644 (file)
foreach (array("F", "T", "B", "N") as $val){
if (is_integer(strpos($this->gosaProxyAcctFlags, "$val"))) {
$smarty->assign("filter$val", "checked");
-
- // Create state variable for checkbox (Used in proxy.tpl)
- $smarty->assign($val."state", "");
} else {
$smarty->assign("filter$val", "");
-
- // Create state variable for checkbox (Used in proxy.tpl)
- $smarty->assign($val."state", "disabled");
}
}
$this->handle_post_events("remove");
}
-
/* Check values */
function check()
{
}
}
}
-
+
return $message;
}
-
+
/* Save data to object */
function save_object()
{
/* Save quota values */
if (chkacl ($this->acl, "gosaProxyQuota") == ""){
$old= $this->gosaProxyQuota;
- if(isset($_POST["quota_size"]) && isset($_POST["quota_unit"])){
- $this->gosaProxyQuota= $_POST["quota_size"].$_POST["quota_unit"];
- }
+ $this->gosaProxyQuota= $_POST["quota_size"].$_POST["quota_unit"];
$this->is_modified= ($old != $this->gosaProxyQuota)?TRUE:$this->is_modified;
$old= $this->gosaProxyQuotaPeriod;
- if(isset($_POST["gosaProxyQuotaPeriod"])){
- $this->gosaProxyQuotaPeriod = $_POST["gosaProxyQuotaPeriod"];
- }
+ $this->gosaProxyQuotaPeriod = $_POST["gosaProxyQuotaPeriod"];
$this->is_modified= ($old != $this->gosaProxyQuotaPeriod)?TRUE:$this->is_modified;
}
}
+
}