diff options
-rw-r--r-- | usr/local/www/diag_ipsec.php | 21 |
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> |