summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-16 22:11:31 +0700
committergnhb <gnoahb@gmail.com>2010-06-16 22:11:31 +0700
commit59db783acd71b6663758d7a64f85395851e5c889 (patch)
tree86b51ccbe3ccad991a89b80ba500f1877d2a732d /usr
parent765664a41ca6682aa64f7baa190268fb4e8a36a0 (diff)
downloadpfsense-59db783acd71b6663758d7a64f85395851e5c889.zip
pfsense-59db783acd71b6663758d7a64f85395851e5c889.tar.gz
Modify pfsense-utils and status_interfaces.php so Uptime is shown for all PPPx type links.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_interfaces.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 11b74fd..3e738e9 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -151,10 +151,10 @@ include("head.inc");
</tr>
<?php endif; if ($ifinfo['ppp_uptime'] || $ifinfo['ppp_uptime_accumulated']): ?>
<tr>
- <td width="22%" class="vncellt">PPP uptime (historical)</td>
- <td width="78%" class="listr">
- <span id="uptime"><?=htmlspecialchars($ifinfo['ppp_uptime']);?></span><span id="uptime_hist"> (<?=htmlspecialchars($ifinfo['ppp_uptime_accumulated']);?>)</span>&nbsp;&nbsp;
- </td>
+ <td width="22%" class="vncellt">Uptime <?php if ($ifinfo['ppp_uptime_accumulated']) echo "(historical)" ?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['ppp_uptime']);?> <?=htmlspecialchars($ifinfo['ppp_uptime_accumulated']);?>
+ </td>
</tr>
<?php endif; if ($ifinfo['macaddr']): ?>
<tr>
OpenPOWER on IntegriCloud