diff --git a/ChangeLog b/ChangeLog index 3b73524cea..eed39d83d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog + Patch #3506552 Contest-2: Show index information in the data dictionary + Patch #3510656 Contest-1: Ignoring foreign keys while dropping tables - Bug #3509686 Reverting sort on joined column does not work ++ New transformation: append string 3.5.1.0 (not yet released) - bug #3510784 [edit] Limit clause ignored when sort order is remembered diff --git a/libraries/transformations/text_plain__append.inc.php b/libraries/transformations/text_plain__append.inc.php new file mode 100644 index 0000000000..5ca0d3c7e0 --- /dev/null +++ b/libraries/transformations/text_plain__append.inc.php @@ -0,0 +1,25 @@ + __('Appends text to a string. The only option is the text to be appended (enclosed in single quotes, default empty string).'), + ); +} + +function PMA_transformation_text_plain__append($buffer, $options = array(), $meta = '') { + + if (! isset($options[0]) || $options[0] == '') { + $options[0] = ''; + } + + $newtext = $buffer . htmlspecialchars($options[0]); //just append the option to the original text + + return $newtext; +} + +?>