summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6994c29)
raw | patch | inline | side by side (parent: 6994c29)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jul 2010 09:17:31 +0000 (09:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jul 2010 09:17:31 +0000 (09:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19151 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc | patch | blob | history |
diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc
index 75dfd3d3d5caffebc954feeee7d96956e7637d03..5952baa7671168b3dabb9dfaabeea38878f64ca1 100644 (file)
$smarty->assign('ddns_styles', $this->ddns_styles);
foreach (array('max_lease_time', 'default_lease_time', 'ddns_update_style') as $value){
- $smarty->assign("$value", $this->statements->get(preg_replace('/_/', '-', $value)));
+ $smarty->assign("$value", set_post($this->statements->get(preg_replace('/_/', '-', $value))));
}
- $smarty->assign("authoritative", $this->statements->exists('authoritative'));
+ $smarty->assign("authoritative",set_post( $this->statements->exists('authoritative')));
/* Show main page */
$display= $smarty->fetch(get_template_path('dhcp_service.tpl', TRUE, dirname(__FILE__))).$this->network->execute();
foreach (array('max_lease_time', 'default_lease_time', 'ddns_update_style') as $val){
$tval= preg_replace('/_/', '-', $val);
if ($_POST[$val] != ""){
- $this->statements->set($tval,validate(get_post($val)));
+ $this->statements->set($tval,get_post($val));
} else {
$this->statements->removeAll($tval);
}