use localized strings

This commit is contained in:
Loïc Chapeaux
2002-04-13 18:10:55 +00:00
parent 021df73c21
commit eb380945bc
2 changed files with 5 additions and 5 deletions

View File

@@ -13,9 +13,9 @@ $Source$
Mike Eheler <meheler @ users.sourceforge.net>. Mike Eheler <meheler @ users.sourceforge.net>.
* tbl_alter.php3, lines 109-112: fixed bug #543365 - Can't change field * tbl_alter.php3, lines 109-112: fixed bug #543365 - Can't change field
properties when name contains localized characters. properties when name contains localized characters.
* db_stats.php3; left.php3; tbl_properties.php3; * db_stats.php3; left.php3; libraries/display_tbl.lib.php3: the valid xhtml
libraries/display_tbl.lib.php3: the valid xhtml attribute to display attribute to display the "tool tip" of an image is "title" and not "alt".
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<4C>c Chapeaux <lolo@phpheaven.net> 2002-04-12 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/display_tbl.lib.php3, lines 957-991: expended cosmetic changes * libraries/display_tbl.lib.php3, lines 957-991: expended cosmetic changes

View File

@@ -571,11 +571,11 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
} }
else if (substr($sql_order, -3) == 'ASC' && $is_in_sort) { else if (substr($sql_order, -3) == 'ASC' && $is_in_sort) {
$sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' DESC'; $sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' DESC';
$order_img = '&nbsp;<img src="./images/asc_order.gif" border="0" width="7" height="7" alt="ASC" title="ASC" />'; $order_img = '&nbsp;<img src="./images/asc_order.gif" border="0" width="7" height="7" alt="'. $GLOBALS['strAscending'] . '" title="'. $GLOBALS['strAscending'] . '" />';
} }
else if (substr($sql_order, -4) == 'DESC' && $is_in_sort) { else if (substr($sql_order, -4) == 'DESC' && $is_in_sort) {
$sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' ASC'; $sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' ASC';
$order_img = '&nbsp;<img src="./images/desc_order.gif" border="0" width="7" height="7" alt="DESC" title="DESC" />'; $order_img = '&nbsp;<img src="./images/desc_order.gif" border="0" width="7" height="7" alt="'. $GLOBALS['strDescending'] . '" title="'. $GLOBALS['strDescending'] . '" />';
} }
if (eregi('(.*)( LIMIT (.*)| PROCEDURE (.*)| FOR UPDATE| LOCK IN SHARE MODE)', $unsorted_sql_query, $regs3)) { if (eregi('(.*)( LIMIT (.*)| PROCEDURE (.*)| FOR UPDATE| LOCK IN SHARE MODE)', $unsorted_sql_query, $regs3)) {
$sorted_sql_query = $regs3[1] . $sort_order . $regs3[2]; $sorted_sql_query = $regs3[1] . $sort_order . $regs3[2];