Thousands and decimal separators are now language dependant

This commit is contained in:
Loïc Chapeaux
2001-07-07 17:16:02 +00:00
parent 5c5a0ddc25
commit bdc19fd749
26 changed files with 66 additions and 15 deletions

View File

@@ -17,6 +17,8 @@ $Source$
language dependant. language dependant.
* tbl_properties.inc.php3, line 235: removed an unnecessary php closing * tbl_properties.inc.php3, line 235: removed an unnecessary php closing
tag. tag.
* lib.inc.php3, lines 946-950; db_details.php3, lines 96 & 118; language
files: thousands and decimal separators are now language dependant.
2001-07-06 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-07-06 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* users_details.php3: fixed many little scripting bugs. * users_details.php3: fixed many little scripting bugs.

View File

@@ -93,7 +93,7 @@ else if (MYSQL_MAJOR_VERSION>=3.23 && isset($tbl_cache)){
<td><a href="sql.php3<?php echo $query;?>&sql_query=<?php echo urlencode("DELETE FROM $table");?>&zero_rows=<?php echo urlencode($strTable." ".$table." ".$strHasBeenEmptied);?>"><?php echo $strEmpty; ?></a></td> <td><a href="sql.php3<?php echo $query;?>&sql_query=<?php echo urlencode("DELETE FROM $table");?>&zero_rows=<?php echo urlencode($strTable." ".$table." ".$strHasBeenEmptied);?>"><?php echo $strEmpty; ?></a></td>
<?php <?php
if (isset($sts_data["Rows"])){ if (isset($sts_data["Rows"])){
echo "<td align=right>".number_format($sts_data["Rows"],0,',','.')."</td>\n"; echo "<td align=right>".number_format($sts_data["Rows"], 0, $number_decimal_separator, $number_thousands_separator)."</td>\n";
$tblsize=$sts_data["Data_length"]+$sts_data["Index_length"]; $tblsize=$sts_data["Data_length"]+$sts_data["Index_length"];
$sum_size+=$tblsize; $sum_size+=$tblsize;
$sum_entries+=$sts_data["Rows"]; $sum_entries+=$sts_data["Rows"];
@@ -115,7 +115,7 @@ else if (MYSQL_MAJOR_VERSION>=3.23 && isset($tbl_cache)){
if (!empty($strSum)) echo $strSum; if (!empty($strSum)) echo $strSum;
echo "</td>\n"; echo "</td>\n";
list ($sum_formated,$unit)=format_byte_down($sum_size,3,1); list ($sum_formated,$unit)=format_byte_down($sum_size,3,1);
echo "<td align=right>".number_format($sum_entries,0,',','.')."</td>\n"; echo "<td align=right>".number_format($sum_entries, 0, $number_decimal_separator, $number_thousands_separator)."</td>\n";
echo "<td align=right>$sum_formated $unit</td>\n"; echo "<td align=right>$sum_formated $unit</td>\n";
echo "</tr>\n"; echo "</tr>\n";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Acesso Negado"; $strAccessDenied = "Acesso Negado";
$strAction = "A<EFBFBD><EFBFBD>es"; $strAction = "A<EFBFBD><EFBFBD>es";

View File

@@ -4,6 +4,8 @@
$charset = "windows-1251"; $charset = "windows-1251";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
$strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Access denegat"; $strAccessDenied = "Access denegat";
$strAction = "Acci&oacute;"; $strAction = "Acci&oacute;";

View File

@@ -4,6 +4,8 @@
$charset = "big5"; $charset = "big5";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD>X<EFBFBD>ݳQ<EFBFBD>ڵ<EFBFBD>"; $strAccessDenied = "<EFBFBD>X<EFBFBD>ݳQ<EFBFBD>ڵ<EFBFBD>";
$strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ާ@"; $strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ާ@";

View File

@@ -4,6 +4,8 @@
$charset = "gb2312"; $charset = "gb2312";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ܾ<EFBFBD>"; $strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ܾ<EFBFBD>";
$strAction = "ִ<EFBFBD>в<EFBFBD><EFBFBD><EFBFBD>"; $strAction = "ִ<EFBFBD>в<EFBFBD><EFBFBD><EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-2"; $charset = "iso-8859-2";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "P<EFBFBD><EFBFBD>stup odep<65>en"; $strAccessDenied = "P<EFBFBD><EFBFBD>stup odep<65>en";
$strAction = "Akce"; $strAction = "Akce";

View File

@@ -4,6 +4,8 @@
$charset = "windows-1250"; $charset = "windows-1250";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "P<EFBFBD><EFBFBD>stup odep<65>en"; $strAccessDenied = "P<EFBFBD><EFBFBD>stup odep<65>en";
$strAction = "Akce"; $strAction = "Akce";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Adgang N&aelig;gtet"; $strAccessDenied = "Adgang N&aelig;gtet";
$strAction = "Handling"; $strAction = "Handling";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Toegang geweigerd "; $strAccessDenied = "Toegang geweigerd ";
$strAction = "Aktie"; $strAction = "Aktie";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Access denied"; $strAccessDenied = "Access denied";
$strAction = "Action"; $strAction = "Action";
@@ -251,7 +253,7 @@ $strUsage = "Usage";
$strUser = "User"; $strUser = "User";
$strUserEmpty = "The user name is empty!"; $strUserEmpty = "The user name is empty!";
$strUserName = "User name"; $strUserName = "User name";
$strUsers = "Users and privileges"; $strUsers = "Users";
$strUseTables = ""; //to translate, but its not in use ... $strUseTables = ""; //to translate, but its not in use ...
$strValue = "Value"; $strValue = "Value";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = " ";
$number_decimal_separator = ",";
$strAccessDenied = "Acc<EFBFBD>s refus<75>"; $strAccessDenied = "Acc<EFBFBD>s refus<75>";
$strAction = "Action"; $strAction = "Action";
@@ -13,8 +15,8 @@ $strAddNewField = "Ajouter un champ";
$strAddPriv = "Ajouter un privil<69>ge"; $strAddPriv = "Ajouter un privil<69>ge";
$strAddPrivMessage = "Vous avez ajout<75> un privil<69>ge"; $strAddPrivMessage = "Vous avez ajout<75> un privil<69>ge";
$strAddSearchConditions = "Crit<EFBFBD>res de recherche (pour l'<27>nonc<6E> \"where\"):"; $strAddSearchConditions = "Crit<EFBFBD>res de recherche (pour l'<27>nonc<6E> \"where\"):";
$strAddUser = "Ajouter un utilisateur"; $strAddUser = "Ajouter un usager";
$strAddUserMessage = "Vous avez ajout<75> un utilisateur"; $strAddUserMessage = "Vous avez ajout<75> un usager";
$strAfter = "Apr<EFBFBD>s"; $strAfter = "Apr<EFBFBD>s";
$strAll = "Tout"; $strAll = "Tout";
$strAlterOrderBy = "<b>Ordonner</b> la table par"; $strAlterOrderBy = "<b>Ordonner</b> la table par";
@@ -26,7 +28,7 @@ $strAnyColumn = "Toute colonne";
$strAnyDatabase = "Toute base de donn<6E>es"; $strAnyDatabase = "Toute base de donn<6E>es";
$strAnyHost = "Tout serveur"; $strAnyHost = "Tout serveur";
$strAnyTable = "Toute table"; $strAnyTable = "Toute table";
$strAnyUser = "Tout utilisateur"; $strAnyUser = "Tout usager";
$strAPrimaryKey = "Une cl<63> primaire a <20>t<EFBFBD> ajout<75>e sur"; $strAPrimaryKey = "Une cl<63> primaire a <20>t<EFBFBD> ajout<75>e sur";
$strAscending = "Croissant"; $strAscending = "Croissant";
$strAtBeginningOfTable = "En d<>but de Table"; $strAtBeginningOfTable = "En d<>but de Table";
@@ -70,7 +72,7 @@ $strDelete = "Effacer";
$strDeleted = "L'enregistrement a <20>t<EFBFBD> effac<61>"; $strDeleted = "L'enregistrement a <20>t<EFBFBD> effac<61>";
$strDeleteFailed = "L'effacement a <20>chou<6F>"; $strDeleteFailed = "L'effacement a <20>chou<6F>";
$strDeletePassword = "Effacer le mot de passe"; $strDeletePassword = "Effacer le mot de passe";
$strDeleteUserMessage = "Vous avez effac<61> l'utilisateur"; $strDeleteUserMessage = "Vous avez effac<61> l'usager";
$strDelPassMessage = "Vous avez effac<61> le mot de passe de "; $strDelPassMessage = "Vous avez effac<61> le mot de passe de ";
$strDescending = "D<EFBFBD>croissant"; $strDescending = "D<EFBFBD>croissant";
$strDisableMagicQuotes = "<b>Attention:</b> Vous avez positionn<6E> magic_quotes_gpc dans la configuration de PHP. Cette version de PhpMyAdmin ne peut fonctionner correctement avec. Veuillez vous r<>f<EFBFBD>rer au paragraphe traitant de la configration dans la documentation de PHP pour positionner cette variable <20> off."; $strDisableMagicQuotes = "<b>Attention:</b> Vous avez positionn<6E> magic_quotes_gpc dans la configuration de PHP. Cette version de PhpMyAdmin ne peut fonctionner correctement avec. Veuillez vous r<>f<EFBFBD>rer au paragraphe traitant de la configration dans la documentation de PHP pour positionner cette variable <20> off.";
@@ -155,7 +157,7 @@ $strNoRights = "Vous n'
$strNoTablesFound = "Aucune table n'a <20>t<EFBFBD> trouv<75>e dans cette base."; $strNoTablesFound = "Aucune table n'a <20>t<EFBFBD> trouv<75>e dans cette base.";
$strNotNumber = "Ce n'est pas un nombre !"; $strNotNumber = "Ce n'est pas un nombre !";
$strNotValidNumber = " n'est pas un nombre valide !"; $strNotValidNumber = " n'est pas un nombre valide !";
$strNoUsersFound = "Il n'y a aucun utilisateur"; $strNoUsersFound = "Il n'y a aucun usager";
$strNull = "Null"; $strNull = "Null";
$strNumberIndexes = " Nombre d'index sp<73>ciaux "; $strNumberIndexes = " Nombre d'index sp<73>ciaux ";
@@ -251,10 +253,10 @@ $strUpdatePassword = "Changer le mot de passe";
$strUpdatePrivMessage = "Vous avez modifi<66> les privil<69>ges pour"; $strUpdatePrivMessage = "Vous avez modifi<66> les privil<69>ges pour";
$strUpdateQuery = "Mise-<2D>-jour de la requ<71>te"; $strUpdateQuery = "Mise-<2D>-jour de la requ<71>te";
$strUsage = "Espace"; $strUsage = "Espace";
$strUser = "Utilisateur"; $strUser = "Usager";
$strUserEmpty = "Le nom d'utilisateur est vide"; $strUserEmpty = "Le nom d'usager est vide";
$strUserName = "Nom d'utilisateur"; $strUserName = "Nom d'usager";
$strUsers = "Utilisateurs et privil<69>ges"; $strUsers = "Usagers";
$strUseTables = "Utiliser les tables"; $strUseTables = "Utiliser les tables";
$strValue = "Valeur"; $strValue = "Valeur";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Zugriff verweigert."; $strAccessDenied = "Zugriff verweigert.";
$strAction = "Aktion"; $strAction = "Aktion";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Accesso negato"; $strAccessDenied = "Accesso negato";
$strAction = "Azione"; $strAction = "Azione";

View File

@@ -4,6 +4,8 @@
$charset = "euc-jp"; $charset = "euc-jp";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ݤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ݤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
$strAction = "<EFBFBD>¹<EFBFBD>"; $strAction = "<EFBFBD>¹<EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "ks_c_5601-1987"; $charset = "ks_c_5601-1987";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>."; $strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.";
$strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Ingen tilgang"; $strAccessDenied = "Ingen tilgang";
$strAction = "Handling"; $strAction = "Handling";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-2"; $charset = "iso-8859-2";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Brak dost<73>pu"; $strAccessDenied = "Brak dost<73>pu";
$strAction = "Dzia<EFBFBD>anie"; $strAction = "Dzia<EFBFBD>anie";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Acesso Negado"; $strAccessDenied = "Acesso Negado";
$strAction = "A<EFBFBD><EFBFBD>es"; $strAction = "A<EFBFBD><EFBFBD>es";

View File

@@ -4,6 +4,8 @@
$charset = "koi8-r"; $charset = "koi8-r";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAccessDenied = "<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
$strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "windows-1251"; $charset = "windows-1251";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAccessDenied = "<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
$strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"; $strAction = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "Acceso denegado "; $strAccessDenied = "Acceso denegado ";
$strAction = "Acci&oacute;n"; $strAction = "Acci&oacute;n";

View File

@@ -4,6 +4,8 @@
$charset = "iso-8859-1"; $charset = "iso-8859-1";
$left_font_family = "verdana, helvetica, arial, geneva, sans-serif"; $left_font_family = "verdana, helvetica, arial, geneva, sans-serif";
$right_font_family = "helvetica, arial, geneva, sans-serif"; $right_font_family = "helvetica, arial, geneva, sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD>tkommst nekad"; $strAccessDenied = "<EFBFBD>tkommst nekad";
$strAction = "Handling"; $strAction = "Handling";

View File

@@ -4,6 +4,8 @@
$charset = "tis-620"; $charset = "tis-620";
$left_font_family = "sans-serif"; $left_font_family = "sans-serif";
$right_font_family = "sans-serif"; $right_font_family = "sans-serif";
$number_thousands_separator = ",";
$number_decimal_separator = ".";
$strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD>͹حҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҹ";#Access denied"; $strAccessDenied = "<EFBFBD><EFBFBD><EFBFBD>͹حҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҹ";#Access denied";
$strAction = "<EFBFBD><EFBFBD>зӡ<EFBFBD><EFBFBD>"; $strAction = "<EFBFBD><EFBFBD>зӡ<EFBFBD><EFBFBD>";

View File

@@ -943,9 +943,12 @@ function format_byte_down($value,$limes=6,$comma=0){
$value=round($value/(1024/$dh))/$dh; $value=round($value/(1024/$dh))/$dh;
$unit="KB"; $unit="KB";
} }
if ($unit!="Byte") $returnvalue=number_format($value,$comma,',','.'); if ($unit!="Byte") {
else $returnvalue=number_format($value,0,',','.'); $return_value = number_format($value, $comma, $GLOBALS['number_decimal_separator'], $GLOBALS['number_thousands_separator']);
return array($returnvalue,$unit); } else {
$return_value = number_format($value, 0, $GLOBALS['number_decimal_separator'], $GLOBALS['number_thousands_separator']);
}
return array($return_value, $unit);
} }
// to support special characters in db names: Lem9, 2001-06-27 // to support special characters in db names: Lem9, 2001-06-27