Ignore:
Timestamp:
Nov 28, 2016, 12:05:01 PM (3 years ago)
Author:
kbut
Message:

add forgotten variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/js/main.js

    r2935 r2936  
    3131    self.ServerConfig=ServerConfig;
    3232    if ( self.checkVariableExists(ServerConfig,['SRV_IP','value']) ) $("#serverInfo_SRV_IP").html(ServerConfig["SRV_IP"]["value"]);
    33     if ( self.checkVariableExists(ServerConfig,['INTERNAL_DOMAIN','value']) ) $("#serverInfo_HOSTNAME").html(ServerConfig["HOSTNAME"]["value"]);
     33    if ( self.checkVariableExists(ServerConfig,['HOSTNAME','value']) ) $("#serverInfo_HOSTNAME").html(ServerConfig["HOSTNAME"]["value"]);
    3434    if ( self.checkVariableExists(ServerConfig,['INTERNAL_DOMAIN','value']) )$("#serverInfo_INTERNAL_DOMAIN").html(ServerConfig["INTERNAL_DOMAIN"]["value"]);
    3535    if ( self.checkVariableExists(ServerConfig,['INTERNAL_INTERFACE','value']) ) $("#serverInfo_INTERNAL_INTERFACE").html(ServerConfig["INTERNAL_INTERFACE"]["value"]);
     
    4141
    4242    if ( self.checkVariableExists(ServerConfig,['DHCP_ENABLE','value']) ) $("#serverInfo_DHCP_ENABLE").html(ServerConfig["DHCP_ENABLE"]["value"]);
    43     if ( self.checkVariableExists(ServerConfig,['DHCP_FIRST_IP','value']) ) $("#serverInfo_IP_RANGE").html(ServerConfig["DHCP_FIRST_IP"]["value"]+"<br/>"+ServerConfig["DHCP_LAST_IP"]["value"]);
     43    if ( self.checkVariableExists(ServerConfig,['DHCP_FIRST_IP','value']) & self.checkVariableExists(ServerConfig,['DHCP_LAST_IP','value'])  ) $("#serverInfo_IP_RANGE").html(ServerConfig["DHCP_FIRST_IP"]["value"]+"<br/>"+ServerConfig["DHCP_LAST_IP"]["value"]);
    4444    if ( self.checkVariableExists(ServerConfig,['DHCP_HOST_MAX','value']) ) $("#serverInfo_DHCP_HOST_MAX").html(ServerConfig["DHCP_HOST_MAX"]["value"]);
    4545
Note: See TracChangeset for help on using the changeset viewer.