diff --git a/ChangeLog b/ChangeLog index 77873f0fb..0eb439088 100644 --- a/ChangeLog +++ b/ChangeLog @@ -58,6 +58,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, diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 063c6a7e9..a727cc2de 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1767,14 +1767,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 .= ''; + . ' value="' . $displayed_message . '" title="' . $displayed_message . '" />'; } } else { $message = trim(strip_tags($message)); diff --git a/libraries/tbl_triggers.lib.php b/libraries/tbl_triggers.lib.php index 3055688cd..92ad58273 100644 --- a/libraries/tbl_triggers.lib.php +++ b/libraries/tbl_triggers.lib.php @@ -41,7 +41,7 @@ if ($triggers) { ', ($ct%2 == 0) ? 'even' : 'odd', $trigger['name'], - '' . $titles['Change'] . '', + PMA_linkOrButton('tbl_sql.php?' . $url_query . '&sql_query=' . urlencode($drop_and_create) . '&show_query=1&delimiter=' . urlencode($delimiter), $titles['Change']), '' . $titles['Drop'] . '', $trigger['action_timing'], $trigger['event_manipulation']);