summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-21 16:10:29 -0300
committerRenato Botelho <renato@netgate.com>2017-02-21 16:10:29 -0300
commitaba748830d69b05df8c4a4cee370413c91c32273 (patch)
tree620995d3c5fe91edad94db74f646386932c9cccb /src/usr/local/www
parentd54107b1b16ecb3f0c9b3da4fce85a220f7a12c0 (diff)
parentedd88334dbe95af4600ae493fa86d45244cbaecb (diff)
downloadpfsense-aba748830d69b05df8c4a4cee370413c91c32273.zip
pfsense-aba748830d69b05df8c4a4cee370413c91c32273.tar.gz
Merge pull request #3552 from NOYB/User_Manager_-_Status_Icon
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/system_usermanager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php
index 28f8045..a82289f 100644
--- a/src/usr/local/www/system_usermanager.php
+++ b/src/usr/local/www/system_usermanager.php
@@ -581,7 +581,7 @@ if (!($act == "new" || $act == "edit" || $input_errors)) {
<th>&nbsp;</th>
<th><?=gettext("Username")?></th>
<th><?=gettext("Full name")?></th>
- <th><?=gettext("Disabled")?></th>
+ <th><?=gettext("Status")?></th>
<th><?=gettext("Groups")?></th>
<th><?=gettext("Actions")?></th>
</tr>
@@ -606,7 +606,7 @@ foreach ($a_user as $i => $userent):
<?=htmlspecialchars($userent['name'])?>
</td>
<td><?=htmlspecialchars($userent['descr'])?></td>
- <td><?php if (isset($userent['disabled'])) echo "*"?></td>
+ <td><i class="fa fa-<?= (isset($userent['disabled'])) ? 'ban" title="' . gettext("Disabled") . '"' : 'check" title="' . gettext("Enabled") . '"' ; ?>></i></td>
<td><?=implode(",", local_user_get_groups($userent))?></td>
<td>
<a class="fa fa-pencil" title="<?=gettext("Edit user"); ?>" href="?act=edit&amp;userid=<?=$i?>"></a>
OpenPOWER on IntegriCloud