diff --git a/ChangeLog b/ChangeLog index 878eceb28..ab21f0a47 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,9 +13,9 @@ $Source$ Mike Eheler . * tbl_alter.php3, lines 109-112: fixed bug #543365 - Can't change field properties when name contains localized characters. - * db_stats.php3; left.php3; tbl_properties.php3; - libraries/display_tbl.lib.php3: the valid xhtml attribute to display - the "tool tip" of an image is "title" and not "alt". + * db_stats.php3; left.php3; libraries/display_tbl.lib.php3: the valid xhtml + attribute to display the "tool tip" of an image is "title" and not "alt". + * libraries/display_tbl.lib.php3, lines 574 & 578: use localized strings. 2002-04-12 Loïc Chapeaux * libraries/display_tbl.lib.php3, lines 957-991: expended cosmetic changes diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 84cd369ea..4a78cf3b2 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -571,11 +571,11 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ } else if (substr($sql_order, -3) == 'ASC' && $is_in_sort) { $sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' DESC'; - $order_img = ' ASC'; + $order_img = ' '. $GLOBALS['strAscending'] . ''; } else if (substr($sql_order, -4) == 'DESC' && $is_in_sort) { $sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' ASC'; - $order_img = ' DESC'; + $order_img = ' '. $GLOBALS['strDescending'] . ''; } if (eregi('(.*)( LIMIT (.*)| PROCEDURE (.*)| FOR UPDATE| LOCK IN SHARE MODE)', $unsorted_sql_query, $regs3)) { $sorted_sql_query = $regs3[1] . $sort_order . $regs3[2];