From d1b0ee1c650ff6c1329d2d70436ba602c37b1280 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 25 Nov 2009 18:21:27 +0000 Subject: [PATCH] removed display of subnet for DHCP settings --- lam/lib/modules/dhcp_settings.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lam/lib/modules/dhcp_settings.inc b/lam/lib/modules/dhcp_settings.inc index bd592402..825ea3c1 100644 --- a/lam/lib/modules/dhcp_settings.inc +++ b/lam/lib/modules/dhcp_settings.inc @@ -518,13 +518,7 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I } // Subnet name - if ($_SESSION['config']->get_suffix('dhcp') == $this->getAccountContainer()->dn_orig) { - $return[] = array( - array('kind' => 'text', 'text' => _('Subnet') . ":* "), - array('kind' => 'text', 'text' => $this->attributes['cn'][0]), - array('kind' => 'help', 'value' => 'subnet')); - } - else { + if ($_SESSION['config']->get_suffix('dhcp') != $this->getAccountContainer()->dn_orig) { $return[] = array( array('kind' => 'text', 'text' => _('Subnet') . ":* "), array('kind' => 'input', 'name' => 'cn', 'value' => $this->attributes['cn'][0]),