Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/Styles/xb3/jst/includes/header.jst
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,17 @@ csrfProtector.init();
$webuiEnabled = getStr("Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.WebUI.Enable");
//$webuiEnabled = "msoOnly";
$webuiIsEnabled = "true";
$wanStatus = getStr("Device.X_RDK_WanManager.InterfaceActiveStatus");

$RemoteMgt = getStr("Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.WebUIRemoteMgtOption.Enable");
$http_mode = getStr("Device.UserInterface.X_CISCO_COM_RemoteAccess.HttpEnable");
$https_mode = getStr("Device.UserInterface.X_CISCO_COM_RemoteAccess.HttpsEnable");
if($wan_enabled=="true"){
$Wan_IPv4 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IP");
$Wan_IPv6 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IPv6");
}else if(strstr($wanStatus,"EPON,1") || strstr($wanStatus,"XGSPON,1")){
$Wan_IPv4 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IP");
Comment thread
Leela-Charumathi marked this conversation as resolved.
$Wan_IPv6 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IPv6");
}else{
$Wan_IPv4 = getStr("Device.X_CISCO_COM_CableModem.IPAddress");
$Wan_IPv6 = getStr("Device.X_CISCO_COM_CableModem.IPv6Address");
Expand Down
4 changes: 4 additions & 0 deletions source/Styles/xb6/jst/index.jst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ $DeviceControl_value = KeyExtGet("Device.X_CISCO_COM_DeviceControl.", $DeviceCon
$url = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : "" ;
$wan_enabled=getStr("Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled");
$webuiEnabled = getStr("Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.WebUI.Enable");
$wanStatus = getStr("Device.X_RDK_WanManager.InterfaceActiveStatus");
Comment thread
Leela-Charumathi marked this conversation as resolved.
$webuiIsEnabled = "true";
$ModelName = getStr("Device.DeviceInfo.ModelName");
$idadv ="";
Expand All @@ -65,6 +66,9 @@ else{
if($wan_enabled=="true"){
$Wan_IPv4 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IP");
$Wan_IPv6 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IPv6");
}else if(strstr($wanStatus,"EPON,1") || strstr($wanStatus,"XGSPON,1")){
$Wan_IPv4 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IP");
Comment thread
Leela-Charumathi marked this conversation as resolved.
$Wan_IPv6 = getStr("Device.DeviceInfo.X_COMCAST-COM_WAN_IPv6");
}else{
$Wan_IPv4 = getStr("Device.X_CISCO_COM_CableModem.IPAddress");
$Wan_IPv6 = getStr("Device.X_CISCO_COM_CableModem.IPv6Address");
Expand Down