diff --git a/src/www/status_interfaces.php b/src/www/status_interfaces.php
index 315ddec84..1c226fdd4 100644
--- a/src/www/status_interfaces.php
+++ b/src/www/status_interfaces.php
@@ -80,13 +80,13 @@ include("head.inc");
-
-
- =htmlspecialchars($ifname);?> =gettext("interface"); ?> (=htmlspecialchars($ifdescr);?>, =htmlspecialchars($ifinfo['hwif']);?>)
+
+ = htmlspecialchars($ifname) ?> = gettext("interface") ?> (= htmlspecialchars($ifdescr) ?>, = htmlspecialchars($ifinfo['hwif']) ?>)
+ $first_row=false; ?>
| =gettext("Status"); ?> | -=$ifinfo['status'];?> | += gettext("Status") ?> | += $ifinfo['status'] ?> | =gettext("DHCP");?> | @@ -122,10 +122,10 @@ include("head.inc"); | =gettext("DHCP6");?> | @@ -136,10 +136,10 @@ include("head.inc"); | =gettext("PPPoE"); ?> | @@ -147,13 +147,13 @@ include("head.inc"); endif; if (!empty($ifinfo['pptplink'])): ?> |
| =gettext("PPTP"); ?> | += gettext("PPTP") ?> | =gettext("L2TP"); ?> | @@ -178,14 +178,14 @@ include("head.inc"); | =gettext("PPP"); ?> | @@ -195,64 +195,64 @@ include("head.inc"); endif; if (!empty($ifinfo['ppp_uptime']) || !empty($ifinfo['ppp_uptime_accumulated'])): ?> |
| =gettext("Uptime ");?>=!empty($ifinfo['ppp_uptime_accumulated']) ? "(historical)" : ""; ?> | -=$ifinfo['ppp_uptime'];?> =$ifinfo['ppp_uptime_accumulated'];?> | += empty($ifinfo['ppp_uptime_accumulated']) ? gettext("Uptime") : gettext("Uptime (historical)") ?> | += $ifinfo['ppp_uptime_accumulated'] ?> = $ifinfo['ppp_uptime'] ?> |
| =gettext("Cell Signal (RSSI)");?> | -=$ifinfo['cell_rssi'];?> | += gettext("Cell Signal (RSSI)") ?> | += $ifinfo['cell_rssi'] ?> |
| =gettext("Cell Mode");?> | -=$ifinfo['cell_mode'];?> | += gettext("Cell Mode") ?> | += $ifinfo['cell_mode'] ?> |
| =gettext("Cell SIM State");?> | -=$ifinfo['cell_simstate'];?> | += gettext("Cell SIM State") ?> | += $ifinfo['cell_simstate'] ?> |
| =gettext("Cell Service");?> | -=$ifinfo['cell_service'];?> | += gettext("Cell Service") ?> | += $ifinfo['cell_service'] ?> |
| =gettext("Cell Upstream");?> | -=$ifinfo['cell_bwupstream'];?> =gettext("kbit/s");?> | += gettext("Cell Upstream");?> | += sprintf(gettext("%s kbit/s"),$ifinfo['cell_bwupstream']) ?> |
| =gettext("Cell Downstream");?> | -=$ifinfo['cell_bwdownstream'];?> =gettext("kbit/s");?> | += gettext("Cell Downstream") ?> | += sprintf(gettext("%s kbit/s"),$ifinfo['cell_bwdownstream']) ?> |
| =gettext("Cell Current Up");?> | -=$ifinfo['cell_upstream'];?> =gettext("kbit/s");?> | += gettext("Cell Current Up");?> | += sprintf(gettext("%s kbit/s"), $ifinfo['cell_upstream']) ?> |
| =gettext("Cell Current Down");?> | -=$ifinfo['cell_downstream'];?> =gettext("kbit/s");?> | += gettext("Cell Current Down") ?> | += sprintf(gettext("%s kbit/s"),$ifinfo['cell_downstream']) ?> |
| =gettext("IPv4 address");?> | -=$ifinfo['ipaddr'];?> | += gettext("IPv4 address") ?> | += $ifinfo['ipaddr'] ?> |
| =gettext("Subnet mask IPv4");?> | -=$ifinfo['subnet'];?> | += gettext("Subnet mask IPv4") ?> | += $ifinfo['subnet'] ?> |
| =gettext("Gateway IPv4");?> | -=htmlspecialchars($config['interfaces'][$ifdescr]['gateway']);?> =$ifinfo['gateway'];?> | += gettext("Gateway IPv4") ?> | += htmlspecialchars($config['interfaces'][$ifdescr]['gateway']) ?> = $ifinfo['gateway'] ?> |
| =gettext("IPv6 Link Local");?> | -=$ifinfo['linklocal'];?> | += gettext("IPv6 Link Local") ?> | += $ifinfo['linklocal'] ?> |
| =gettext("IPv6 address");?> | -=$ifinfo['ipaddrv6'];?> | += gettext("IPv6 address") ?> | += $ifinfo['ipaddrv6'] ?> |
| =gettext("Subnet mask IPv6");?> | -=$ifinfo['subnetv6'];?> | += gettext("Subnet mask IPv6") ?> | += $ifinfo['subnetv6'] ?> |
| =gettext("Gateway IPv6");?> | -=htmlspecialchars($config['interfaces'][$ifdescr]['gatewayv6']);?> =$ifinfo['gatewayv6'];?> | += gettext("Gateway IPv6") ?> | += htmlspecialchars($config['interfaces'][$ifdescr]['gatewayv6']) ?> = $ifinfo['gatewayv6'] ?> |
| =gettext("ISP DNS servers");?> | += gettext("ISP DNS servers") ?> | "; - }?> + endforeach; ?> | |
| =gettext("Media");?> | -=$ifinfo['media'];?> | += gettext("Media") ?> | += $ifinfo['media'] ?> |
| =gettext("LAGG Protocol");?> | -=$ifinfo['laggproto'];?> | += gettext("LAGG Protocol") ?> | += $ifinfo['laggproto'] ?> | =gettext("LAGG Ports");?> |
-
- =$laggport;?> - + + = $laggport ?> + |
| =gettext("Channel");?> | -=$ifinfo['channel'];?> | += gettext("Channel") ?> | += $ifinfo['channel'] ?> |
| =gettext("SSID");?> | -=$ifinfo['ssid'];?> | += gettext("SSID") ?> | += $ifinfo['ssid'] ?> |
| =gettext("BSSID");?> | -=$ifinfo['bssid'];?> | += gettext("BSSID") ?> | += $ifinfo['bssid'] ?> |
| =gettext("Rate");?> | -=$ifinfo['rate'];?> | += gettext("Rate") ?> | += $ifinfo['rate'] ?> |
| =gettext("RSSI");?> | -=$ifinfo['rssi'];?> | += gettext("RSSI") ?> | += $ifinfo['rssi'] ?> |
| =gettext("In/out packets");?> | -=$ifinfo['inpkts'];?> / =$ifinfo['outpkts'];?> - (=format_bytes($ifinfo['inbytes']);?> / =format_bytes($ifinfo['outbytes']);?> ) + | = gettext("In/out packets") ?> | += $ifinfo['inpkts'] ?> / = $ifinfo['outpkts'] ?> + (= format_bytes($ifinfo['inbytes']);?> / =format_bytes($ifinfo['outbytes']);?> ) |
| =gettext("In/out packets (pass)");?> | -=$ifinfo['inpktspass'];?> / =$ifinfo['outpktspass'];?> - (=format_bytes($ifinfo['inbytespass']);?> / =format_bytes($ifinfo['outbytespass']);?> ) + | = gettext("In/out packets (pass)") ?> | += $ifinfo['inpktspass'] ?> / = $ifinfo['outpktspass'] ?> + (= format_bytes($ifinfo['inbytespass']) ?> / = format_bytes($ifinfo['outbytespass']) ?> ) |
| =gettext("In/out packets (block)");?> | -=$ifinfo['inpktsblock'];?> / =$ifinfo['outpktsblock'];?> - (=format_bytes($ifinfo['inbytesblock']);?> / =format_bytes($ifinfo['outbytesblock']);?> ) + | = gettext("In/out packets (block)") ?> | += $ifinfo['inpktsblock'] ?> / = $ifinfo['outpktsblock'] ?> + (= format_bytes($ifinfo['inbytesblock']) ?> / = format_bytes($ifinfo['outbytesblock']) ?> ) |
| =gettext("In/out errors");?> | -=$ifinfo['inerrs'] . "/" . $ifinfo['outerrs'];?> | += gettext("In/out errors") ?> | += $ifinfo['inerrs'] . "/" . $ifinfo['outerrs'] ?> |
| =gettext("Collisions");?> | -=$ifinfo['collisions'];?> | += gettext("Collisions") ?> | += $ifinfo['collisions'] ?> |
| + | - =$ifinfo['bridge'];?> + = $ifinfo['bridge'] ?> | ||
| =gettext("Interrupts/Second");?> | += gettext("Interrupts per Second") ?> | "; - echo $interrupt_sec . " " . gettext("rate"); + printf(gettext("%s rate"),$interrupt_sec); ?> |