[Web] Allow to turn off GAL for each domain

This commit is contained in:
andryyy
2019-01-16 23:41:02 +01:00
parent 0c84b484a5
commit 8dde735a0a
5 changed files with 43 additions and 6 deletions

View File

@@ -236,6 +236,7 @@ if (isset($_SESSION['mailcow_cc_role'])) {
<form data-id="editdomain" class="form-horizontal" role="form" method="post">
<input type="hidden" value="0" name="active">
<input type="hidden" value="0" name="backupmx">
<input type="hidden" value="0" name="gal">
<input type="hidden" value="0" name="relay_all_recipients">
<div class="form-group">
<label class="control-label col-sm-2" for="description"><?=$lang['edit']['description'];?></label>
@@ -299,6 +300,14 @@ if (isset($_SESSION['mailcow_cc_role'])) {
<?php
}
?>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<label><input type="checkbox" value="1" name="gal" <?=(isset($result['gal_int']) && $result['gal_int']=="1") ? "checked" : null;?>> <?=$lang['edit']['gal'];?></label>
<small class="help-block"><?=$lang['edit']['gal_info'];?></small>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">