changeset 196 | 5e8dcbe22c24 |
195:c7c0fbc09788 | 196:5e8dcbe22c24 |
---|---|
1 <div class="social-items social-<?php echo $service->key(); ?>"> |
|
2 <div class="social-items-icon"></div> |
|
3 <div class="social-items-comments"> |
|
4 <?php |
|
5 $i = 0; |
|
6 foreach ($items as $item) { |
|
7 echo $service->social_item_output($item, $i, (isset($avatar_size) ? $avatar_size : array())); |
|
8 ++$i; |
|
9 } |
|
10 |
|
11 if ($i > 10) { |
|
12 printf(__('<a href="%s" class="social-items-and-more">... and %s more</a>', 'social'), '#', ($i - 10)); |
|
13 } |
|
14 ?> |
|
15 </div> |
|
16 </div> |