Skip to content

Commit 1ebaacf

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
fixed checkbox in dmarc template See merge request ispconfig/ispconfig3!781
2 parents d536e5a + 3498837 commit 1ebaacf

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ ALTER TABLE `web_domain` ADD COLUMN `ssl_letsencrypt_exclude` enum('n','y') NOT
22
ALTER TABLE `remote_user` ADD `remote_access` ENUM('y','n') NOT NULL DEFAULT 'y' AFTER `remote_password`;
33
ALTER TABLE `remote_user` ADD `remote_ips` TEXT AFTER `remote_access`;
44
ALTER TABLE `server_php` ADD `active` enum('y','n') NOT NULL DEFAULT 'y' AFTER `php_fpm_pool_dir`;
5+
ALTER TABLE `web_domain` CHANGE `log_retention` `log_retention` INT(11) NOT NULL DEFAULT '10';

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ CREATE TABLE `web_domain` (
19901990
`http_port` int(11) unsigned NOT NULL DEFAULT '80',
19911991
`https_port` int(11) unsigned NOT NULL DEFAULT '443',
19921992
`folder_directive_snippets` text,
1993-
`log_retention` int(11) NOT NULL DEFAULT '30',
1993+
`log_retention` int(11) NOT NULL DEFAULT '10',
19941994
PRIMARY KEY (`domain_id`),
19951995
UNIQUE KEY `serverdomain` ( `server_id` , `ip_address`, `domain` )
19961996
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

interface/web/dns/templates/dns_dmarc_edit.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
147147
<div class="form-group">
148148
<label class="col-sm-2 control-label">{tmpl_var name='active_txt'}</label>
149149
<div class="col-sm-3">
150-
{tmpl_var name='active'}
150+
<input type="checkbox" value="1" id="active" name="active" {tmpl_var name='active'} </input>
151151
</div>
152152
</div>
153153

0 commit comments

Comments
 (0)