|
|
@@ -110,7 +110,6 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
|
|
|
<div class="clearfix l-unit__stat-col--left text-right compact-4">
|
|
|
<div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
|
|
|
<div class="actions-panel clearfix">
|
|
|
-<<<<<<< HEAD
|
|
|
<? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['RESTRICTED_ADMIN'] === 'yes')) {?>
|
|
|
<!-- Restrict the ability to edit, delete, or suspend domain items when impersonating 'admin' account -->
|
|
|
<? if ($data[$key]['SUSPENDED'] == 'no') {?>
|
|
|
@@ -118,8 +117,10 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
|
|
|
<? } ?>
|
|
|
<? } else { ?>
|
|
|
<? if ($data[$key]['SUSPENDED'] == 'no') {?>
|
|
|
- <? if (!empty($data[$key]['WEBMAIL'])) {?>
|
|
|
- <div class="actions-panel__col actions-panel__edit" key-action="href"><a href="http://<?=$v_webmail_alias;?>.<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?>" target="_blank" title="<?=_('open webmail')?>"><i class="fas fa-envelope-open-text status-icon maroon status-icon dim"></i></a></div>
|
|
|
+ <?php if($_SESSION['WEBMAIL_SYSTEM']){?>
|
|
|
+ <? if (!empty($data[$key]['WEBMAIL'])) {?>
|
|
|
+ <div class="actions-panel__col actions-panel__edit" key-action="href"><a href="http://<?=$v_webmail_alias;?>.<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?>" target="_blank" title="<?=_('open webmail')?>"><i class="fas fa-envelope-open-text status-icon maroon status-icon dim"></i></a></div>
|
|
|
+ <? } ?>
|
|
|
<? } ?>
|
|
|
<div class="actions-panel__col actions-panel__logs shortcut-enter" key-action="href"><a href="/edit/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('Editing Mail Account')?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim"></i></a></div>
|
|
|
<? } ?>
|
|
|
@@ -142,30 +143,6 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
|
|
|
</a>
|
|
|
</div>
|
|
|
<? } ?>
|
|
|
-=======
|
|
|
- <div class="actions-panel__col actions-panel__edit" key-action="href"><a href="http://<?=$v_webmail_alias;?>.<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?>" target="_blank" title="<?=_('open webmail')?>"><i class="fas fa-envelope-open-text status-icon maroon status-icon dim"></i></a></div>
|
|
|
- <?php if($_SESSION['WEBMAIL_SYSTEM']){?>
|
|
|
- <div class="actions-panel__col actions-panel__logs shortcut-enter" key-action="href"><a href="/edit/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('Editing Mail Account')?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim"></i></a></div>
|
|
|
- <?php } ?>
|
|
|
- <div class="actions-panel__col actions-panel__suspend shortcut-s" key-action="js">
|
|
|
- <a id="<?=$spnd_action ?>_link_<?=$i?>" class="data-controls do_<?=$spnd_action?>" title="<?=_($spnd_action)?>">
|
|
|
- <i class="fas <?=$spnd_icon?> status-icon highlight status-icon dim do_<?=$spnd_action?>"></i>
|
|
|
- <input type="hidden" name="<?=$spnd_action?>_url" value="/<?=$spnd_action?>/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?php echo $key ?>&token=<?=$_SESSION['token']?>" />
|
|
|
- <div id="<?=$spnd_action?>_dialog_<?=$i?>" class="confirmation-text-suspention hidden" title="<?=_('Confirmation')?>">
|
|
|
- <p class="confirmation"><?=sprintf($spnd_confirmation,$key)?></p>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="actions-panel__col actions-panel__delete shortcut-delete" key-action="js">
|
|
|
- <a id="delete_link_<?=$i?>" class="data-controls do_delete" title="<?=_('delete')?>">
|
|
|
- <i class="fas fa-trash status-icon red status-icon dim do_delete"></i>
|
|
|
- <input type="hidden" name="delete_url" value="/delete/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?>" />
|
|
|
- <div id="delete_dialog_<?=$i?>" class="confirmation-text-delete hidden" title="<?=_('Confirmation')?>">
|
|
|
- <p class="confirmation"><?=sprintf(_('DELETE_MAIL_ACCOUNT_CONFIRMATION'),$key)?></p>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
->>>>>>> main
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- END QUICK ACTION TOOLBAR AREA -->
|