Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2007-07-09 23:41:38 +0400
committerMarc Delisle <marc@infomarc.info>2007-07-09 23:41:38 +0400
commit2d9613dfea6b4585c8ea43c3cfb381dd1f7dc7a8 (patch)
tree9a46ce02c8601d4074deb762b59e919d5a979cb4 /db_printview.php
parent4456bf82e523b596ebb9c109e278a936a3055465 (diff)
patch #1749705, Allow multibyte characters in number formatting, thanks to garas
Diffstat (limited to 'db_printview.php')
-rw-r--r--db_printview.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/db_printview.php b/db_printview.php
index 77b06e6365..ed9baac80c 100644
--- a/db_printview.php
+++ b/db_printview.php
@@ -135,9 +135,9 @@ else {
<td align="right">
<?php
if ($merged_size) {
- echo '<i>' . number_format($sts_data['TABLE_ROWS'], 0, $number_decimal_separator, $number_thousands_separator) . '</i>' . "\n";
+ echo '<i>' . PMA_formatNumber($sts_data['TABLE_ROWS'], 0) . '</i>' . "\n";
} else {
- echo number_format($sts_data['TABLE_ROWS'], 0, $number_decimal_separator, $number_thousands_separator) . "\n";
+ echo PMA_formatNumber($sts_data['TABLE_ROWS'], 0) . "\n";
}
?>
</td>
@@ -218,10 +218,10 @@ else {
?>
<tr>
<th align="center">
- <?php echo sprintf($strTables, number_format($num_tables, 0, $number_decimal_separator, $number_thousands_separator)); ?>
+ <?php echo sprintf($strTables, PMA_formatNumber($num_tables, 0)); ?>
</th>
<th align="right" nowrap="nowrap">
- <?php echo number_format($sum_entries, 0, $number_decimal_separator, $number_thousands_separator); ?>
+ <?php echo PMA_formatNumber($sum_entries, 0); ?>
</th>
<th align="center">
--