Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
36d48701
Commit
36d48701
authored
Sep 18, 2012
by
mcramer
Browse files
Added: second decimal count to separate internal view from client view
parent
5d0839d4
Changes
24
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/functions.inc.php
View file @
36d48701
...
...
@@ -117,9 +117,11 @@ class functions {
return
$out
;
}
public
function
currency_format
(
$number
)
{
public
function
currency_format
(
$number
,
$view
=
''
)
{
global
$app
;
$number_format_decimals
=
(
int
)
$app
->
lng
(
'number_format_decimals'
);
if
(
$view
!=
''
)
$number_format_decimals
=
(
int
)
$app
->
lng
(
'number_format_decimals_'
.
$view
);
if
(
!
$number_format_decimals
)
$number_format_decimals
=
(
int
)
$app
->
lng
(
'number_format_decimals'
);
$number_format_dec_point
=
$app
->
lng
(
'number_format_dec_point'
);
$number_format_thousands_sep
=
$app
->
lng
(
'number_format_thousands_sep'
);
if
(
$number_format_thousands_sep
==
'number_format_thousands_sep'
)
$number_format_thousands_sep
=
''
;
...
...
interface/lib/lang/ar.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'ÛíÑ ãÓãæÍ ááÚÖæ ÈÇáÅÓÊÎÏÇã.'
;
...
...
interface/lib/lang/bg.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Този модул не е разрешен за текущия потреител.'
;
...
...
interface/lib/lang/br.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS de F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd/m/Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Módulo não permitido para o usuário corrente.'
;
...
...
interface/lib/lang/cz.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-d-m H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Modul není povolen pro současného uživatele.'
;
...
...
interface/lib/lang/de.lng
View file @
36d48701
...
...
@@ -5,7 +5,8 @@ $wb['conf_format_datelong'] = 'l, d. F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd.m.Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
','
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Modul für Benutzer nicht erlaubt.'
;
...
...
interface/lib/lang/el.lng
View file @
36d48701
...
...
@@ -35,7 +35,8 @@ $wb['top_menu_domain'] = 'Domains';
$wb
[
'top_menu_dashboard'
]
=
'Αρχική'
;
$wb
[
'toolsarea_head_txt'
]
=
'Εργαλεία'
;
$wb
[
'latest_news_txt'
]
=
'Τελευταία Νέα'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'top_menu_vm'
]
=
'VServer'
;
...
...
interface/lib/lang/en.lng
View file @
36d48701
...
...
@@ -5,7 +5,8 @@ $wb['conf_format_datelong'] = "l dS of F Y";
$wb
[
'conf_format_timeshort'
]
=
"H:i"
;
$wb
[
'conf_format_timelong'
]
=
"H:i:s"
;
$wb
[
'conf_format_datetime'
]
=
"Y-m-d H:i"
;
$wb
[
'number_format_decimals'
]
=
2
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
"Module not permitted for the current user."
;
...
...
interface/lib/lang/es.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Modulo no permitido para el usuario actual.'
;
...
...
interface/lib/lang/fi.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Tämä moduuli ei ole sallittu nykyiselle käyttäjälle.'
;
...
...
interface/lib/lang/fr.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd-m-Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
','
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Vous navez pas accès à ce module'
;
...
...
interface/lib/lang/hr.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l d. F Y.';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd.m.Y. H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
','
;
$wb
[
'number_format_thousands_sep'
]
=
'.'
;
$wb
[
'delete_confirmation'
]
=
'Da li želite obrisati ovaj DNS zapis?'
;
...
...
interface/lib/lang/hu.lng
View file @
36d48701
...
...
@@ -36,7 +36,8 @@ $wb['top_menu_domain'] = 'Domainek';
$wb
[
'top_menu_dashboard'
]
=
'Főoldal'
;
$wb
[
'latest_news_txt'
]
=
'Legfrissebb hírek'
;
$wb
[
'top_menu_vm'
]
=
'VM'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'daynamesmin_su'
]
=
'Su'
;
...
...
interface/lib/lang/id.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd-m-Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Modul tidak diperbolehkan diakses oleh pengguna saat ini.'
;
...
...
interface/lib/lang/it.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd-m-Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
','
;
$wb
[
'number_format_thousands_sep'
]
=
'.'
;
$wb
[
'delete_confirmation'
]
=
'Sei sicuro di voler cancellare questo record?'
;
...
...
interface/lib/lang/ja.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y/m/d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'ログイン中のアカウントでは利用できないモジュールです。'
;
...
...
interface/lib/lang/nl.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l, d. F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd.m.Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
','
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Module niet toegestaan voor de huidige gebruiker.'
;
...
...
interface/lib/lang/pl.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Moduł nie jest dostępny dla aktualnego uzytkownika.'
;
...
...
interface/lib/lang/pt.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS de F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'd/m/Y H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'Módulo não permitido para o utilizador corrente.'
;
...
...
interface/lib/lang/ro.lng
View file @
36d48701
...
...
@@ -4,7 +4,8 @@ $wb['conf_format_datelong'] = 'l dS of F Y';
$wb
[
'conf_format_timeshort'
]
=
'H:i'
;
$wb
[
'conf_format_timelong'
]
=
'H:i:s'
;
$wb
[
'conf_format_datetime'
]
=
'Y-m-d H:i'
;
$wb
[
'number_format_decimals'
]
=
'2'
;
$wb
[
'number_format_decimals'
]
=
'4'
;
$wb
[
'number_format_decimals_client'
]
=
'2'
;
$wb
[
'number_format_dec_point'
]
=
'.'
;
$wb
[
'number_format_thousands_sep'
]
=
''
;
$wb
[
'error_301'
]
=
'userului NU i se permite acest modul '
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment