[Web] Minor changes

This commit is contained in:
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>
<div class="col-sm-6"> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="sender"><span class="glyphicon glyphicon-copy"></span> <?=$lang['admin']['quarantine_global_rcpt'];?></label> <label for="sender"><span class="glyphicon glyphicon-copy"></span> <?=$lang['admin']['quarantine_bcc'];?></label>
<input type="email" class="form-control" name="global_rcpt" value="<?=htmlspecialchars($q_data['global_rcpt']);?>" placeholder=""> <input type="email" class="form-control" name="bcc" value="<?=htmlspecialchars($q_data['bcc']);?>" placeholder="">
</div> </div>
</div> </div>
</div> </div>

View File

@ -48,6 +48,10 @@ $(document).ready(function() {
$(this.$domain).closest("select").selectpicker(); $(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 domain quota when adding new domain
auto_fill_quota = function(domain) { auto_fill_quota = function(domain) {
$.get("/api/v1/get/domain/" + domain, function(data){ $.get("/api/v1/get/domain/" + domain, function(data){