summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-10-14 11:50:36 -0500
committerRenato Botelho <garga@FreeBSD.org>2014-10-14 11:50:36 -0500
commitb907136c28defe8b45da3ae4a17a5e23f07a7e4a (patch)
tree1cc744ec9fd45ba3d90e57711f7b15334387e2d3 /usr/local/www
parentca1fdcce98505736655052f9e13b302de55cdbab (diff)
downloadpfsense-b907136c28defe8b45da3ae4a17a5e23f07a7e4a.zip
pfsense-b907136c28defe8b45da3ae4a17a5e23f07a7e4a.tar.gz
Improve IPsec status page for mobile. It fixes #3917
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/diag_ipsec.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php
index 422883b..0f4e2ef 100644
--- a/usr/local/www/diag_ipsec.php
+++ b/usr/local/www/diag_ipsec.php
@@ -441,10 +441,26 @@ $status = ipsec_smp_dump_status();
</td>
<td class="listr" >
</td>
+<?php
+ if (isset($ph1ent['mobile'])):
+?>
+ <td class="listr">
+ <center>
+ <img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_pass.gif" title=<?php echo gettext("Waiting connections");?> alt=""/>
+ <br/><?php echo gettext("Waiting connections");?>
+ </center>
+ </td>
+ <td valign="middle" class="list nowrap">
+ <table border="0" cellspacing="0" cellpadding="1" summary="">
+ </table>
+ </td>
+<?php
+ else:
+?>
<td class="listr">
<center>
<img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_reject.gif" title=<?php echo gettext("Disconnected");?> alt=""/>
- <br/>Disconnected
+ <br/><?php echo gettext("Disconnected");?>
</center>
</td>
<td >
@@ -454,6 +470,9 @@ $status = ipsec_smp_dump_status();
</a>
</center>
</td>
+<?php
+ endif;
+?>
<td valign="middle" class="list nowrap">
<table border="0" cellspacing="0" cellpadding="1" summary="">
</table>
OpenPOWER on IntegriCloud