|
|
@@ -90,6 +90,7 @@ if (!empty($_SESSION["WEBMAIL_ALIAS"])) {
|
|
|
if ($data[$key]['SUSPENDED'] == 'yes') {
|
|
|
$status = 'suspended';
|
|
|
$spnd_action = 'unsuspend';
|
|
|
+ $spnd_action_title = _('Unsuspend');
|
|
|
$spnd_icon = 'fa-play';
|
|
|
$spnd_confirmation = _('Are you sure you want to unsuspend %s?');
|
|
|
if ($data[$key]['ALIAS'] == '') {
|
|
|
@@ -110,6 +111,7 @@ if (!empty($_SESSION["WEBMAIL_ALIAS"])) {
|
|
|
} else {
|
|
|
$status = 'active';
|
|
|
$spnd_action = 'suspend';
|
|
|
+ $spnd_action_title = _('Suspend');
|
|
|
$spnd_icon = 'fa-pause';
|
|
|
$spnd_confirmation = _('Are you sure you want to suspend %s?');
|
|
|
if ($data[$key]['ALIAS'] == '') {
|
|
|
@@ -167,7 +169,7 @@ if (!empty($_SESSION["WEBMAIL_ALIAS"])) {
|
|
|
<a
|
|
|
class="data-controls js-confirm-action"
|
|
|
href="/<?=$spnd_action?>/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?>"
|
|
|
- data-confirm-title="<?= _($spnd_action) ?>"
|
|
|
+ data-confirm-title="<?= $spnd_action_title ?>"
|
|
|
data-confirm-message="<?= sprintf($spnd_confirmation, $key) ?>"
|
|
|
>
|
|
|
<i class="fas <?= $spnd_icon ?> icon-highlight icon-dim"></i>
|