$value) {
++$i;
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'] == '') {
$alias_icon = 'fa-circle-minus';
} else {
$alias_icon = 'fa-circle-check';
}
if ($data[$key]['FWD'] == '') {
$fwd_icon = 'fa-circle-minus';
} else {
$fwd_icon = 'fa-circle-check';
}
if ($data[$key]['AUTOREPLY'] == 'no') {
$autoreply_icon = 'fa-circle-minus';
} else {
$autoreply_icon = 'fa-circle-check';
}
} 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'] == '') {
$alias_icon = 'fa-circle-minus';
} else {
$alias_icon = 'fa-circle-check icon-green';
}
if ($data[$key]['FWD'] == '') {
$fwd_icon = 'fa-circle-minus';
} else {
$fwd_icon = 'fa-circle-check icon-green';
}
if ($data[$key]['AUTOREPLY'] == 'no') {
$autoreply_icon = 'fa-circle-minus';
} else {
$autoreply_icon = 'fa-circle-check icon-green';
}
}
?>
" name="account[]" value="=$key?>" =$display_mode;?>>
= humanize_usage_size($data[$key]["U_DISK"]) ?> = humanize_usage_measure($data[$key]["U_DISK"]) ?>
=humanize_usage_size($data[$key]["QUOTA"]) ?> = humanize_usage_measure($data[$key]["QUOTA"]) ?>