diff options
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index 2fe0b83cf33..445e5ce2fd5 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -81,7 +81,9 @@ $_['subadmingroups'] = array_flip($items); <table class="hascontrols" data-groups="<?php p(json_encode($allGroups));?>"> <thead> <tr> + <?php if (\OC_Config::getValue('enable_avatars', true) === true): ?> <th id='headerAvatar'></th> + <?php endif; ?> <th id='headerName'><?php p($l->t('Username'))?></th> <th id="headerDisplayName"><?php p($l->t( 'Display Name' )); ?></th> <th id="headerPassword"><?php p($l->t( 'Password' )); ?></th> @@ -97,7 +99,9 @@ $_['subadmingroups'] = array_flip($items); <?php foreach($_["users"] as $user): ?> <tr data-uid="<?php p($user["name"]) ?>" data-displayName="<?php p($user["displayName"]) ?>"> + <?php if (\OC_Config::getValue('enable_avatars', true) === true): ?> <td class="avatar"><div class="avatardiv"></div></td> + <?php endif; ?> <td class="name"><?php p($user["name"]); ?></td> <td class="displayName"><span><?php p($user["displayName"]); ?></span> <img class="svg action" src="<?php p(image_path('core', 'actions/rename.svg'))?>" |