bug #2931429 Editing long triggers
This commit is contained in:
@@ -15,6 +15,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- patch #2961540 [export] Do not export data of MERGE table,
|
||||
thanks to Dieter Adriaenssens - ruleant
|
||||
- bug #2961198 [parser] Querying a table named "data"
|
||||
- bug #2931429 [structure] Editing long triggers
|
||||
|
||||
3.3.0.0 (not yet released)
|
||||
+ rfe #2308632 [edit] Use hex for (var)binary fields,
|
||||
|
@@ -1764,14 +1764,14 @@ function PMA_linkOrButton($url, $message, $tag_params = array(),
|
||||
. implode(' ', $tag_params_strings)
|
||||
. ' value="' . htmlspecialchars($message) . '" />';
|
||||
} else {
|
||||
$displayed_message = htmlspecialchars(
|
||||
preg_replace('/^.*\salt="([^"]*)".*$/si', '\1',
|
||||
$message));
|
||||
$ret .= '<input type="image"' . $submit_name . ' '
|
||||
. implode(' ', $tag_params_strings)
|
||||
. ' src="' . preg_replace(
|
||||
'/^.*\ssrc="([^"]*)".*$/si', '\1', $message) . '"'
|
||||
. ' value="' . htmlspecialchars(
|
||||
preg_replace('/^.*\salt="([^"]*)".*$/si', '\1',
|
||||
$message))
|
||||
. '" />';
|
||||
. ' value="' . $displayed_message . '" title="' . $displayed_message . '" />';
|
||||
}
|
||||
} else {
|
||||
$message = trim(strip_tags($message));
|
||||
|
@@ -41,7 +41,7 @@ if ($triggers) {
|
||||
</tr>',
|
||||
($ct%2 == 0) ? 'even' : 'odd',
|
||||
$trigger['name'],
|
||||
'<a href="tbl_sql.php?' . $url_query . '&sql_query=' . urlencode($drop_and_create) . '&show_query=1&delimiter=' . urlencode($delimiter) . '">' . $titles['Change'] . '</a>',
|
||||
PMA_linkOrButton('tbl_sql.php?' . $url_query . '&sql_query=' . urlencode($drop_and_create) . '&show_query=1&delimiter=' . urlencode($delimiter), $titles['Change']),
|
||||
'<a href="sql.php?' . $url_query . '&sql_query=' . urlencode($trigger['drop']) . '" onclick="return confirmLink(this, \'' . PMA_jsFormat($trigger['drop'], false) . '\')">' . $titles['Drop'] . '</a>',
|
||||
$trigger['action_timing'],
|
||||
$trigger['event_manipulation']);
|
||||
|
Reference in New Issue
Block a user