From 74c8b43aab5a8ed23cc04170ab9b457e7ce27145 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Mar 2010 13:37:55 +0000 Subject: [PATCH] Updated dhcp service -authoritative service wasn't selectable git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dhcp/admin/systems/services/dhcp/class_dhcpService.inc | 2 +- gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_service.tpl | 2 +- .../dhcp/admin/systems/services/dhcp/dhcp_sharedNetwork.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 94f709ae7..e33beaf93 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 b7467147f..2effa3e79 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} -- 2.30.2