-
-
Save hissy/5550d3dece58d04d7839693181f5dbfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$av = Loader::helper('concrete/avatar'); | |
$u = new User(); | |
foreach($users as $user) { ?> | |
<tr> | |
<td class="ccm-members-directory-avatar"><a href="<?=$user->getUserPublicProfileURL()?>"><?=$user->getUserAvatar()->output()?></a></td> | |
<td class="ccm-members-directory-name"><a href="<?=$user->getUserPublicProfileURL()?>"><?=ucfirst($user->getUserName())?></a></td> | |
<td> | |
<?php | |
$groups = $user->getUserObject()->getUserGroups(); | |
foreach ($groups as $gID) { | |
$group = \Group::getByID($gID); | |
echo $group->getGroupDisplayName() . '<br>'; | |
} | |
?> | |
</td> | |
<?php | |
foreach($attribs as $ak) { ?> | |
<td> | |
<?=$user->getAttribute($ak, 'displaySanitized', 'display'); ?> | |
</td> | |
<? } ?> | |
</tr> | |
<? } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment