Advertisement
Guest User

most

a guest
Nov 11th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. <h3 class='ipsType_reset ipsWidget_title'>{$title}</h3>
  2. <div class='ipsWidget_inner {{if $orientation !== 'vertical'}}ipsPad{{else}}ipsPad_half{{endif}}'>
  3. {{if $orientation == 'vertical'}}
  4. <ol class='ipsDataList ipsDataList_reducedSpacing'>
  5. {{foreach $contributions['members'] as $member}}
  6. <li class='ipsDataItem'>
  7. <div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_tiny ipsClearfix'>
  8. {template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
  9. <div>
  10. {$member->link()|raw}
  11. <br><span class='ipsType_light'>{{if $area}}{$contributions['counts'][$member->member_id]}{{else}}{$member->member_posts}{{endif}}</span>
  12. </div>
  13. </div>
  14. </li>
  15. {{endforeach}}
  16. </ol>
  17. {{else}}
  18. <ol class='ipsList_inline ipsList_noSpacing'>
  19. {{foreach $contributions['members'] as $idx => $member}}
  20. <li>
  21. {$member->link()|raw} <span class='ipsType_light'>{{if $area}} ({$contributions['counts'][$member->member_id]}){{else}} ({$member->member_posts}){{endif}}</span>{{if $idx != \count( $contributions['members'] ) - 1}},{{endif}}
  22. </li>
  23. {{endforeach}}
  24. </ol>
  25. {{endif}}
  26. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement