[Web] Minor changes

master
andryyy 2020-01-10 20:49:54 +01:00
parent 65232298bb
commit ec1dce508e
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 6 additions and 2 deletions

View File

@ -723,8 +723,8 @@ if (!isset($_SESSION['gal']) && $license_cache = $redis->Get('LICENSE_STATUS_CAC
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="sender"><span class="glyphicon glyphicon-copy"></span> <?=$lang['admin']['quarantine_global_rcpt'];?></label>
<input type="email" class="form-control" name="global_rcpt" value="<?=htmlspecialchars($q_data['global_rcpt']);?>" placeholder="">
<label for="sender"><span class="glyphicon glyphicon-copy"></span> <?=$lang['admin']['quarantine_bcc'];?></label>
<input type="email" class="form-control" name="bcc" value="<?=htmlspecialchars($q_data['bcc']);?>" placeholder="">
</div>
</div>
</div>

View File

@ -48,6 +48,10 @@ $(document).ready(function() {
$(this.$domain).closest("select").selectpicker();
}
});
// Clone mailbox mass actions
$("div").find("[data-actions-header='true'").each(function() {
$(this).html($(this).nextAll('.mass-actions-mailbox:first').html());
});
// Auto-fill domain quota when adding new domain
auto_fill_quota = function(domain) {
$.get("/api/v1/get/domain/" + domain, function(data){