55 lines
1.9 KiB
PHP
55 lines
1.9 KiB
PHP
<div class="table-list-icons">
|
|
<?php if ($user['notifications_enabled'] == 1): ?>
|
|
<span title="<?= t('Notifications are activated') ?>">
|
|
<i class="fa fa-bell-o" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['notifications_enabled'] == 0): ?>
|
|
<span title="<?= t('Notifications are disabled') ?>">
|
|
<i class="fa fa-bell-slash-o" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['twofactor_activated'] == 1): ?>
|
|
<span title="<?= t('Two factor authentication enabled') ?>">
|
|
<i class="fa fa-shield" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['is_ldap_user'] == 1): ?>
|
|
<span title="<?= t('Remote user') ?>">
|
|
<i class="fa fa-cloud" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['lock_expiration_date'] != 0): ?>
|
|
<span title="<?= t('Account locked until:') ?> <?= $this->dt->datetime($user['lock_expiration_date']) ?>">
|
|
<i class="fa fa-lock" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['role'] == 'app-admin'): ?>
|
|
<span title="<?= $this->user->getRoleName($user['role']) ?>">
|
|
<i class="fa fa-star" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['role'] == 'app-manager'): ?>
|
|
<span title="<?= $this->user->getRoleName($user['role']) ?>">
|
|
<i class="fa fa-star-half-o" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['role'] == 'app-user'): ?>
|
|
<span title="<?= $this->user->getRoleName($user['role']) ?>">
|
|
<i class="fa fa-star-o" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
<?php if ($user['is_active'] == 0): ?>
|
|
<span title="<?= t('User disabled') ?>">
|
|
<i class="fa fa-ban" aria-hidden="true"></i>
|
|
</span>
|
|
<?php endif ?>
|
|
</div>
|