diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-21 21:53:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-21 21:53:54 +0000 |
commit | 75030e3d2a791cb15be21728530e8b0e99b95bda (patch) | |
tree | 76bb863ee2cd6f9044b00926f54dd697902cec01 /usr/local/www/fbegin.inc | |
parent | bcd92ae7c82c161af272b4811c2101ccf21aa157 (diff) | |
download | pfsense-75030e3d2a791cb15be21728530e8b0e99b95bda.zip pfsense-75030e3d2a791cb15be21728530e8b0e99b95bda.tar.gz |
Add logout button.
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-x | usr/local/www/fbegin.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index b98b22b..06752e6 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -99,6 +99,13 @@ require_once("notices.inc"); <li><a href="/system_advanced.php" class="navlnk">Advanced</a></li> <li><a href="/system_firmware.php" class="navlnk">Firmware</a></li> <li><a href="/system.php" class="navlnk">General Setup</a></li> + <?php + /* generate logout button */ + $proto = $config['system']['webgui']['protocol']; + $host = $_SERVER['HTTP_HOST']; + //$host = str_replace("://","://logout:logout@", $host); + echo "<li><a href=\"{$proto}://logout:logout@{$host}/\" class=\"navlnk\">Logout</a></li>"; + ?> <?php if($g['platform'] == "pfSense"): ?> <li><a href="/pkg_mgr.php" class="navlnk">Packages</a></li> <?php endif; ?> |