Disable "Host access to custom networks"

This commit is contained in:
bergware
2021-06-13 09:26:46 +02:00
parent 2a5bf3543b
commit 13bd42cbd4
@@ -239,8 +239,8 @@ _(Template Authoring Mode)_:
:docker_authoring_mode_help:
_(Host access to custom networks)_:
: <select name="DOCKER_ALLOW_ACCESS">
<?=mk_option($dockercfg['DOCKER_ALLOW_ACCESS'], '', _('Disabled'))?>
: <select name="DOCKER_ALLOW_ACCESS" disabled>
<?=mk_option($dockercfg['DOCKER_ALLOW_ACCESS'], '', _('Disabled'),'selected')?>
<?=mk_option($dockercfg['DOCKER_ALLOW_ACCESS'], 'yes', _('Enabled'))?>
</select>
@@ -437,7 +437,7 @@ _(Docker LOG rotation)_:
:docker_log_rotation_active_help:
_(Host access to custom networks)_:
: <?=$dockercfg['DOCKER_ALLOW_ACCESS']=='' ? _('Disabled') : _('Enabled')?>
: <?=($dockercfg['DOCKER_ALLOW_ACCESS']||1) ? _('Disabled') : _('Enabled')?>
:docker_custom_network_active_help: