diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc
index ff4c45d37b6b891640d7350b1174fb6f41858b55..a097972ddc889696a482a309908a55e6cee6c384 100644 (file)
if (is_integer(strpos($this->gosaProxyAcctFlags, "$val"))) {
$smarty->assign("filter$val", "checked");
- // Create state variable for checkbox (Used in proxy.tpl)
+ /* Add state variables for on-the-fly state-changing of checkboxes */
$smarty->assign($val."state", "");
+
} else {
$smarty->assign("filter$val", "");
-
- // Create state variable for checkbox (Used in proxy.tpl)
+
+ /* Same as above */
$smarty->assign($val."state", "disabled");
}
}
$this->handle_post_events("remove");
}
-
/* Check values */
function check()
{
if ($this->is_account){
if (isset($_POST["quota_size"])){
if ($_POST["quota_size"] == ""){
- $message[]= _("Value specified as 'Quota Size' is empty.");
+ $message[]= _("Numerical value for Quota Setting is empty.");
}
else if ($_POST["quota_size"] <= 0){
- $message[]= _("Value specified as 'Quota Size' is not valid.");
+ $message[]= _("Numerical value for Quota Setting is not valid.");
}
}
}
-
+
return $message;
}
-
+
/* Save data to object */
function save_object()
{
$this->is_modified= ($old != $this->gosaProxyQuotaPeriod)?TRUE:$this->is_modified;
}
}
+
}