Skip to content

Commit d30f2c6

Browse files
author
Marius Burkard
committed
Merge branch 'master' into 'stable-3.1'
Master See merge request !331
2 parents 69014bd + fe0bcd1 commit d30f2c6

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ function validateField($field_name, $field_value, $validators) {
10391039
break;
10401040
case 'V6PREFIXLENGTH':
10411041
// find shortes ipv6 subnet can`t be longer
1042-
$sql_v6 = $app->db->queryOneRecord("SELECT ip_address FROM server_ip WHERE ip_type = 'IPv6' AND virtualhost = 'y' ORDER BY CHAR_LENGTH(ip_address) ASC LIMIT 0,1;");
1042+
$sql_v6 = $app->db->queryOneRecord("SELECT ip_address FROM server_ip WHERE ip_type = 'IPv6' AND virtualhost = 'y' ORDER BY CHAR_LENGTH(ip_address) ASC LIMIT 0,1");
10431043
$sql_v6_explode=explode(':',$sql_v6['ip_address']);
10441044
$explode_field_value = explode(':',$field_value);
10451045
if (count($sql_v6_explode) < count($explode_field_value) && isset($sql_v6['ip_address'])) {

interface/web/admin/lib/lang/de_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ $wb['awstats_settings_txt'] = 'AWStats Einstellungen';
173173
$wb['backup_mode_txt'] = 'Backupmodus';
174174
$wb['backup_mode_userzip'] = 'Backup Dateien gehören dem Web Benutzer (.zip Datei)';
175175
$wb['backup_mode_rootgz'] = 'Backup aller Dateien des Webverzeichnisses als Root Benutzer';
176+
$wb['backup_time_txt'] = 'Backupzeit';
176177
$wb['firewall_txt'] = 'Firewall';
177178
$wb['mailbox_quota_stats_txt'] = 'E-Mailkonto Beschränkung Statistiken';
178179
$wb['enable_ip_wildcard_txt'] = 'IP Adressen Wildcard (*) aktivieren';

interface/web/admin/lib/lang/en_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ $wb["fastcgi_config_syntax_txt"] = 'FastCGI config syntax';
101101
$wb["backup_mode_txt"] = 'Backup mode';
102102
$wb["backup_mode_userzip"] = 'Backup web files owned by web user as zip';
103103
$wb["backup_mode_rootgz"] = 'Backup all files in web directory as root user';
104+
$wb["backup_time_txt"] = 'Backup time';
104105
$wb["server_type_txt"] = 'Server Type';
105106
$wb["nginx_vhost_conf_dir_txt"] = 'Nginx Vhost config dir';
106107
$wb["nginx_vhost_conf_enabled_dir_txt"] = 'Nginx Vhost config enabled dir';

interface/web/client/templates/domain_list.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ <h1><tmpl_var name="list_head_txt"></h1>
4545

4646
<tfoot>
4747
<tr>
48-
<td colspan="4"><tmpl_var name="paging"></td>
48+
<td colspan="3"><tmpl_var name="paging"></td>
4949
</tr>
5050
</tfoot>
5151
</table>
5252
</div>
5353

54-
54+

interface/web/dns/form/dns_soa.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
138138
'errmsg'=> 'mbox_error_empty'),
139139
1 => array ( 'type' => 'REGEX',
140-
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}\.$/',
140+
'regex' => '/^[a-zA-Z0-9\.\-\_\+]{0,255}\.$/',
141141
'errmsg'=> 'mbox_error_regex'),
142142
),
143143
'default' => '',

interface/web/sites/web_vhost_domain_edit.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ function onShowEnd() {
757757
* Now we have to check, if we should use the domain-module to select the domain
758758
* or not
759759
*/
760+
$settings = $app->getconf->get_global_config('domains');
760761
if ($settings['use_domain_module'] == 'y') {
761762
/*
762763
* The domain-module is in use.

0 commit comments

Comments
 (0)