diff options
author | gnhb <gnoahb@gmail.com> | 2011-03-22 07:43:19 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2011-03-22 07:43:19 +0700 |
commit | 633de32902a1517418057f0b214600a62f1b7559 (patch) | |
tree | 4e190700b26aefac55e5a070b2f939a998e60f9f /usr | |
parent | 52bac9690d051596dfd8d9d672e093d18bef2ff5 (diff) | |
download | pfsense-633de32902a1517418057f0b214600a62f1b7559.zip pfsense-633de32902a1517418057f0b214600a62f1b7559.tar.gz |
Add missing "Connect/Disconnect" button to GUI for L2TP client connections.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index d6fdced..266d36b 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -132,6 +132,21 @@ include("head.inc"); </a> </td> </tr> + <?php endif; if ($ifinfo['l2tplink']): ?> + <tr> + <td width="22%" class="vncellt"><?=gettext("L2TP"); ?></td> + <td width="78%" class="listr"> + <?=htmlspecialchars($ifinfo['l2tplink']);?> + <?php if ($ifinfo['l2tplink'] == "up"): ?> + <a href="status_interfaces.php?action=Disconnect&if=<?php echo $ifdescr; ?>"> + <input type="button" name="<?php echo $ifdescr; ?>" value="<?=gettext("Disconnect");?>" class="formbtns"> + <?php else: ?> + <a href="status_interfaces.php?action=Connect&if=<?php echo $ifdescr; ?>"> + <input type="button" name="<?php echo $ifdescr; ?>" value="<?=gettext("Connect");?>" class="formbtns"> + <?php endif; ?> + </a> + </td> + </tr> <?php endif; if ($ifinfo['ppplink']): ?> <tr> <td width="22%" class="vncellt"><?=gettext("PPP"); ?></td> |