patch 845690 show real data before transformation (text_plain__dateformat)
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
|||||||
|
|
||||||
2003-12-04 Marc Delisle <lem9@users.sourceforge.net>
|
2003-12-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/estonian: Updated, thanks to Alvar Soome (finsoft).
|
* lang/estonian: Updated, thanks to Alvar Soome (finsoft).
|
||||||
|
* libraries/transformations/text_plain__dateformat.inc.php:
|
||||||
|
patch 845690: show real data before transformation
|
||||||
|
|
||||||
2003-12-04 Garvin Hicking <grinch@supergarv.de>
|
2003-12-04 Garvin Hicking <grinch@supergarv.de>
|
||||||
* browse_foreigner.php, mult_submits.inc.php, tbl_change.php,
|
* browse_foreigner.php, mult_submits.inc.php, tbl_change.php,
|
||||||
|
@@ -12,7 +12,9 @@ function PMA_transformation_text_plain__dateformat($buffer, $options = array(),
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($options[1]) || $options[1] == '') {
|
if (!isset($options[1]) || $options[1] == '') {
|
||||||
$options[1] = $GLOBALS['datefmt'];
|
//$options[1] = $GLOBALS['datefmt'];
|
||||||
|
$buffer_message = "'" . $buffer . "'";
|
||||||
|
$options[1] = '<a href="javascript:alert(' . $buffer_message . ')" title=' . $buffer_message . '>' . $GLOBALS['datefmt'] . '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$timestamp = -1;
|
$timestamp = -1;
|
||||||
|
Reference in New Issue
Block a user