Removed link for the problem with http auth. logout if this mode isn't used
This commit is contained in:
@@ -11,6 +11,11 @@ $Source$
|
||||
* libraries/auth:
|
||||
- basic.auth.lib.php3, line 107: fixed an horrible parse error;
|
||||
- cookie.auth.lib.php3: beautified a bit the display.
|
||||
* db_details.php3, line 461; tbl_properties.php3, line 694;
|
||||
libraries/common.lib.php3, lines 821 & 823: patch from Cal Henderson
|
||||
to be taken right to the edit box after clicking on a "Modify" link.
|
||||
* main.php3: the link to the logout problem with http authentication mode
|
||||
was also displayed with cookie authentication mode.
|
||||
|
||||
2001-12-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* read_dump.php3; libraries/build_dump.lib.php3: sending the "fake" header
|
||||
|
@@ -818,9 +818,9 @@ window.parent.frames['nav'].location.replace('<?php echo $reload_url; ?>');
|
||||
$edit_target = '';
|
||||
}
|
||||
if ($edit_target == 'tbl_properties.php3') {
|
||||
$edit_link = '<a href="tbl_properties.php3?lang=' . $GLOBALS['lang'] . '&server=' . urlencode($GLOBALS['server']) . '&db=' . urlencode($GLOBALS['db']) . '&table=' . urlencode($GLOBALS['table']) . '&sql_query=' . urlencode($GLOBALS['sql_query']) . '&show_query=y">' . $GLOBALS['strEdit'] . '</a>';
|
||||
$edit_link = '<a href="tbl_properties.php3?lang=' . $GLOBALS['lang'] . '&server=' . urlencode($GLOBALS['server']) . '&db=' . urlencode($GLOBALS['db']) . '&table=' . urlencode($GLOBALS['table']) . '&sql_query=' . urlencode($GLOBALS['sql_query']) . '&show_query=y#querybox">' . $GLOBALS['strEdit'] . '</a>';
|
||||
} else if ($edit_target != '') {
|
||||
$edit_link = '<a href="db_details.php3?lang=' . $GLOBALS['lang'] . '&server=' . urlencode($GLOBALS['server']) . '&db=' . urlencode($GLOBALS['db']) . '&sql_query=' . urlencode($GLOBALS['sql_query']) . '&show_query=y">' . $GLOBALS['strEdit'] . '</a>';
|
||||
$edit_link = '<a href="db_details.php3?lang=' . $GLOBALS['lang'] . '&server=' . urlencode($GLOBALS['server']) . '&db=' . urlencode($GLOBALS['db']) . '&sql_query=' . urlencode($GLOBALS['sql_query']) . '&show_query=y#querybox">' . $GLOBALS['strEdit'] . '</a>';
|
||||
}
|
||||
}
|
||||
if (!empty($edit_target)) {
|
||||
|
@@ -327,14 +327,16 @@ if ($server > 0) {
|
||||
|
||||
// Logout for advanced authentication
|
||||
if ($cfgServer['auth_type'] != 'basic') {
|
||||
$http_logout = ($cfgServer['auth_type'] == 'http')
|
||||
? "\n" . ' <a href="' . $cfgPmaAbsoluteUri . 'Documentation.html#login_bug" target="documentation">(*)</a>'
|
||||
: '';
|
||||
echo "\n";
|
||||
?>
|
||||
<tr>
|
||||
<td valign="baseline"><img src="<?php echo $item_img; ?>" width="7" height="7" alt="item" /></td>
|
||||
<td>
|
||||
<a href="index.php3?<?php echo $common_url_query; ?>&old_usr=<?php echo urlencode($PHP_AUTH_USER); ?>" target="_parent">
|
||||
<b><?php echo $strLogout; ?></b></a>
|
||||
<a href="<?php echo $cfgPmaAbsoluteUri; ?>Documentation.html#login_bug" target="documentation">(*)</a>
|
||||
<b><?php echo $strLogout; ?></b></a> <?php echo $http_logout . "\n"; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user