diff --git a/interface/web/mail/xmpp_domain_edit.php b/interface/web/mail/xmpp_domain_edit.php index f973bdc9af50263dcdc49584daa9579b8a37d2de..16046dbc8fc3acf96e20540f73d37a646bb865d5 100644 --- a/interface/web/mail/xmpp_domain_edit.php +++ b/interface/web/mail/xmpp_domain_edit.php @@ -402,7 +402,7 @@ class page_action extends tform_actions { // $this->desyncMailusers($this->dataRecord['domain']); // Update DNS Records // TODO: Update gets only triggered from main form. WHY? - $soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other FROM dns_soa WHERE active = 'Y' AND origin = ?", $this->dataRecord['domain'].'.'); + $soa = $app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other FROM dns_soa WHERE active = 'Y' AND `origin` = ?", $this->dataRecord['domain'].'.'); if ( isset($soa) && !empty($soa) ) $this->update_dns($this->dataRecord, $soa); } diff --git a/interface/web/sites/database_quota_stats.php b/interface/web/sites/database_quota_stats.php index 5e95fdcaf8cfbeec4e667d995f969e2ebb2be02a..7164d85d0a7eccbfbfdc24dea6b0f8698145249f 100644 --- a/interface/web/sites/database_quota_stats.php +++ b/interface/web/sites/database_quota_stats.php @@ -80,7 +80,8 @@ class list_action extends listform_actions { $client = $app->db->queryOneRecord("SELECT * FROM client WHERE client_id = ?", $sys_group['client_id']); $rec['client'] = $client['username']; $rec['used'] = 'n/a'; - $rec['quota'] = 'n/a'; + if (empty($rec['database_quota'])) $rec['database_quota'] = 0; + $rec['quota'] = $rec['database_quota']; } $rec['id'] = $rec[$this->idx_key]; diff --git a/interface/web/sites/web_vhost_domain_edit.php b/interface/web/sites/web_vhost_domain_edit.php index 647061e7346c7f55975587c5b9609695ddce1f84..2b1c0ebf590214ea0042fbbca70d6c83a762496f 100644 --- a/interface/web/sites/web_vhost_domain_edit.php +++ b/interface/web/sites/web_vhost_domain_edit.php @@ -1460,9 +1460,13 @@ class page_action extends tform_actions { $this->dataRecord["domain"] = $rec['domain']; } if(isset($this->dataRecord["ip_address"]) && $rec['ip_address'] != $this->dataRecord["ip_address"] && $rec['sys_perm_group'] != 'riud') { + //* Add a error message and switch back to old server + $app->tform->errorMessage .= $app->lng('The IP can not be changed. Please ask your Administrator if you want to change the IPv4-Address.'); $this->dataRecord["ip_address"] = $rec['ip_address']; } if(isset($this->dataRecord["ipv6_address"]) && $rec['ipv6_address'] != $this->dataRecord["ipv6_address"] && $rec['sys_perm_group'] != 'riud') { + //* Add a error message and switch back to old server + $app->tform->errorMessage .= $app->lng('The IP can not be changed. Please ask your Administrator if you want to change the IPv6-Address.'); $this->dataRecord["ipv6_address"] = $rec['ipv6_address']; } unset($rec); diff --git a/interface/web/tools/lib/lang/ar_usersettings.lng b/interface/web/tools/lib/lang/ar_usersettings.lng index a1f3bd2ab93ccccca67f0becfd7263c25bb02cdb..4ac506ab77c1d084eb975ff864fabc0ffb2ddfd7 100644 --- a/interface/web/tools/lib/lang/ar_usersettings.lng +++ b/interface/web/tools/lib/lang/ar_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Password'; +$wb['password_txt'] = 'Password'; $wb['password_strength_txt'] = 'Password strength'; $wb['language_txt'] = 'Language'; $wb['password_mismatch'] = 'The password in the second password field does not match the first password.'; diff --git a/interface/web/tools/lib/lang/bg_usersettings.lng b/interface/web/tools/lib/lang/bg_usersettings.lng index b8e6a8695da35c795800426bfba7de7c7d3ced49..838053f5637682cf67fa9987a58e896ac325c5f4 100644 --- a/interface/web/tools/lib/lang/bg_usersettings.lng +++ b/interface/web/tools/lib/lang/bg_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Парола'; +$wb['password_txt'] = 'Парола'; $wb['password_strength_txt'] = 'Сила на паролата'; $wb['language_txt'] = 'Език'; $wb['password_mismatch'] = 'Паролите в двете полета не Ñъвпадат.'; diff --git a/interface/web/tools/lib/lang/br_usersettings.lng b/interface/web/tools/lib/lang/br_usersettings.lng index cf4242dc4abef5bf9e8cd765d1d070f29eba0d28..41de1002fe2e16bec2f485bbbb6952af3781e4fc 100644 --- a/interface/web/tools/lib/lang/br_usersettings.lng +++ b/interface/web/tools/lib/lang/br_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Senha'; +$wb['password_txt'] = 'Senha'; $wb['password_strength_txt'] = 'Segurança de Senha'; $wb['language_txt'] = 'Idioma'; $wb['password_mismatch'] = 'As senhas não conhecidem'; diff --git a/interface/web/tools/lib/lang/ca_usersettings.lng b/interface/web/tools/lib/lang/ca_usersettings.lng index 85c8e7547337ed023cccd2a8de52a6d9570d052f..fa40272aa08c094150913e5a3194e2cda2356128 100644 --- a/interface/web/tools/lib/lang/ca_usersettings.lng +++ b/interface/web/tools/lib/lang/ca_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Mot de passe'; +$wb['password_txt'] = 'Mot de passe'; $wb['password_strength_txt'] = 'Force du mot de passe'; $wb['language_txt'] = 'Langue'; $wb['password_mismatch'] = 'Le mot de passe de confirmation ne correspond avec le premier.'; diff --git a/interface/web/tools/lib/lang/cz_usersettings.lng b/interface/web/tools/lib/lang/cz_usersettings.lng index dec46b7a06de801c358648cd73bdb30c8370e482..98dd4ed8e7a09f4210a6ad8694d030bb24ed6962 100644 --- a/interface/web/tools/lib/lang/cz_usersettings.lng +++ b/interface/web/tools/lib/lang/cz_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Heslo'; +$wb['password_txt'] = 'Heslo'; $wb['password_strength_txt'] = 'BezpeÄnost hesla'; $wb['language_txt'] = 'Jazyk'; $wb['password_mismatch'] = 'Hesla se neshodujÃ.'; diff --git a/interface/web/tools/lib/lang/de_usersettings.lng b/interface/web/tools/lib/lang/de_usersettings.lng index 908bbf6d5bfbf698ff9fd1aee3e931658f7a050b..c643d38ff4e49bd5ba909380cf4af702715de985 100644 --- a/interface/web/tools/lib/lang/de_usersettings.lng +++ b/interface/web/tools/lib/lang/de_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Passwort'; +$wb['password_txt'] = 'Passwort'; $wb['language_txt'] = 'Sprache'; $wb['password_mismatch'] = 'Die Passwörter stimmen nicht überein.'; $wb['password_strength_txt'] = 'Passwortkomplexität'; diff --git a/interface/web/tools/lib/lang/el_usersettings.lng b/interface/web/tools/lib/lang/el_usersettings.lng index d2321b04bc134fd130c2ea462d88ec726b4de7e8..57e8bcb17a2b7dfc6677e58efbda065b480fd12a 100644 --- a/interface/web/tools/lib/lang/el_usersettings.lng +++ b/interface/web/tools/lib/lang/el_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Συνθηματικό'; +$wb['password_txt'] = 'Συνθηματικό'; $wb['password_strength_txt'] = 'ΔÏναμη συνθηματικοÏ'; $wb['language_txt'] = 'Γλώσσα'; $wb['password_mismatch'] = 'Το συνθηματικό στο δεÏτεÏο πεδίο δεν ταιÏιάζει με το συνθηματικό στο Ï€Ïώτο πεδίο.'; diff --git a/interface/web/tools/lib/lang/en_usersettings.lng b/interface/web/tools/lib/lang/en_usersettings.lng index efbe6c38dffac041966b89664c396bfffa61c209..e88232105895c365a78182c271583ead17559c44 100644 --- a/interface/web/tools/lib/lang/en_usersettings.lng +++ b/interface/web/tools/lib/lang/en_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb["passwort_txt"] = 'Password'; +$wb["password_txt"] = 'Password'; $wb["password_strength_txt"] = 'Password strength'; $wb["language_txt"] = 'Language'; $wb["password_mismatch"] = 'The password in the second password field does not match the first password.'; diff --git a/interface/web/tools/lib/lang/es_usersettings.lng b/interface/web/tools/lib/lang/es_usersettings.lng index c9bc3dbf84b123319ac54f10ee6884b5dbb14f28..9b2de57bfbd3bcf118bddf3f7113d9f57a47812b 100644 --- a/interface/web/tools/lib/lang/es_usersettings.lng +++ b/interface/web/tools/lib/lang/es_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Contraseña'; +$wb['password_txt'] = 'Contraseña'; $wb['password_strength_txt'] = 'Fortaleza de la contraseña'; $wb['language_txt'] = 'Idioma'; $wb['password_mismatch'] = 'La contraseña del primer y segundo campo no coinciden.'; diff --git a/interface/web/tools/lib/lang/fi_usersettings.lng b/interface/web/tools/lib/lang/fi_usersettings.lng index c869888d7de6d41c30ac1a6d5bb75b1fd5e5c263..8267c8117a57f1969b107d87d015a5c53bd6773d 100755 --- a/interface/web/tools/lib/lang/fi_usersettings.lng +++ b/interface/web/tools/lib/lang/fi_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Salasana'; +$wb['password_txt'] = 'Salasana'; $wb['language_txt'] = 'Kieli'; $wb['password_mismatch'] = 'Salasanat eivät täsmää.'; $wb['password_strength_txt'] = 'Salasanan vahvuus'; diff --git a/interface/web/tools/lib/lang/fr_usersettings.lng b/interface/web/tools/lib/lang/fr_usersettings.lng index fda69f9c7619cca5df60048857793b9d1f498362..c93a2443c4a5d4ef70895cc12174020adaf9963f 100644 --- a/interface/web/tools/lib/lang/fr_usersettings.lng +++ b/interface/web/tools/lib/lang/fr_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Mot de passe'; +$wb['password_txt'] = 'Mot de passe'; $wb['password_strength_txt'] = 'Force du mot de passe'; $wb['language_txt'] = 'Langue'; $wb['password_mismatch'] = 'Le mot de passe de confirmation ne correspond avec le premier.'; diff --git a/interface/web/tools/lib/lang/hr_usersettings.lng b/interface/web/tools/lib/lang/hr_usersettings.lng index 64b33d5923165125f255a75419c61f27be7d6d62..50759d4883abbc64344f6b8bc4afa9e73fff949a 100644 --- a/interface/web/tools/lib/lang/hr_usersettings.lng +++ b/interface/web/tools/lib/lang/hr_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Å ifra'; +$wb['password_txt'] = 'Å ifra'; $wb['password_strength_txt'] = 'JaÄina Å¡ifre'; $wb['language_txt'] = 'Jezik'; $wb['password_mismatch'] = 'Å ifra u drugom polju ne odgovara Å¡ifri iz prvog polja.'; diff --git a/interface/web/tools/lib/lang/hu_usersettings.lng b/interface/web/tools/lib/lang/hu_usersettings.lng index 51fe50ec0cd146ab1751f1e6eb52e751a1f371bf..49aa75537fc06fa9fd9aaef184b5e16aa5408efd 100644 --- a/interface/web/tools/lib/lang/hu_usersettings.lng +++ b/interface/web/tools/lib/lang/hu_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Jelszó'; +$wb['password_txt'] = 'Jelszó'; $wb['language_txt'] = 'Nyelv'; $wb['password_mismatch'] = 'Jelszavak nem egyeznek meg.'; $wb['Form to edit the user password and language.'] = 'Jelszó, nyelv és hitelesÃtés beállÃtó oldal.'; diff --git a/interface/web/tools/lib/lang/id_usersettings.lng b/interface/web/tools/lib/lang/id_usersettings.lng index 19ecb549b48e7d483f24d0c13bbafee18ee618ef..7b1bc225cad5a6e8d3631332e983cd88e92f5179 100644 --- a/interface/web/tools/lib/lang/id_usersettings.lng +++ b/interface/web/tools/lib/lang/id_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Kata Sandi'; +$wb['password_txt'] = 'Kata Sandi'; $wb['password_strength_txt'] = 'Kekuatan Sandi'; $wb['language_txt'] = 'Bahasa'; $wb['password_mismatch'] = 'Kata sandi di kolom kata sandi kedua tidak cocok dengan kata sandi pertama.'; diff --git a/interface/web/tools/lib/lang/it_usersettings.lng b/interface/web/tools/lib/lang/it_usersettings.lng index 6e671a3bb4c164d9c84bf750a2dd815e2f67f6a3..e75e8d28d2cf550d1893d81053c910d87584e7a3 100644 --- a/interface/web/tools/lib/lang/it_usersettings.lng +++ b/interface/web/tools/lib/lang/it_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Password'; +$wb['password_txt'] = 'Password'; $wb['language_txt'] = 'Lingua'; $wb['password_mismatch'] = 'Il secondo campo password non corrisponde con il primo.'; $wb['Form to edit the user password and language.'] = 'Form per modificare la password e la lingua dellutente.'; diff --git a/interface/web/tools/lib/lang/ja_usersettings.lng b/interface/web/tools/lib/lang/ja_usersettings.lng index e4b4a4ceab96e0c57006a8605903c178476d49f0..443a4510543f83ab235d1e0dcf57a1f4770f5576 100644 --- a/interface/web/tools/lib/lang/ja_usersettings.lng +++ b/interface/web/tools/lib/lang/ja_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'パスワード'; +$wb['password_txt'] = 'パスワード'; $wb['password_strength_txt'] = 'パスワードã®å¼·åº¦'; $wb['language_txt'] = '言語'; $wb['password_mismatch'] = 'パスワードã®1ã¤ã‚ã®æ¬„ã¨2ã¤ã‚ã®æ¬„ãŒä¸€è‡´ã—ã¦ã„ã¾ã›ã‚“。'; diff --git a/interface/web/tools/lib/lang/nl_usersettings.lng b/interface/web/tools/lib/lang/nl_usersettings.lng index ec8be959bcee3132f0fa07699007316ba2519a2c..0a95f7ffa9024dfff4d9db8168f76769a6df4792 100644 --- a/interface/web/tools/lib/lang/nl_usersettings.lng +++ b/interface/web/tools/lib/lang/nl_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Wachtwoord'; +$wb['password_txt'] = 'Wachtwoord'; $wb['password_strength_txt'] = 'Wachtwoord sterkte'; $wb['language_txt'] = 'Taal'; $wb['password_mismatch'] = 'De door u ingevulde wachtwoorden komen niet overeen.'; diff --git a/interface/web/tools/lib/lang/pl_usersettings.lng b/interface/web/tools/lib/lang/pl_usersettings.lng index addd42b34e00fa063ab44b4d20c4d85910a19c91..45081f681b6fce1de43062dd7602f154a15a5821 100644 --- a/interface/web/tools/lib/lang/pl_usersettings.lng +++ b/interface/web/tools/lib/lang/pl_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'HasÅ‚o'; +$wb['password_txt'] = 'HasÅ‚o'; $wb['password_strength_txt'] = 'SiÅ‚a hasÅ‚a'; $wb['language_txt'] = 'JÄ™zyk'; $wb['password_mismatch'] = 'HasÅ‚a nie pasujÄ… do siebie.'; diff --git a/interface/web/tools/lib/lang/pt_usersettings.lng b/interface/web/tools/lib/lang/pt_usersettings.lng index b622c664878a7ec7ee5ac73a4a18b8de7d1da062..81fd824d303c8845fbe31e5110d226738fbcaad8 100644 --- a/interface/web/tools/lib/lang/pt_usersettings.lng +++ b/interface/web/tools/lib/lang/pt_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Senha'; +$wb['password_txt'] = 'Senha'; $wb['password_strength_txt'] = 'Segurança de Senha'; $wb['language_txt'] = 'Idioma'; $wb['password_mismatch'] = 'As senhas não coincidem'; diff --git a/interface/web/tools/lib/lang/ro_usersettings.lng b/interface/web/tools/lib/lang/ro_usersettings.lng index c0d3724598f5eea5bdf6f43eaa18b83c42f62916..fae890fab609e6801b5e57f2de2e5059b37b1f50 100644 --- a/interface/web/tools/lib/lang/ro_usersettings.lng +++ b/interface/web/tools/lib/lang/ro_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Password'; +$wb['password_txt'] = 'Password'; $wb['password_strength_txt'] = 'Password strength'; $wb['language_txt'] = 'Limba'; $wb['password_mismatch'] = 'Parola in al doilea camp nu coincide cu primul.'; diff --git a/interface/web/tools/lib/lang/ru_usersettings.lng b/interface/web/tools/lib/lang/ru_usersettings.lng index a26c04831e070be6824b896c755bfaf6ba92d185..ba6784d8bd3ba73c47bd8f90e46028b54a97799d 100644 --- a/interface/web/tools/lib/lang/ru_usersettings.lng +++ b/interface/web/tools/lib/lang/ru_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Пароль'; +$wb['password_txt'] = 'Пароль'; $wb['password_strength_txt'] = 'СложноÑÑ‚ÑŒ паролÑ'; $wb['language_txt'] = 'Язык'; $wb['password_mismatch'] = 'Введенные пароли не Ñовпадают.'; diff --git a/interface/web/tools/lib/lang/se_usersettings.lng b/interface/web/tools/lib/lang/se_usersettings.lng index f7e05e913cf5ddd0554dcf00f332ea7eec845e11..4461fff4968b7df639c080a81b5e9ddf6cb4113d 100644 --- a/interface/web/tools/lib/lang/se_usersettings.lng +++ b/interface/web/tools/lib/lang/se_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Lösenord'; +$wb['password_txt'] = 'Lösenord'; $wb['password_strength_txt'] = 'Lösenordsstyrka'; $wb['language_txt'] = 'SprÃ¥k'; $wb['password_mismatch'] = 'The password in the second password field does not match the first password.'; diff --git a/interface/web/tools/lib/lang/sk_usersettings.lng b/interface/web/tools/lib/lang/sk_usersettings.lng index 5545950890810e5bad1bb4e1ffab742ba8ec073a..4c8bcb900e742c83a7b65aa4c29293be8f866f1a 100644 --- a/interface/web/tools/lib/lang/sk_usersettings.lng +++ b/interface/web/tools/lib/lang/sk_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Heslo'; +$wb['password_txt'] = 'Heslo'; $wb['password_strength_txt'] = 'PevnosÅ¥ hesla'; $wb['language_txt'] = 'Jazyk'; $wb['password_mismatch'] = 'Heslo v overovacom poli nezodpovedá prvému heslu.'; diff --git a/interface/web/tools/lib/lang/tr_usersettings.lng b/interface/web/tools/lib/lang/tr_usersettings.lng index ce7770c8fd44955a323ba1664a670a8bdc89cf19..cfc5a0dc231cfe28738bc5a8974e1a833a297d5d 100644 --- a/interface/web/tools/lib/lang/tr_usersettings.lng +++ b/interface/web/tools/lib/lang/tr_usersettings.lng @@ -1,5 +1,5 @@ <?php -$wb['passwort_txt'] = 'Parola'; +$wb['password_txt'] = 'Parola'; $wb['password_strength_txt'] = 'Parola Güçlüğü'; $wb['language_txt'] = 'Dil'; $wb['password_mismatch'] = 'Parola ile onayı aynı deÄŸil.';