target for links should never be "_top" but "_parent"

This commit is contained in:
Loïc Chapeaux
2001-09-02 13:11:58 +00:00
parent c6bd9d9d85
commit c512cc8d68

View File

@@ -82,7 +82,7 @@ if ($server == 0 || count($cfgServers) > 1) {
</tr> </tr>
<tr> <tr>
<td> <td>
<form action="index.php3" target="_top"> <form action="index.php3" target="_parent">
<select name="server"> <select name="server">
<?php <?php
echo "\n"; echo "\n";
@@ -301,7 +301,7 @@ if ($server > 0
<tr> <tr>
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td> <td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
<td> <td>
<a href="index.php3?<?php echo$common_url_query; ?>&old_usr=<?php echo urlencode($PHP_AUTH_USER); ?>" target="_top"> <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>&nbsp; <b><?php echo $strLogout; ?></b></a>&nbsp;
<a href="<?php echo $cfgPmaAbsoluteUri; ?>Documentation.html#login_bug" target="documentation">(*)</a> <a href="<?php echo $cfgPmaAbsoluteUri; ?>Documentation.html#login_bug" target="documentation">(*)</a>
</td> </td>
@@ -420,7 +420,7 @@ if (empty($cfgLang)) {
<tr> <tr>
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td> <td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
<td> <td>
<form method="post" action="index.php3" target="_top"> <form method="post" action="index.php3" target="_parent">
<input type="hidden" name="server" value="<?php echo $server; ?>" /> <input type="hidden" name="server" value="<?php echo $server; ?>" />
Language: Language:
<select name="lang" onchange="this.form.submit();"> <select name="lang" onchange="this.form.submit();">