fixed some display bugs with right to left text direction

This commit is contained in:
Loïc Chapeaux
2001-11-13 11:17:09 +00:00
parent 3572825318
commit c214cff261
3 changed files with 7 additions and 6 deletions

View File

@@ -6,8 +6,9 @@ $Id$
$Source$
2001-11-13 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* db_details.php3; left.php3; tbl_properties.php3: fixed some display bugs
with right to left text direction (Arabic language).
* db_details.php3; db_printview.php3; left.php3; tbl_properties.php3;
tbl_printview.php3: fixed some display bugs with right to left text
direction (Arabic language).
2001-11-12 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/select_lang.lib.php3; lang/arabic.inc.php3: new translation

View File

@@ -172,7 +172,7 @@ else if (MYSQL_INT_VERSION >= 32300) {
echo "\n";
?>
<td align="right" nowrap="nowrap">
&nbsp;<?php echo $formated_size . '<bdo dir="<?php echo($text_dir); ?>"> </bdo>' . $unit . "\n"; ?>
&nbsp;<?php echo $formated_size . ' ' . $unit . "\n"; ?>
</td>
<?php
echo "\n";
@@ -210,7 +210,7 @@ else if (MYSQL_INT_VERSION >= 32300) {
echo "\n";
?>
<th align="right" nowrap="nowrap">
<b><?php echo $sum_formated . '<bdo dir="<?php echo($text_dir); ?>"> </bdo>'. $unit; ?></b>
<b><?php echo $sum_formated . ' ' . $unit; ?></b>
</th>
<?php
}

View File

@@ -371,7 +371,7 @@ if ($cfgShowStats) {
?>
<tr bgcolor="<?php echo ((++$i%2) ? $cfgBgcolorTwo : $cfgBgcolorOne); ?>">
<td><?php echo ucfirst($strFormat); ?></td>
<td align="<?php echo $cell_align_right; ?>" nowrap="nowrap">
<td align="<?php echo $cell_align_left; ?>" nowrap="nowrap">
<?php
echo ' ';
if ($showtable['Row_format'] == 'Fixed') {
@@ -415,7 +415,7 @@ if ($cfgShowStats) {
<tr bgcolor="<?php echo ((++$i%2) ? $cfgBgcolorTwo : $cfgBgcolorOne); ?>">
<td><?php echo ucfirst($strRowSize); ?>&nbsp;&oslash;</td>
<td align="right" nowrap="nowrap">
<?php echo $avg_size . '<bdo dir="' . $text_dir . '"> </bdo>' . $avg_unit . "\n"; ?>
<?php echo $avg_size . ' ' . $avg_unit . "\n"; ?>
</td>
</tr>
<?php