Skip to content

Commit 1ec27d7

Browse files
author
Marius Burkard
committed
Merge branch 'florian030/ispconfig3-master' into stable-3.1
2 parents da8c526 + 701f4d8 commit 1ec27d7

27 files changed

+31
-26
lines changed

interface/web/mail/xmpp_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function onAfterUpdate() {
402402
// $this->desyncMailusers($this->dataRecord['domain']);
403403
// Update DNS Records
404404
// TODO: Update gets only triggered from main form. WHY?
405-
$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'].'.');
405+
$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'].'.');
406406
if ( isset($soa) && !empty($soa) ) $this->update_dns($this->dataRecord, $soa);
407407
}
408408

interface/web/sites/database_quota_stats.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ function prepareDataRow($rec) {
8080
$client = $app->db->queryOneRecord("SELECT * FROM client WHERE client_id = ?", $sys_group['client_id']);
8181
$rec['client'] = $client['username'];
8282
$rec['used'] = 'n/a';
83-
$rec['quota'] = 'n/a';
83+
if (empty($rec['database_quota'])) $rec['database_quota'] = 0;
84+
$rec['quota'] = $rec['database_quota'];
8485
}
8586
$rec['id'] = $rec[$this->idx_key];
8687

interface/web/sites/web_vhost_domain_edit.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,9 +1460,13 @@ function onBeforeUpdate () {
14601460
$this->dataRecord["domain"] = $rec['domain'];
14611461
}
14621462
if(isset($this->dataRecord["ip_address"]) && $rec['ip_address'] != $this->dataRecord["ip_address"] && $rec['sys_perm_group'] != 'riud') {
1463+
//* Add a error message and switch back to old server
1464+
$app->tform->errorMessage .= $app->lng('The IP can not be changed. Please ask your Administrator if you want to change the IPv4-Address.');
14631465
$this->dataRecord["ip_address"] = $rec['ip_address'];
14641466
}
14651467
if(isset($this->dataRecord["ipv6_address"]) && $rec['ipv6_address'] != $this->dataRecord["ipv6_address"] && $rec['sys_perm_group'] != 'riud') {
1468+
//* Add a error message and switch back to old server
1469+
$app->tform->errorMessage .= $app->lng('The IP can not be changed. Please ask your Administrator if you want to change the IPv6-Address.');
14661470
$this->dataRecord["ipv6_address"] = $rec['ipv6_address'];
14671471
}
14681472
unset($rec);

interface/web/tools/lib/lang/ar_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Password';
2+
$wb['password_txt'] = 'Password';
33
$wb['password_strength_txt'] = 'Password strength';
44
$wb['language_txt'] = 'Language';
55
$wb['password_mismatch'] = 'The password in the second password field does not match the first password.';

interface/web/tools/lib/lang/bg_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Парола';
2+
$wb['password_txt'] = 'Парола';
33
$wb['password_strength_txt'] = 'Сила на паролата';
44
$wb['language_txt'] = 'Език';
55
$wb['password_mismatch'] = 'Паролите в двете полета не съвпадат.';

interface/web/tools/lib/lang/br_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Senha';
2+
$wb['password_txt'] = 'Senha';
33
$wb['password_strength_txt'] = 'Segurança de Senha';
44
$wb['language_txt'] = 'Idioma';
55
$wb['password_mismatch'] = 'As senhas não conhecidem';

interface/web/tools/lib/lang/ca_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Mot de passe';
2+
$wb['password_txt'] = 'Mot de passe';
33
$wb['password_strength_txt'] = 'Force du mot de passe';
44
$wb['language_txt'] = 'Langue';
55
$wb['password_mismatch'] = 'Le mot de passe de confirmation ne correspond avec le premier.';

interface/web/tools/lib/lang/cz_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Heslo';
2+
$wb['password_txt'] = 'Heslo';
33
$wb['password_strength_txt'] = 'Bezpečnost hesla';
44
$wb['language_txt'] = 'Jazyk';
55
$wb['password_mismatch'] = 'Hesla se neshodují.';

interface/web/tools/lib/lang/de_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Passwort';
2+
$wb['password_txt'] = 'Passwort';
33
$wb['language_txt'] = 'Sprache';
44
$wb['password_mismatch'] = 'Die Passwörter stimmen nicht überein.';
55
$wb['password_strength_txt'] = 'Passwortkomplexität';

interface/web/tools/lib/lang/el_usersettings.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
$wb['passwort_txt'] = 'Συνθηματικό';
2+
$wb['password_txt'] = 'Συνθηματικό';
33
$wb['password_strength_txt'] = 'Δύναμη συνθηματικού';
44
$wb['language_txt'] = 'Γλώσσα';
55
$wb['password_mismatch'] = 'Το συνθηματικό στο δεύτερο πεδίο δεν ταιριάζει με το συνθηματικό στο πρώτο πεδίο.';

0 commit comments

Comments
 (0)