RFE #859208, Logout link in left frame

This commit is contained in:
Olivier Müller
2004-04-15 15:57:53 +00:00
parent 379b14c1a9
commit 8de779e4f1
2 changed files with 11 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-04-15 Olivier Mueller <om@omnis.ch>
* left.php: RFE #859208, Logout button in left frame
2004-04-14 Michal Cihar <michal@cihar.com>
* lang/czech: Updated.
* tbl_select.php: Fixed undefined variable warning.

View File

@@ -360,6 +360,14 @@ echo "\n";
<!-- Link to the welcome page -->
<div id="el1Parent" class="parent" style="margin-bottom: 5px">
<nobr><a class="item" href="main.php?<?php echo PMA_generate_common_url(); ?>"><span class="heada"><b><?php echo $strHome; ?></b></span></a></nobr>
<?php
// Logout for advanced authentication
if ($cfg['Server']['auth_type'] != 'config') {
?>
- <nobr><a class="item" href="index.php?<?php echo PMA_generate_common_url(); ?>&amp;old_usr=<?php echo urlencode($PHP_AUTH_USER); ?>" target="_parent"><span class="heada"><b><?php echo $strLogout; ?></b></span></a></nobr>
<?php
} // end if
?>
</div>