diff --git a/includes/config.php b/includes/config.php index 205226d..f5f3522 100755 --- a/includes/config.php +++ b/includes/config.php @@ -33,4 +33,4 @@ define('RASPI_VNSTAT_ENABLED', true ); // Locale settings define('LOCALE_ROOT', 'locale'); -define('LOCALE_DOMAIN', 'messages'); +define('LOCALE_DOMAIN', 'messages'); diff --git a/includes/dashboard.php b/includes/dashboard.php index 2469f01..b2b3a93 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -60,7 +60,7 @@ function DisplayDashboard(){ preg_match('/state (UP|DOWN)/i', $stdoutIpWRepeatedSpaces, $matchesState ) || $matchesState[1] = 'unknown'; $interfaceState = $matchesState[1]; - // Because of table layout used in the ip output we get the interface statistics directly from + // Because of table layout used in the ip output we get the interface statistics directly from // the system. One advantage of this is that it could work when interface is disable. exec('cat /sys/class/net/'.RASPI_WIFI_CLIENT_INTERFACE.'/statistics/rx_packets ', $stdoutCatRxPackets); $strRxPackets = _('No data'); @@ -126,7 +126,7 @@ function DisplayDashboard(){ preg_match('/txpower ([0-9\.]+ dBm)/i', $stdoutIpInfoWRepSpaces, $matchesTxPower ) || $matchesTxPower[1] = ''; $txPower = $matchesTxPower[1]; - // iw does not have the "Link Quality". This is a is an aggregate value, + // iw does not have the "Link Quality". This is a is an aggregate value, // and depends on the driver and hardware. // Display link quality as signal quality for now. $strLinkQuality = 0; @@ -173,7 +173,7 @@ function DisplayDashboard(){ } } else { $status->addMessage(sprintf(_('Interface is %s.'), strtolower($interfaceState)), $classMsgDevicestatus); - } +} ?>