bug 913704
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2004-03-18 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/romanian: Updated, thanks to Valics Lehel.
|
||||
* libraries/common.lib.php: bug 913704, delete link in db search
|
||||
|
||||
2004-03-13 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* sql.php: bug 913630: did not detect correctly DELETE FROM table
|
||||
|
@@ -1712,7 +1712,8 @@ if (typeof(document.getElementById) != 'undefined'
|
||||
*/
|
||||
function PMA_linkOrButton($url, $message, $js_conf, $allow_button = TRUE)
|
||||
{
|
||||
if (strlen($url) <= 2047) {
|
||||
// previously the limit was set to 2047, it seems 1000 is better
|
||||
if (strlen($url) <= 1000) {
|
||||
$onclick_url = (empty($js_conf) ? '' : ' onclick="return confirmLink(this, \'' . $js_conf . '\')"');
|
||||
$link_or_button = ' <a href="' . $url . '"' . $onclick_url . '>' . "\n"
|
||||
. ' ' . $message . '</a>' . "\n";
|
||||
|
Reference in New Issue
Block a user