[Web] Show hint when SOGo admin login is enabed, fix sieve preset in API

This commit is contained in:
andryyy
2019-12-18 06:48:46 +01:00
parent 7017360b8c
commit 9b6d915160
4 changed files with 14 additions and 3 deletions

View File

@@ -67,6 +67,15 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
<button class="btn btn-xs btn-default refresh_table" data-draw="draw_mailbox_table" data-table="mailbox_table"><?=$lang['admin']['refresh'];?></button>
</div>
</div>
<?php
if (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["ALLOW_ADMIN_EMAIL_LOGIN"])):
?>
<div class="panel-body help-block">
<?=$lang['mailbox']['sogo_allow_admin_hint'];?>
</div>
<?php
endif;
?>
<div class="table-responsive">
<table id="mailbox_table" class="table table-striped"></table>
</div>