Moved number formatting information (number_format_* settings) from $conf array to the language files.
| | |
| | | $conf['html_content_encoding'] = 'utf-8'; // example: utf-8, iso-8859-1, ... |
| | | $conf['logo'] = 'themes/default/images/ispc_logo.png'; |
| | | |
| | | |
| | | //** Default Language |
| | | $conf['language'] = '{language}'; |
| | | $conf['debug_language'] = false; |
| | | |
| | | //** Currency format |
| | | $conf['number_format_decimals'] = 2; |
| | | $conf['number_format_dec_point'] = ','; |
| | | $conf['number_format_thousands_sep'] = ''; |
| | | |
| | | |
| | | //** Misc. |
| | |
| | | |
| | | public function decode($record) |
| | | { |
| | | global $conf; |
| | | global $conf, $app; |
| | | if(is_array($record)) { |
| | | foreach($this->listDef['item'] as $field){ |
| | | $key = $field['field']; |
| | |
| | | break; |
| | | |
| | | case 'CURRENCY': |
| | | $record[$key] = number_format($record[$key], $conf['number_format_decimals'], $conf['number_format_dec_point'], $conf['number_format_thousands_sep']); |
| | | $record[$key] = number_format($record[$key], (int)$app->lng('number_format_decimals'), $app->lng('number_format_dec_point'), $app->lng('number_format_thousands_sep')); |
| | | break; |
| | | |
| | | default: |
| | |
| | | * @return record |
| | | */ |
| | | function decode($record,$tab) { |
| | | global $conf; |
| | | global $conf, $app; |
| | | if(!is_array($this->formDef['tabs'][$tab])) $app->error("Tab does not exist or the tab is empty (TAB: $tab)."); |
| | | $new_record = ''; |
| | | if(is_array($record)) { |
| | |
| | | break; |
| | | |
| | | case 'CURRENCY': |
| | | $new_record[$key] = number_format((double)$record[$key], $conf['number_format_decimals'], $conf['number_format_dec_point'], $conf['number_format_thousands_sep']); |
| | | $new_record[$key] = number_format((double)$record[$key], (int)$app->lng('number_format_decimals'), $app->lng('number_format_dec_point'), $app->lng('number_format_thousands_sep')); |
| | | break; |
| | | |
| | | default: |
| | |
| | | $conf['language'] = 'en'; |
| | | $conf['debug_language'] = false; |
| | | |
| | | //** Currency formatting |
| | | $conf['number_format_decimals'] = 2; |
| | | $conf['number_format_dec_point'] = ','; |
| | | $conf['number_format_thousands_sep'] = ''; |
| | | |
| | | |
| | | //** Misc. |
| | | $conf['interface_logout_url'] = ''; // example: http://www.domain.tld/ |
| | | |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'ÛíÑ ãÓãæÍ ááÚÖæ ÈÇáÅÓÊÎÏÇã.'; |
| | | $wb['302'] = 'ÇáæÍÏÉ ÛíÑ ÕÇáÍÉ.'; |
| | | $wb['1001'] = 'áÇ íãßä áÇÓã ÇáãÓÊÎÏã ÃæßáãÉ ÇáãÑæÑ Çä íßæäÇ ÝÇÑÛÊíä!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Този модул не е разрешен за текущия потреител.'; |
| | | $wb['302'] = 'Невалиден модул.'; |
| | | $wb['1001'] = 'Потребителското име и паролата не могат да бъдат празни!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Módulo não permitido para o usuário corrente.'; |
| | | $wb['302'] = 'Módulo Inválido'; |
| | | $wb['1001'] = 'Nome de usuário ou senha em branco!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modul není povolen pro současného uživatele.'; |
| | | $wb['302'] = 'Neplatný modul.'; |
| | | $wb['1001'] = 'Uživatelské jméno a heslo nemohou být prázdné !'; |
| | |
| | | $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_dec_point'] = ','; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modul für Benutzer nicht erlaubt.'; |
| | | $wb['302'] = 'Modul ungültig.'; |
| | | $wb['1001'] = 'Der Benutzername und das Passwort dürfen nicht leer sein!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = "Module not permitted for the current user."; |
| | | $wb['302'] = "Module invalid."; |
| | | $wb['1001'] = "The username and password cannot be empty !"; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modulo no permitido para el usuario actual.'; |
| | | $wb['302'] = 'Modulo inválido.'; |
| | | $wb['1001'] = '¡El usuario y contraseña no pueden estar vacíos!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Tämä moduuli ei ole sallittu nykyiselle käyttäjälle.'; |
| | | $wb['302'] = 'Viallinen moduuli.'; |
| | | $wb['1001'] = 'Käyttäjätunnus ja/tai salasana eivät voi olla tyhjiä!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Module interdit pour lutilisateur courant.'; |
| | | $wb['302'] = 'Module invalide.'; |
| | | $wb['1001'] = 'Le nomp dutilisateur et/ou le nom de passe ne doivent pas être vides!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['page_txt'] = 'Oldal'; |
| | | $wb['page_of_txt'] = 'Összesen'; |
| | | $wb['page_next_txt'] = 'Tovább'; |
| | |
| | | $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_dec_point'] = '.';
|
| | | $wb['number_format_thousands_sep'] = '';
|
| | | $wb['301'] = 'Modul tidak diperbolehkan diakses oleh pengguna saat ini.';
|
| | | $wb['302'] = 'Modul tidak valid.';
|
| | | $wb['1001'] = 'Nama pengguna dan kata sandi tidak boleh kosong !';
|
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modulo non permesso per l`utente corrente.'; |
| | | $wb['302'] = 'Modulo non valido.'; |
| | | $wb['1001'] = 'Nome utente e password non possono essere vuoti!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'ログイン中のアカウントでは利用できないモジュールです。'; |
| | | $wb['302'] = 'モジュールが不正です。'; |
| | | $wb['1001'] = 'ユーザー名とパスワードを入力してください。'; |
| | |
| | | $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_dec_point'] = '.';
|
| | | $wb['number_format_thousands_sep'] = '';
|
| | | $wb['301'] = 'Module niet toegestaan voor de huidige gebruiker.';
|
| | | $wb['302'] = 'Ongeldige module.';
|
| | | $wb['1001'] = 'De gebruikersnaam en wachtwoord kunnen niet leeg zijn!';
|
| | |
| | | $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_dec_point'] = '.';
|
| | | $wb['number_format_thousands_sep'] = '';
|
| | | $wb['301'] = "Moduł nie jest dostępny dla aktualnego uzytkownika.";
|
| | | $wb['302'] = "Moduł jest niepoprawny.";
|
| | | $wb['1001'] = "Nazwa użytkownika i hasło nie może być puste !";
|
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Módulo não permitido para o utilizador corrente.'; |
| | | $wb['302'] = 'Módulo Inválido'; |
| | | $wb['1001'] = 'O nome de utilizador e a senha não podem estar em branco!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'userului NU i se permite acest modul '; |
| | | $wb['302'] = 'Modul invalid.'; |
| | | $wb['1001'] = 'rubricile username si password nu pot fi goale !'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Модуль недоступен для данной учетной записи.'; |
| | | $wb['302'] = 'Модуль неправилен.'; |
| | | $wb['1001'] = 'Имя или пароль не должны быть пустыми!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modulen är ej tillåten för nuvarande användare.'; |
| | | $wb['302'] = 'Modulen är ogiltig.'; |
| | | $wb['1001'] = 'Användarnamn och lösenord får ej vara tomma!'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modul nie je povolený pre existujúceho použivatela.'; |
| | | $wb['302'] = 'Module neplatný.'; |
| | | $wb['1001'] = 'Užvatelské meno a heslo nesmie byt prázdne !'; |
| | |
| | | $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_dec_point'] = '.'; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['301'] = 'Modül, bu kullanıcı için izin vermiyor.'; |
| | | $wb['302'] = 'Geçersiz Modül.'; |
| | | $wb['1001'] = 'Kullanıcı adı ve şifre boş geçilemez !'; |