For bug 3168757:
- Change default link length limit to 2000 - Add text next to the image
This commit is contained in:
@@ -1870,7 +1870,14 @@ function PMA_linkOrButton($url, $message, $tag_params = array(),
|
||||
. implode(' ', $tag_params_strings)
|
||||
. ' src="' . preg_replace(
|
||||
'/^.*\ssrc="([^"]*)".*$/si', '\1', $message) . '"'
|
||||
. ' value="' . $displayed_message . '" title="' . $displayed_message . '" />';
|
||||
. ' value="' . $displayed_message . '" title="' . $displayed_message . '" />';
|
||||
// Here we cannot obey PropertiesIconic completely as a
|
||||
// generated link would have a length over LinkLengthLimit
|
||||
// but we can at least show the message.
|
||||
// If PropertiesIconic is false or 'both'
|
||||
if ($GLOBALS['cfg']['PropertiesIconic'] !== true) {
|
||||
$ret .= ' ' . $displayed_message;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$message = trim(strip_tags($message));
|
||||
|
@@ -2590,7 +2590,7 @@ $cfg['CheckConfigurationPermissions'] = true;
|
||||
* is replaced by form with button.
|
||||
* This is required as some web servers (IIS) have problems with long URLs.
|
||||
*/
|
||||
$cfg['LinkLengthLimit'] = 1000;
|
||||
$cfg['LinkLengthLimit'] = 2000;
|
||||
|
||||
/*******************************************************************************
|
||||
* SQL Parser Settings
|
||||
|
Reference in New Issue
Block a user