diff --git a/plugins/admin/systems/class_dhcpNewSectionDialog.inc b/plugins/admin/systems/class_dhcpNewSectionDialog.inc
index 32291f83e451f635e208fbe7cbdcdee942abe71b..e2235d3728924a5cfdb047772a520778ec2baba5 100644 (file)
/* Mapping array */
var $types= array();
var $classtype= "";
/* Mapping array */
var $types= array();
var $classtype= "";
- static $sectionMap= array( "dhcpService" => array("dhcpSharedNetwork", "dhcpSubnet", "dhcpGroup", "dhcpHost" /*, "dhcpClass"*/),
+ var $sectionMap= array( "dhcpService" => array("dhcpSharedNetwork", "dhcpSubnet", "dhcpGroup", "dhcpHost" /*, "dhcpClass"*/),
#"dhcpClass" => array("dhcpSubClass"),
"dhcpSubClass" => array(),
"dhcpHost" => array(),
#"dhcpClass" => array("dhcpSubClass"),
"dhcpSubClass" => array(),
"dhcpHost" => array(),
$smarty = get_smarty();
$display= "";
$smarty = get_smarty();
$display= "";
- $sections= dhcpNewSectionDialog::$sectionMap[$this->classtype];
+ $sections= $this->sectionMap[$this->classtype];
$t_sections= array();
foreach ($sections as $section){
$t_sections[$section]= $this->types[$section];
$t_sections= array();
foreach ($sections as $section){
$t_sections[$section]= $this->types[$section];