From: hickert Date: Thu, 11 Mar 2010 13:40:09 +0000 (+0000) Subject: Updated dhcp service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06ec5efbb7ad8d32b699313b12815f8888926334;p=gosa.git Updated dhcp service -authoritative service wasn't selectable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16457 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 925e6ac50..d23821d5b 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc @@ -67,7 +67,7 @@ class dhcpService extends dhcpPlugin $smarty->assign("$value", $this->statements->get(preg_replace('/_/', '-', $value))); } - $smarty->assign("authoritative", $this->statements->get('authoritative')); + $smarty->assign("authoritative", $this->statements->exists('authoritative')); /* Show main page */ $display= $smarty->fetch(get_template_path('dhcp_service.tpl', TRUE, dirname(__FILE__))).$this->network->execute(); diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_service.tpl b/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_service.tpl index 594ae7bc2..1e65cb56d 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_service.tpl +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_service.tpl @@ -4,7 +4,7 @@ {render acl=$acl} - {t}Authoritative service{/t}
+ {t}Authoritative service{/t}
{/render}
{t}Dynamic DNS update{/t} diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_sharedNetwork.tpl b/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_sharedNetwork.tpl index 222d0e5cc..4d571daba 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_sharedNetwork.tpl +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_sharedNetwork.tpl @@ -32,7 +32,7 @@ {render acl=$acl} - {t}Authoritative server{/t} {/render}