diff --git a/ChangeLog b/ChangeLog index ec4d56c8d..f835dce14 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,9 +7,11 @@ $Source$ 2001-11-10 Loïc Chapeaux * lang/italian.inc.php3: updated thanks to Pietro Danesi. + * most of the scripts have been updated in order to prepare the use of an + Arabic translation (right to left text direction). 2001-11-09 Marc Delisle - * Documentation.html: small additions, FAQ sub-sections + * Documentation.html: small additions, FAQ sub-sections. 2001-11-09 Loïc Chapeaux * config.inc.php3; Documentation.html; main.php3; phpinfo.php3; diff --git a/db_details.php3 b/db_details.php3 index 758560d2d..f6ebc035c 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -266,7 +266,7 @@ else if (MYSQL_INT_VERSION >= 32300) { ?>    - + ' . $unit; ?> = 32300) { echo "\n"; ?> - +   + ' . $unit; ?> = 32300) { - <?php echo $strWithChecked; ?> + <?php echo $strWithChecked; ?>       @@ -395,7 +396,7 @@ else { ?> - <?php echo $strWithChecked; ?> + <?php echo $strWithChecked; ?>       diff --git a/db_printview.php3 b/db_printview.php3 index 31ffe52d7..b9a7ed370 100755 --- a/db_printview.php3 +++ b/db_printview.php3 @@ -172,7 +172,7 @@ else if (MYSQL_INT_VERSION >= 32300) { echo "\n"; ?> -   +  "> ' . $unit . "\n"; ?> = 32300) { echo "\n"; ?> - + "> '. $unit; ?> 0) { - - + + - - + +


@@ -260,9 +260,9 @@ if ($num_dbs > 0) { echo ' ' . "\n"; echo '  ' . htmlentities($db_name) . ' ' . "\n"; echo '  ' . $dbs_array[$db_name][0] . ' ' . "\n"; - echo '  ' . $data_size . ' ' . $data_unit . ' ' . "\n"; - echo '  ' . $idx_size . ' ' . $idx_unit . ' ' . "\n"; - echo '  ' . $tot_size . ' ' . $tot_unit . ' ' . "\n"; + echo '  ' . $data_size . ' ' . $data_unit . ' ' . "\n"; + echo '  ' . $idx_size . ' ' . $idx_unit . ' ' . "\n"; + echo '  ' . $tot_size . ' ' . $tot_unit . ' ' . "\n"; echo ' ' . "\n"; $i++; @@ -278,14 +278,14 @@ if ($num_dbs > 0) { echo '  ' . "\n"; echo '  ' . $strSum . ': ' . $num_dbs . '' . "\n"; echo '  ' . $total_array[0] . ' ' . "\n"; - echo '  ' . $data_size . ' ' . $data_unit . ' ' . "\n"; - echo '  ' . $idx_size . ' ' . $idx_unit . ' ' . "\n"; - echo '  ' . $tot_size . ' ' . $tot_unit . ' ' . "\n"; + echo '  ' . $data_size . ' ' . $data_unit . ' ' . "\n"; + echo '  ' . $idx_size . ' ' . $idx_unit . ' ' . "\n"; + echo '  ' . $tot_size . ' ' . $tot_unit . ' ' . "\n"; echo ' ' . "\n\n"; echo ' ' . "\n"; echo ' ' . "\n"; - echo ' ' . $strWithChecked . '' . "\n"; + echo ' ' . $strWithChecked . '' . "\n"; echo ' ' . $strWithChecked . '  ' . "\n"; echo ' ' . "\n"; echo ' ' . "\n"; diff --git a/header.inc.php3 b/header.inc.php3 index b1453d086..b1497f4e2 100755 --- a/header.inc.php3 +++ b/header.inc.php3 @@ -34,11 +34,19 @@ header('Content-Type: text/html; charset=' . $charset); */ // Gets the font sizes to use set_font_sizes(); +// Defines the cell alignment values depending on text direction +if ($text_dir == 'ltr') { + $cell_align_left = 'left'; + $cell_align_right = 'right'; +} else { + $cell_align_left = 'right'; + $cell_align_right = 'left'; +} ?> - + phpMyAdmin diff --git a/images/arrow.gif b/images/arrow_ltr.gif similarity index 100% rename from images/arrow.gif rename to images/arrow_ltr.gif diff --git a/images/arrow_rtl.gif b/images/arrow_rtl.gif new file mode 100644 index 000000000..f4ad5c58f Binary files /dev/null and b/images/arrow_rtl.gif differ diff --git a/images/item.gif b/images/item_ltr.gif similarity index 100% rename from images/item.gif rename to images/item_ltr.gif diff --git a/images/item_rtl.gif b/images/item_rtl.gif new file mode 100644 index 000000000..4fc9afb4d Binary files /dev/null and b/images/item_rtl.gif differ diff --git a/index.php3 b/index.php3 index 205d777c9..16436ece4 100755 --- a/index.php3 +++ b/index.php3 @@ -35,7 +35,7 @@ $url_query = 'lang=' . $lang - + phpMyAdmin <?php echo PHPMYADMIN_VERSION; ?> - <?php echo $HTTP_HOST; ?>