diff options
author | kondou <kondou@ts.unde.re> | 2013-09-09 16:57:46 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-09 16:57:46 +0200 |
commit | 1832eb88726dce70d4f8a0a45bd574b0b688ab26 (patch) | |
tree | ce7c5b7a0e8a3e61f8bb93312cb7fedb6a4a58a7 /settings/templates/users.php | |
parent | d18a070a0393ac3846053bcef1833dd01856e117 (diff) | |
download | nextcloud-server-1832eb88726dce70d4f8a0a45bd574b0b688ab26.tar.gz nextcloud-server-1832eb88726dce70d4f8a0a45bd574b0b688ab26.zip |
Pass view in \OC_Avatar to constructor and use $_ for enable_avatars
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index 445e5ce2fd5..747d052a7bd 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -81,7 +81,7 @@ $_['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): ?> + <?php if ($_['enableAvatars']): ?> <th id='headerAvatar'></th> <?php endif; ?> <th id='headerName'><?php p($l->t('Username'))?></th> @@ -99,7 +99,7 @@ $_['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): ?> + <?php if ($_['enableAvatars']): ?> <td class="avatar"><div class="avatardiv"></div></td> <?php endif; ?> <td class="name"><?php p($user["name"]); ?></td> |